Debian Developers - Moving libusb to /lib (was: [Re: nut: final stage of shutdown doesn't work if /usr is

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > September 2004 > Moving libusb to /lib (was: [Re: nut: final stage of shutdown doesn't work if /usr is





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Moving libusb to /lib (was: [Re: nut: final stage of shutdown doesn't work if /usr is
Arnaud Quette

2004-09-24, 5: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[
/url]

---
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.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com