The following bug has been CLOSED ====================================================================== 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: closed ====================================================================== Date Submitted: 04-May-05 22:23 CEST Last Modified: 31-May-05 14:54 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. ---------------------------------------------------------------------- sr - 09-May-05 10:32 CEST ---------------------------------------------------------------------- Will do, though running the daemons with separate users seems to do the trick. Thanks anyway ---------------------------------------------------------------------- paul - 31-May-05 14:54 CEST ---------------------------------------------------------------------- I'm closing this one since it's fixed. 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 09-May-05 10:32sr Bugnote Added: 0000687 31-May-05 14:54paul Bugnote Added: 0000717 31-May-05 14:54paul Status new => closed ======================================================================
