Hello,

I confirm that using the systemd unitfile, instead of the init.d script, breaks the postfix use case, documented at /etc/default/saslauthd: # Example for chroot Postfix users: "-c -m /var/spool/postfix/var/run/saslauthd"
(hence breaks some bookworm->trixie upgrades.)

IIUC adapting PIDFile is too complex for systemd, so we can either drop PIDFile, or explicitly specify it locally (which also seems to tame the warning reported by Alexander):

$ systemctl edit saslauthd.service
[Service]
PIDFile=/var/spool/postfix/var/run/saslauthd/saslauthd.pid

I merged #1053472 which is about the same issue.

In any case I believe this would be better documented, typically right after the above example in /etc/default/saslauthd.

I believe this warrants a SPU, what do you think would be a good approach for stable?

Cheers!
Sylvain
(Also I have to add: more than a decade after, yet another hour lost to systemd-migration-related issues, *sigh*)

Reply via email to