09-24-04 10:52 PM
I have a bug on the nut-usb package [1]
on a USB UPS driver (called newhidups, of
which I'm also upstream), which made me
think.
Currently, in case of a power failure shutdown,
halt script calls the UPS driver to send a delayed
poweroff order to the UPS. This allows to save
battery charge.
But this might not work for an USB UPS, if
/usr has been unmounted, as libusb won't be
reachable.
So newhidups is really a system program,
installed on the root fs (/lib/nut), and
needs to be functional upon shutdown.
According to the FHS [2], libusb should so be
installed in /lib. The other option is to compile
newhidups statically with libusb.
There are pros and cons for both solution, but
I (as upstream and DD) am more for the first.
Note that I've previously contacted libusb maintainer
(salut Aurelien) to talk with him about that.
Feedback and comments are welcomed...
Arnaud
---
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=268723
[2]
[url]http://www.pathname.com/fhs/pub/fhs-2.3. html#LIBESSENTIALSHAREDLIBRARIESANDKERN[
/u
rl]
---
OpenSource Developer (NUT, ...)
Debian Developer
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.or
g
[ Post a follow-up to this message ]
|