Bug#781836: systemd: Systemd fails to notice services have died,

Dennis Boone drb at msu.edu
Fri Apr 3 17:03:18 BST 2015


Package: systemd
Version: 215-5+b1
Severity: important

Systemd fails to notice a service has died.  Thereafter, when
asked to start it, it reports success, but the service still
isn't running.  It is necessary to manually stop and then start
the service.  Example follows.  In this case, it was bacula,
but I believe I've seen it with nginx too.

ken 12 # ps auxww | grep bacula
bacula    2117  0.0  0.0 182616  6832 ?        Ssl  mar31   0:01 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape
root      3993  0.0  0.0  15456  2200 pts/0    S+   11:44   0:00 grep bacula

ken 13 # /etc/init.d/bacula-fd start
[ ok ] Starting bacula-fd (via systemctl): bacula-fd.service.

ken 14 # ps auxww | grep bacula
bacula    2117  0.0  0.0 182616  6832 ?        Ssl  mar31   0:01 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape
root      4026  0.0  0.0  15456  2216 pts/0    S+   11:44   0:00 grep bacula

ken 15 # /etc/init.d/bacula-fd stop
[ ok ] Stopping bacula-fd (via systemctl): bacula-fd.service.

ken 16 # ps auxww | grep bacula
bacula    2117  0.0  0.0 182616  6832 ?        Ssl  mar31   0:01 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape
root      4067  0.0  0.0  15456  2224 pts/0    S+   11:44   0:00 grep bacula

ken 17 # /etc/init.d/bacula-fd start
[ ok ] Starting bacula-fd (via systemctl): bacula-fd.service.

ken 18 # ps auxww | grep bacula
bacula    2117  0.0  0.0 182616  6832 ?        Ssl  mar31   0:01 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape
root      4093  0.0  0.0  69252  3472 ?        Ssl  11:45   0:00 /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf
root      4113  0.0  0.0  15456  2156 pts/0    S+   11:45   0:00 grep bacula

ken 19 #


-- Package-specific info:

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=es_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to es_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  acl             2.2.52-2
ii  adduser         3.113+nmu3
ii  initscripts     2.88dsf-58
ii  libacl1         2.2.52-2
ii  libaudit1       1:2.4-1+b1
ii  libblkid1       2.25.2-5
ii  libc6           2.19-17
ii  libcap2         1:2.24-7
ii  libcap2-bin     1:2.24-7
ii  libcryptsetup4  2:1.6.6-5
ii  libgcrypt20     1.6.3-2
ii  libkmod2        20-1
ii  liblzma5        5.1.1alpha+20120614-2+b3
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.3-2
ii  libsystemd0     215-5+b1
ii  sysv-rc         2.88dsf-58
ii  udev            215-12
ii  util-linux      2.20.1-5.8

Versions of packages systemd recommends:
pn  dbus            <none>
pn  libpam-systemd  <none>

Versions of packages systemd suggests:
pn  systemd-ui  <none>

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list