[pkg-go] Bug#833386: robustirc-bridge: init script can't stop daemon: unable to stat //robustirc-bridge (No such file or directory)
Axel Beckert
abe at debian.org
Wed Aug 3 17:46:14 UTC 2016
Package: robustirc-bridge
Version: 1.5-1
Tags: patch
Dear Michael,
trying to stop the robustirc-bridge daemon on a system with sysvinit as
init system fails for me as follows on multiple machines:
# service robustirc-bridge stop
start-stop-daemon: unable to stat //robustirc-bridge (No such file or directory)
The following patch fixes the issue for me:
diff --git a/debian/robustirc-bridge.init b/debian/robustirc-bridge.init
index bbddcc0..c07aaa6 100644
--- a/debian/robustirc-bridge.init
+++ b/debian/robustirc-bridge.init
@@ -78,7 +78,7 @@ do_stop()
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
- start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --exec $NAME
+ start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --exec $DAEMON
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
fi
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.6.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages robustirc-bridge depends on:
ii init-system-helpers 1.42
ii libc6 2.23-4
robustirc-bridge recommends no packages.
robustirc-bridge suggests no packages.
-- no debconf information
More information about the Pkg-go-maintainers
mailing list