Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2014 14:49:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195852] New: mail/opensmtpd stops logging if syslogd is restarted
Message-ID:  <bug-195852-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: jason.mann@gmail.com
          Assignee: ashish@FreeBSD.org
             Flags: maintainer-feedback?(ashish@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@FreeBSD.org> ---
Auto-assigned to maintainer ashish@FreeBSD.org

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195852-13>