[Nut-upsdev] /sbin/upsdrvctl unable to shutdown UPS due to (unmounted) shared library

Michal Hlavinka mhlavink at redhat.com
Tue Aug 4 12:59:54 UTC 2009


Hi,

/sbin/upsdrvctl is used as the near final step in /etc/init.d/halt to command
the UPS to shut down power to the computer.  On Fedora / Red Hat Enterprise 
Linux system, /usr can reside on its own partition.

Drivers are linked to several libraries, but some of them lives in /usr/lib 
and this can be umounted when drivers are used. There are 16 libraries used on 
Fedora 11 system. This prevents nut to properly shutdown ups.

How is this designed to work? Is it expected all drivers are linked 
statically? 16 libraries does not seem to me as unexpectedly placed to 
/usr/lib instead of /lib

Regards,
Michal Hlavinka



More information about the Nut-upsdev mailing list