A BUGNOTE has been added to this bug. ====================================================================== http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000198 ====================================================================== Reported By: sr Assigned To: ====================================================================== Project: DBMail Bug ID: 198 Category: General Reproducibility: always Severity: crash Priority: normal Status: new ====================================================================== Date Submitted: 04-May-05 22:23 CEST Last Modified: 09-May-05 10:24 CEST ====================================================================== Summary: DBMail processes killing each other Description: When terminated with SIGTERM, dbmail-imapd and dbmail-lmtp cause, 9 tries out of 10, termination of the other process (i.e. stopping LMTP also stops IMAP, stopping IMAP also stops LMTP). In my dbmail.conf, both processes are setup to run as nobody/nogroup. My take is the dbmail* daemons kill their entire process group, which includes children and possibly more processes. I tried to run the daemons as root, and SIGTERMing dbmail-lmtp caused sshd to terminate!!! Has anybody experienced this?
====================================================================== ---------------------------------------------------------------------- sr - 05-May-05 10:52 CEST ---------------------------------------------------------------------- Running dbmail-imapd and dbmail-lmtpd with 2 different dedicated users seems to fix the problem, though I haven't tested it thoroughly yet. I'll keep you updated. ---------------------------------------------------------------------- paul - 09-May-05 10:24 CEST ---------------------------------------------------------------------- I've located one location in pool.c where there was no guard against sending a kill(-1, SIGTERM). Please try the next snapshot. Bug History Date Modified Username Field Change ====================================================================== 04-May-05 22:23sr New Bug 05-May-05 10:52sr Bugnote Added: 0000679 09-May-05 10:24paul Bugnote Added: 0000686 ======================================================================