[Pkg-giraffe-maintainers] Bug#924569: kopano-server: SysV init scripts use wrong pid files

Carsten Schoenert c.schoenert at t-online.de
Sat Apr 20 07:10:02 BST 2019


Hello Richard,

Am 14.03.19 um 14:08 schrieb Richard Lucassen:
> Package: kopano-server
> Version: 8.7.0-2
> Severity: normal
> 
> Dear Maintainer,
> 
> Running e.g. "service kopano-server stop" results in:
> 
> [....] Stopping Kopano server: kopano-server
> No /usr/sbin/kopano-server found running; none killed.
> failed!
> 
> The PIDFILE variable in "/etc/init.d/kopano-server":
> 
> PIDFILE=/var/run/$NAME.pid
> 
> (where NAME=`basename /usr/sbin/kopano-server`)
> 
> does not correspond to the real pid file:
> 
> /var/run/kopano/server.pid
> 
> Workaround is to set PIDFILE:
> 
> PIDFILE=/var/run/kopano/server.pid

good catch. Thanks. Remarked for one of the next uploads.

> Other SysV instances of kopano-* suffer from this issue as well.

Could you please elaborate this a bit more?
It would be helpful if you can provide the needed changes to the other
SysV init scripts somehow. We have the following other init scripts
within the packaging.

> ./kopano-monitor.init
> ./kopano-ical.init
> ./kopano-presence.init
> ./kopano-search.init
> ./kopano-dagent.init
> ./kopano-spooler.init
> ./kopano-server.init
> ./kopano-gateway.init
> ./kopano-spamd.init

Thanks!

-- 
Regards
Carsten Schoenert



More information about the Pkg-giraffe-maintainers mailing list