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

Richard Lucassen debian-bugreport6 at xaq.nl
Thu Mar 14 13:08:45 GMT 2019


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

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

Richard.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages kopano-server depends on:
ii  dbconfig-common                             2.0.11
ii  debconf [debconf-2.0]                       1.5.71
ii  init-system-helpers                         1.56+nmu1
ii  kopano-common                               8.7.0-2
ii  kopano-libs                                 8.7.0-2
ii  libc6                                       2.28-8
ii  libcom-err2                                 1.44.5-1
ii  libgcc1                                     1:8.3.0-2
ii  libgsoap-2.8.75                             2.8.75-1
ii  libgssapi-krb5-2                            1.17-2
ii  libicu63                                    63.1-6
ii  libk5crypto3                                1.17-2
ii  libkrb5-3                                   1.17-2
ii  libldap-2.4-2                               2.4.47+dfsg-3
ii  libmariadb3                                 1:10.3.13-1
ii  libpam0g                                    1.3.1-5
ii  libssl1.1                                   1.1.1b-1
ii  libstdc++6                                  8.3.0-2
ii  lsb-base                                    10.2018112800
ii  mariadb-client-10.3 [virtual-mysql-client]  1:10.3.13-1
ii  zlib1g                                      1:1.2.11.dfsg-1

Versions of packages kopano-server recommends:
ii  mariadb-server  1:10.3.13-1

kopano-server suggests no packages.

-- Configuration Files:
/etc/init.d/kopano-server changed [not included]
/etc/kopano/server.cfg changed [not included]
/etc/kopano/unix.cfg changed [not included]

-- debconf information excluded



More information about the Pkg-giraffe-maintainers mailing list