nut takes too long to start
Bug #1568 reported by
David Johnson
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nut (Ubuntu) |
Fix Released
|
Low
|
MOTU |
Bug Description
When nut is started using the init script, it takes 45 seconds to start. If I start the various components of nut manually (the ups driver, upsd, upsmon), each starts instantly.
I know that some ups drivers take time to sync with smart UPSes, but I'm using the genericups driver which just monitors the serial port and doesn't talk to the UPS at all.
I'm running Kubuntu Hoary on AMD64.
Related branches
Changed in nut: | |
assignee: | nobody → motu |
To post a comment you must log in.
I don't see any reason to this!
IIRC, hoary was on 2.0.1. Have you tried Breezy and 2.0.2? If so, any improvement?
otherwise, backup the init.d script and replace the following line:
start-stop-daemon -S -q -p $upsd_pid -x $upsd >/dev/null 2>&1
by
time start-stop-daemon -S -v -p $upsd_pid -x $upsd
And send back the output