On Sat, Oct 30, 2021 at 7:10 PM Hanns Mattes <hanns@hannsmattes.de> wrote:
Hi,
after upgrading Freebsd from ports dovecot is throwing the following error
Oct 30 18:04:15 freebsd dovecot[59232]: doveadm(xxx@example.com)<84061><S3CoJf9sfWFdSAEAUmejdw>: Fatal: master: service(doveadm): child 84061 killed with signal 6 (core not dumped - https://dovecot.org/bugreport.html#coredumps - set service doveadm { drop_priv_before_exec=yes })
I (surely) may have missed something while upgrading (I've learned a lot about backup/snapshot-strategies with zfs, but to late to apply).
How can I debug the erro?
Regards Hanns
The "service doveadm { drop_priv_before_exec=yes }" bit should go into /usr/local/etc/dovecot/conf.d/10-master.conf. Append the bit I have quoted into that file and then restart dovecot.
What command is it that you are running with doveadm?
The also run the following commands (as root):
sysctl -w kern.sugid_coredump=1 sysctl -w kern.corefile=/var/coredumps/%U.%N.core
mkdir /var/coredumps chown -R 1777 /var/coredumps
The next time you get that fatal error, you'll probably find a file in /var/coredumps/
You can then obtain a backtrace from it:
gdb /usr/local/bin/doveadm /var/coredumps/FILENAME <ENTER> bt full <ENTER>
Present the output, together with that from 'doveconf -n'.
HTH
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' :-)