Package: nut
Version: 2.6.1-2
Debian: Testing

Message:

Hi,

Please fix the nut init.d script so it does not cause spurious errors during a
reboot:

Patch:
--- /d1/sys/p34/etc/init.d/nut  2011-06-01 16:30:58.000000000 -0400
+++ nut 2011-09-22 08:09:30.433081237 -0400
@@ -1,7 +1,7 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          nut
-# Required-Start:    $local_fs $syslog $network $remote_fs
+# Required-Start:    $udev $local_fs $syslog $network $remote_fs
 # Required-Stop:     $local_fs $syslog $network $remote_fs
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6

--

If udev is not started prior to nut starting up, for whatever reason,
then the permissions may not be set in time for the /dev/ups device (USB)
in my case and then it gets errors accessing the device (ACCESS DENIED)

Sep 20 13:53:34 p34 upsmon[4054]: Login on UPS [cp@localhost] failed - got [ERR
ACCESS-DENIED]

But soon after (after udev starts & sets permissions, its fine), or, use
the fix above, thanks!

Justin.







--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to