[Nut-upsuser] Re: /var/state not accessible

arnaud.quette at mgeups.com arnaud.quette at mgeups.com
Tue Aug 16 13:32:43 UTC 2005


Hi,

> I was trying to hack the /etc/rc.d/init.d/halt script under RH 9.0 in a
> way to achieve a clean shutdown:
> - commanding the RAID arrays to readonly mode
> - turning off my hardware watchdog,
> ... etc. See details below.
> <...>
> - Do you have any suggestions?
> - Re-define the location of /var/state/ups to somewehere on "/"?
> - Do the programs need read-only, or write access as well to /var/state?

in fact, when in shutdown mode (-k driver flag), the statepath is not
needed. Strange that I haven't seen it before, nor had a request...

This has been applied to Testing and Development branches,
and is available in 2.0.3-pre1.

Arnaud





More information about the Nut-upsuser mailing list