Your message dated Sun, 22 May 2016 00:27:00 +0200
with message-id <[email protected]>
and subject line Mark oldstable bug closed
has caused the Debian Bug report #783068,
regarding smokeping init script status always return false
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.)
--
783068: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783068
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Package: smokeping
Version: 2.6.8-2
This affects the wheezy version of smokeping. We are running OpenVZ
Kernel (might be relevant): 2.6.32-openvz-042stab106.4-amd64
The init script of smokeping doesn't correctly detect if smokeping is
running. Although it is running, the status command always return 3.
The problem is that the pid file of smokeping is not in the standard
location and the pid of the binary /usr/bin/smokeping cannot be found.
See the attached output. I propose the attached patch which correctly
sets the pid file when checking the status.
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCAAGBQJVNl/zAAoJEK8Ii7qe/iAw7/AIAIunjiC+maDOnFUKj8miIPie
IqaIurcBltt9WoSByIPfOfEkiBPh/qYYdsIDU5cakKNyeaIFLmMPuv0kEU/GgB3E
arhfZMZ+MUGmtWzndQakguUgAHaNi0N/i0jJCala5veREIZC+DP4Xsx46uGUDB5e
3FPT3yjIsDm4Hb3Sc5A6J/56nM3uG1WEaaIaqswkvpM40jkiU98IuqF+Xiilhs+/
jhZBrs50bAu7zyI+jCAn7gAbh90fUxoOIVcRXnVQ1x71QaAYZT3NxP2b9zjVRw87
i/VFI+zHIkhePlNLKvBFopWPd5IqmwTuh77ogUMDjgBH9qwjhP/Im4odqHEBeT0=
=qzpR
-----END PGP SIGNATURE-----
--- smokeping.1 2015-04-21 16:18:34.000000000 +0200
+++ smokeping 2015-04-21 16:18:25.000000000 +0200
@@ -177,7 +177,7 @@
# 5-199 reserved (5-99 LSB, 100-149 distribution, 150-199
applications)
set +e
- pidofproc "$DAEMON" > /dev/null
+ pidofproc -p "$PIDFILE" "$DAEMON" > /dev/null
STATUS=$?
log_progress_msg "(status $STATUS)"
log_end_msg 0
# ps aux|grep smokeping
rpertl 855 0.0 0.0 7724 948 pts/0 S+ 14:22 0:00 grep
--color=auto smokeping
106 5307 0.1 0.6 156772 27260 ? Ss 10:33 0:25
/usr/sbin/smokeping [FPing]
# /etc/init.d/smokeping start
[....] Starting latency logger daemon: smokepingERROR: I Quit! Another copy of
/usr/sbin/smokeping (5307) seems to be running.
Check /var/run/smokeping/smokeping.pid
. ok
# /etc/init.d/smokeping status
[ ok ] Checking latency logger daemon status: smokeping (status 3).
# echo $?
3
--- End Message ---
--- Begin Message ---
This bug is fixed in Jessie (current stable), so let's mark it 'closed'
in order to cleanup the BTS; since it's tagged 'wheezy' it won't get
archived (thus it won't disappear).
--
iustin
signature.asc
Description: PGP signature
--- End Message ---