Package: sasl2-bin
Version: 2.1.28+dfsg1-8+b1

* saslauthd.service has a fixed path in its file :
PIDFile=/var/run/saslauthd/saslauthd.pid

* But, in /etc/default/saslauthd, if you have postfix running chroot, the pid path will differ :
OPTIONS="-c -m /var/spool/postfix/run/saslauthd -r"

* With different paths for the file, saslauthd won't be able to start :
saslauthd.service: Can't open PID file /run/saslauthd/saslauthd.pid (yet?) after start: No such file or directory

saslauthd.service should take PIDFile from /etc/default/saslauthd and /etc/default/saslauthd should clearly explain what need to be done if you set a different path for the pid file.

Reported from https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/2098601 per request.

--
Guillaume Hilt

Reply via email to