Your message dated Sun, 30 Aug 2015 15:33:55 +0200
with message-id <[email protected]>
and subject line Re: Bug#781836: systemd: Systemd fails to notice services have
died,
has caused the Debian Bug report #781836,
regarding systemd: Systemd fails to notice services have died,
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
781836: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781836
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
On Fri, 03 Apr 2015 19:06:49 +0200 Michael Biebl <[email protected]> wrote:
> Am 03.04.2015 um 18:47 schrieb Dennis Boone:
> > > Does bacula ship a native service file?
> > > Could you attach the service file you're using?
> >
> > Michael,
> >
> > Not that I can find. It would be *.service, right?
> >
> > I've attached the init script, in case that's useful.
> >
> > De
> >
> >
> > #!/bin/sh
> > ### BEGIN INIT INFO
> > # Provides: bacula-sd
> > # Required-Start: $remote_fs $syslog
> > # Required-Stop: $remote_fs $syslog
> > # Default-Start: 2 3 4 5
> > # Default-Stop: 0 1 6
> > # Short-Description: Start Bacula Storage Daemon at boot time
> > # Description: bacula-sd is daemon that perform the storage and
> > recovery
> > # of the file attributes and data to the physical backup
> > # media or volumes. In other words, the Storage daemon is
> > # responsible for reading and writing your tapes (or
> > other
> > # storage media, e.g. files).
> > ### END INIT INFO
> > #
> > # bacula-fd SysV init script for Bacula-FD.
> > #
> > # Written by Miquel van Smoorenburg <[email protected]>.
> > # Modified for Debian GNU/Linux by Ian Murdock
> > <[email protected]>
> > # Customized for Bacula by Jose Luis Tallon
> > <[email protected]>
> > #
> >
> > set -e
> >
> > PATH=/sbin:/bin:/usr/sbin:/usr/bin
> > DAEMON=/usr/sbin/bacula-sd
> > NAME="bacula-sd"
> > PORT=9103
> > DESC="Bacula Storage daemon"
> >
> > test -x $DAEMON || exit 0
> >
> > if [ -n "`getent services bacula-sd`" ]; then
> > PORT=`getent services bacula-sd | awk '{ gsub("/tcp","",$2); print
> > $2; }'`
> > fi
> >
> > . /lib/lsb/init-functions
> > . /usr/share/bacula-common/common-functions.init
> > if [ -r /etc/default/$NAME ]; then
> > . /etc/default/$NAME
> > fi
> >
> > CONFIG="${CONFIG:-/etc/bacula/$NAME.conf}"
> >
> > create_var_run_dir
> >
> > PIDFILE=/var/run/bacula/$NAME.$PORT.pid
Closing this bug report. This can only be fixed by bacula itself by
shipping a native .service file.
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
--- End Message ---
_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers