[Bug 399634] [NEW] lsb status return value
kali
kali at fotonauts.com
Wed Jul 15 08:46:21 UTC 2009
Public bug reported:
Binary package hint: runit
distro: 9.04
runit version: 2.0.0
package version: probably all of them as the bug is in runit code (runit_2.0.0-1ubuntu2 for sure)
The /etc/init.d/<service> status command for runsv services having "log"
scripts always returns 0, evec if the status is down.
In sv.c, function "status". The service status is checked and stored in
a variable called r. Then the function checks the logger status, before
choosing the return value based on what is in "r". But 'r' is global and
is altered by the logger status checking.
Patching making r a local variable in the status command solves this
issue, hopefully without side effect. I have not checked for possible
other occurencies of this problem neither in sv.c nor in the rest of
runit source code.
Issue has been notified and discussed in runit supervision mailing-list.
** Affects: runit (Ubuntu)
Importance: Undecided
Status: New
--
lsb status return value
https://bugs.launchpad.net/bugs/399634
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list