2009-08-19 23:12:22 |
Clyde Clements |
bug |
|
|
added bug |
2009-09-23 13:15:41 |
Jamie Strandboge |
nut (Ubuntu): status |
New |
Confirmed |
|
2009-09-23 13:45:18 |
Launchpad Janitor |
nut (Ubuntu): status |
Confirmed |
Fix Released |
|
2009-09-23 13:53:17 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/karmic/nut |
|
2009-10-01 14:40:04 |
Chuck Short |
nominated for series |
|
Ubuntu Jaunty |
|
2009-10-01 14:40:04 |
Chuck Short |
bug task added |
|
nut (Ubuntu Jaunty) |
|
2009-10-01 14:40:24 |
Launchpad Janitor |
branch linked |
|
lp:~zulcss/ubuntu/jaunty/nut/sru-416812 |
|
2009-10-01 14:41:16 |
Chuck Short |
nut (Ubuntu Jaunty): assignee |
|
Chuck Short (zulcss) |
|
2009-10-01 14:48:02 |
Chuck Short |
branch unlinked |
lp:ubuntu/nut |
|
|
2009-10-05 14:32:32 |
Chuck Short |
summary |
nut init script reports incorrect status |
[SRU]nut init script reports incorrect status |
|
2009-11-07 03:20:22 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/nut |
|
2009-11-09 14:14:19 |
Chuck Short |
description |
Binary package hint: nut
Ubuntu release: 9.04
Package: nut 2.4.1-2ubuntu4
When checking the status of nut with
/etc/init.d/nut status
the script gave the output
Checking status of Network UPS Tools
* upsd is not running
* upsmon is not running
even though both upsd and upsmon were indeed running as shown by the ps command.
I did some digging through the nut init script and found what I believe to be the problem. The script calls a function status_of_proc as follows:
status_of_proc "$DESC" upsd
The first argument to that function should be the full pathname of the daemon. I recommend changing the above line to:
status_of_proc $upsd upsd
Two other uses of the status_of_proc function in the init script regarding upsmon should be changed in a likewise manner.
Cheers,
Clyde |
Binary package hint: nut
Ubuntu release: 9.04
Package: nut 2.4.1-2ubuntu4
When checking the status of nut with
/etc/init.d/nut status
the script gave the output
Checking status of Network UPS Tools
* upsd is not running
* upsmon is not running
even though both upsd and upsmon were indeed running as shown by the ps command.
I did some digging through the nut init script and found what I believe to be the problem. The script calls a function status_of_proc as follows:
status_of_proc "$DESC" upsd
The first argument to that function should be the full pathname of the daemon. I recommend changing the above line to:
status_of_proc $upsd upsd
Two other uses of the status_of_proc function in the init script regarding upsmon should be changed in a likewise manner.
Cheers,
Clyde
======
SRU Verification:
1. Install nut
2. Run the /etc/init.d/nut status script
3. Check to see if its running by comparing the output of ps auxwww | grep nut
Note: You should have a UPS to test this with.
|
|
2009-11-11 09:47:28 |
Martin Pitt |
nut (Ubuntu Jaunty): status |
New |
Fix Committed |
|
2009-11-11 09:47:34 |
Martin Pitt |
tags |
|
verification-needed |
|
2009-11-11 09:58:14 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/jaunty-proposed/nut |
|
2010-07-28 07:20:45 |
Martin Pitt |
nut (Ubuntu Jaunty): status |
Fix Committed |
Won't Fix |
|