I totally forgot about this bug, since i forgot to subscribe to it on the
debian side :(
Thanks for the follow-up.
I'm not sure of which solution could be acceptable.
We can't define the PID path in /etc/default/saslauthd, since we wouldn't be
able to use in its OPTIONS variable.
Can i do that in the service file ?
PIDFile=$(awk '/^OPTIONS=/ { if (match($0, /-m[[:space:]]+([^[:space:]]+)/, m))
val = m[1]; else val = "/var/run/saslauthd"; print val "/saslauthd.pid"; exit
}' /etc/default/saslauthd)
So it will take the value after "-m" in the OPTIONS variable, and define
a default one if it can find it.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2098601
Title:
saslauthd.service should take PIDFile path from /etc/default/saslauthd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/2098601/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs