Moving libusb to /lib (was: [Re: nut: final stage of shutdown doesn't work if /usr is
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Debian Developers > Moving libusb to /lib (was: [Re: nut: final stage of shutdown doesn't work if /usr is




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:55 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register