[nut-Bugs][310556] upsdrvctl doesn't pass the user (-u) via the shutdown command to the driver
nut-bugs at alioth.debian.org
nut-bugs at alioth.debian.org
Sun Feb 3 19:55:11 UTC 2008
Bugs item #310556, was opened at 2008-02-03 19:55
Status: Open
Priority: 3
Submitted By: Eric Bayer (ebayer-guest)
Assigned to: Nobody (None)
Summary: upsdrvctl doesn't pass the user (-u) via the shutdown command to the driver
Category: None
Group: None
Resolution: None
Initial Comment:
I noticed this when making my halt code. This is very important for USB because by the time you're most of the way down, the USB devices are owned by root, and -u root is required. Unfortunately it doesn't get passed on to the driver. For USB, this results in it never detecting any UPSes available. The -u will be present in startup for the driver, and stop I believe doesn't need it; but shutdown needs it and there is no code for it.
----------------------------------------------------------------------
You can respond by visiting:
http://alioth.debian.org/tracker/?func=detail&atid=411542&aid=310556&group_id=30602
More information about the NUT-tracker
mailing list