|Summary:||mail/opensmtpd stops logging if syslogd is restarted|
|Product:||Ports & Packages||Reporter:||Jason Mann <jason.mann+freebsd>|
|Component:||Individual Port(s)||Assignee:||Dima Panov <fluffy>|
|Severity:||Affects Many People||CC:||rudolphfroger, w.schwarzenfeld|
Description Jason Mann 2014-12-10 14:49:37 UTC
- Overview: mail/opensmtpd logging stops working if syslogd is restarted, until opensmtpd is also restarted - Steps to reproduce: While opensmtpd is running and logging mail server activity, restart syslogd. - Actual Results: opensmtpd no longer logs through syslog. - Expected Results: opensmtpd should continue to log after syslog is restarted. - Additional information: Discussion with the software author and the FreeBSD port maintainer indicates that the root cause of this problem is that opensmtpd's processes open /dev/log before chrooting to /var/empty. If syslogd is restarted, the file descriptors pointing at /dev/log are invalidated. The opensmtpd processes try to reopen /dev/log, but as they are now chrooted to an empty directory, it is not found.
Comment 1 Bugzilla Automation 2014-12-10 14:49:37 UTC
Auto-assigned to maintainer ashish@FreeBSD.org
Comment 2 Walter Schwarzenfeld 2018-01-14 00:23:47 UTC
Comment 3 Dima Panov 2018-01-14 04:07:05 UTC
(In reply to w.schwarzenfeld from comment #2) Waiting for new, refactored opensmtpd release.
Comment 4 Walter Schwarzenfeld 2018-01-14 04:15:01 UTC
Thanks of reply.
Comment 5 Rudolph 2021-01-25 14:51:58 UTC
Any news on this? On opensmtpd-6.8.0,1 I can confirm this bug still exists (FreeBSD 12.2).