At 16:24 +0000 11/5/2001, Peter Benie wrote:
>The exim rpm in the contrib section of Red Hat rotates each logfile
>(mainlog, rejectlog, paniclog, processlog) separately, and sends a
>SIGHUP after each one. The effect of this is to send 4 SIGHUPs close
>succession. Sometimes, between 0.1% and 1% of the time, this will kill
>the exim daemon process. (I know that even one SIGHUP is unnecessary,
>but exim ought to tolerate them.)
>...[cogent explanation deleted]
>
>The fix is very simple: set the handler to SIG_IGN, which can survive
>exec, to prevent the signal from being delivered while exim is not yet
>ready. This has no bad effects since one of the first things that exim
>does is to set SIGHUP to SIG_IGN anyway.
I don't suppose we can convince RedHat to use exicyclog (which requires no
SIGHUP) for its purpose--rotating Exim logs.
Probably not. Sigh.
-John
--
John Baxter jwblist@??? Port Ludlow, WA, USA