[Bug 195852] New: mail/opensmtpd stops logging if syslogd is restarted

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 10 14:49:37 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195852

            Bug ID: 195852
           Summary: mail/opensmtpd stops logging if syslogd is restarted
           Product: Ports Tree
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ashish at FreeBSD.org
          Reporter: jason.mann at gmail.com
          Assignee: ashish at FreeBSD.org
             Flags: maintainer-feedback?(ashish at FreeBSD.org)

- 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 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer ashish at FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list