Andreas Hasenack
2025-01-28 20:40:02 UTC
Reply
PermalinkVersion: 3.9.1-10+b1
Severity: normal
Dear Maintainer,
I noticed that when you have rsyslogd installed and then install
postfix, the postfix package includes this file:
$ cat /etc/rsyslog.d/postfix.conf
# Create an additional socket in postfix's chroot in order not to break
# mail logging when rsyslog is restarted. If the directory is missing,
# rsyslog will silently skip creating the socket.
$AddUnixListenSocket /var/spool/postfix/dev/log
This leads to rsyslogd throwing this error in the logs:
2025-01-28T20:26:13.670487+00:00 sid rsyslogd: cannot create
'/var/spool/postfix/dev/log': No such file or directory [v8.2412.0 try
https://www.rsyslog.com/e/2176 ]
And indeed, /var/spool/postfix does not contain a dev/ directory:
$ l /var/spool/postfix/dev* -d
ls: cannot access '/var/spool/postfix/dev*': No such file or directory
If that directory is created manually, then the "log" socket is
created by rsyslogd according to that config snippet.