summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/smtplib.py
diff options
context:
space:
mode:
authorbwarsaw1999-01-13 23:53:26 +0000
committerbwarsaw1999-01-13 23:53:26 +0000
commit957f44a429df2aa42c0105925776e9b364d1f23a (patch)
tree8b39bd2ad1f1f0ee826b4a3fdf2b223704b7b791 /Mailman/pythonlib/smtplib.py
parent133beef3878b9274bce991a400eac18f8b582bc3 (diff)
downloadmailman-957f44a429df2aa42c0105925776e9b364d1f23a.tar.gz
mailman-957f44a429df2aa42c0105925776e9b364d1f23a.tar.zst
mailman-957f44a429df2aa42c0105925776e9b364d1f23a.zip
On some RedHat Linuxes, there appears to be a problem with some crons
messing up their SIGCHLD handling. This would manifest as an IOError getting raised in the cmdproc.close() call of DeliverToList() in Deliverer.py. Thanks go Harald Meland for describing the real problem and giving the real fix. Thanks go to Greg Stein for testing this patch and verifying that it works. Deliverer.DeliverToList(): Undo previously checked in patch, which simply wrapped a try/except around the cmdproc.close() call and ignored errno=10 IOErrors. This was treating the symptoms, not the cause. All files in cron/: Added Harald's work around of the Linux bug by including these lines in every file: # Work around known problems with some RedHat cron daemons import signal signal.signal(signal.SIGCHLD, signal.SIG_DFL) It helps RedHat and doesn't appear to hurt on e.g. Solaris.
Diffstat (limited to 'Mailman/pythonlib/smtplib.py')
0 files changed, 0 insertions, 0 deletions