Package: nut Version: 2.0.2-1 Severity: important The poweroff action for /etc/init.d/ups-monitor (symlinked to nut) needs to run at S90halt, to power off the load.
At that time, everything is unmounted or mounted readonly, etc. So there is no way a serial-line ups can be commanded by nut to poweroff the load (there is no /var with a socket, no running UPS driver...). I am not sure if the serial-line ups driver should try to reopen the device if it cannot open /var/run/nut/* and do it by force, but that certainly would fix it. Still, waiting for the driver to resyncronize with the UPS to send the command can take a long time (~10s for my APC SmartUPS XL with the apcsmart driver), which is not acceptable at this stage. I don't know of a good fix for this. Depending on the UPS, you can just tell it to power off the load in five minutes earlier in the shutdown sequence, and that's it. That means calling /etc/init.d/nut poweroff during /etc/init.d/nut stop IF the powerdown flag is set. One could also move all UPS driver sockets from /var/run to /dev/shm and request that it never be umounted during shutdown since it MUST be on RAM. Debian sort of requires /dev/shm anyway. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.13.3+libata+bluesmoke+imq+lm85 Locale: LANG=pt_BR.ISO-8859-1, LC_CTYPE=pt_BR.ISO-8859-1 (charmap=ISO-8859-1) Versions of packages nut depends on: ii adduser 3.67.2 Add and remove users and groups ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy ii libc6 2.3.5-6 GNU C Library: Shared libraries an nut recommends no packages. -- debconf information: nut/major_upstream_changes: nut/remove_debian_conf: nut/major_conf_changes: nut/2_0_upstream_changes: nut/change_system_user: -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]