Yep.

A bug in the process management code would be the primary suspect here. Reaping of child processes needs some rethinking. Geo had some useful ideas (self-pipe) I intent to follow up on.

If it's the bug in question, running as non-privileged users is the solution for now. But then, if you run server processes as root, you *will* be bitten, period. Aint no bug fix in dbmail gonna help you then.

Tom, please tell me you're running as root. If a non-privileged process starts killing processes like ssh, you have bigger (kernel) problems.


So:

run all dbmail processes as uid dbmail gid dbmail, and run them setgid.



Jesse Norell wrote:
Hello,

  There was a very similar problem reported on the mailing list a 2-4ish months
back .. from memory, I think the dbmail programs were being run as uid root.
I don't know why that would kill other processes, that seems like a bug, but
I think when running as non-root it stopped it... but my memory may be faulty,
too.  :)

Jn

---- Original Message ----
From: J Thomas Hancock <[email protected]>
To: <[email protected]>
Subject: [Dbmail] DBMail crashes system
Sent: Thu, 7 Apr 2005 13:00:06 -0500


I am currently setting up new mail server.  It is running the following:
        FC3 all packages up2dated
        MySQL 4.1.11 installed via RPM
        Postfix 2.2.2 installed from source
        DBMail 2.0.4 snapshot from March 31 2005 installed from source.
        SpamAssassin 3.0.2

When I kill dbmail-lmtpd or dbmail-imapd, there is a 75% chance that it will
kill several processes on my server.  Those processes include sshd, crond,
and syslogd.  It will even log out anyone who is logged in at the server's
console.  When I first had this problem, I was running older versions of
Postfix and MySQL. I also had to use the March 23rd snap shot of DBMail due
to a compile issue.  I have tried loading dbmail-pop3d, dbmail-imapd, and
dbmail-lmtpd in different orders without luck.  I have also changed the
order in which I kill the processes without luck.

Since this bug is killing syslogd, it is kind of difficult to get any
information.
Does anyone have any ideas what could be causing this issue?

Any help would be appreciated
Tom


_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail


-- End Original Message --


--
Jesse Norell
jesse @ kci.net

_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail



--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to