Package: libupsclient1
Version: 2.2.2-2
Severity: normal

libupsclient.so.1 should be moved from /usr/lib to /lib, to make it 
available to /sbin/upsmon after /usr is unmounted on shutdown.

UPS shutdown fails because "/etc/init.d/nut poweroff" runs "upsmon -K" 
to see if the UPS needs to be shut down, and the missing shared library 
results in a nonzero exit status and "Power down flag is not set (UPS 
shutdown not needed)".  It took quite a lot of time to discover what is 
going on, as everything worked fine when tested on a running system 
(with /usr mounted), and nothing could be logged so late in shutdown.

Perhaps there should be (or there is already?) an automated way to check 
binaries on the root filesystem for /usr shared lib dependencies.  The 
setup with separate /usr is still possible but probably not widely used, 
making such bugs likely to go unnoticed in other packages as well.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libupsclient1 depends on:
ii  libc6                         2.7-10     GNU C Library: Shared libraries

libupsclient1 recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to