Hi Henrique,

2005/10/9, Henrique de Moraes Holschuh <[EMAIL PROTECTED]>:
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've already made (upstream) the needed changes in NUT 2.0.3-pre1:
>From the changelog:
> 2.0.3-pre1
>
>Thu Aug 16 10:51:17 UTC 2005 / Arnaud Quette <[EMAIL PROTECTED]>
>...
> - drivers now don't chroot to statepath if called for power off
>   (using -k). This avoid unneeded failure to poweroff the UPS if
>   /var is umounted (thanks to Gaspar Bakos).
 
if you can make a test on your side, otherwise I'll release 2.0.3-pre2 probably today, and the final will be the next release (shouldn't be long now)

Thanks for your feedback,
Arnaud Quette
--
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/

Reply via email to