lsb status return value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
runit (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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_
The /etc/init.
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.
Changed in runit (Ubuntu): | |
status: | New → Confirmed |