Subject: Re: UPS control software?
To: None <netbsd-users@netbsd.org>
From: Wolfgang S. Rupprecht <wolfgang+gnus20030924T131723@wsrcc.com>
List: netbsd-users
Date: 09/24/2003 13:21:48
bouyer@antioche.eu.org (Manuel Bouyer) writes:
> On Wed, Sep 24, 2003 at 11:07:33PM +0900, Takahiro Kambe wrote:
> > In message <20030924135215.CDC357B44@berkshire.research.att.com>
> > 	on Wed, 24 Sep 2003 09:52:15 -0400,
> > 	Steve Bellovin <smb@research.att.com> wrote:
> > > a security advisory against it, bkpupsd requires kernel changes, and
> > bkpupsd dosen't always require kernel changes and it depends on the
> > specification of UPS.
> > 
> > If bkpupsd require kernel changes to control the UPS, other UPS
> > control software also needs some change to kernel for power-off UPS
> > gracefully.
> 
> Hum, why ? apcupsd can power off gracefully, without kernel changes

Well, it isn't that graceful, is it?  The only way I can see to power
off is to tell the UPS to power down in 30 seconds and then quickly
shutdown all the processes and hope one of them doesn't hang for 30
seconds.

Better would be to have the kernel have a way to tell the UPS that it
is now ok to power off now.

-wolfgang
-- 
Wolfgang S. Rupprecht 		     http://www.wsrcc.com/wolfgang/
           The From: address is valid.  Don't mess with it.