[Pkg-giraffe-maintainers] Bug#933762: Initscript uses wrong PID file directory

Martin Wolf mwolf at adiumentum.com
Sat Aug 3 00:53:25 BST 2019


Package: kopano-server
Version: 8.7.0-3

/etc/init.d/kopano-server uses /var/run/$NAME.pid for $PIDFILE, evaluating to /var/run/kopano-server.pid, which is wrong:

1. /var/run is a symlink to /run, which however is root:root with 755, but a properly configured kopano-server process runs unprivileged (kopano:kopano).
2. The default PID file location provided by the /etc/kopano/server.cfg is /var/run/kopano/server.pid (via pid_file).

All Kopano initscripts seem to be affected by this as well.

It's likely the best way to correct the initscripts ($PIDFILE) to match with the Kopano default configurations.

Linux 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u1 (2019-07-19) x86_64 GNU/Linux



More information about the Pkg-giraffe-maintainers mailing list