[Nut-upsuser] unclear about expected shutdown behavior
Spike
spike at drba.org
Sun Dec 25 06:31:17 UTC 2016
Dear Charles and Roger,
thank you for your help, once again I tried to google around but forgot to
check launchpad's bugs. Indeed that was it and creating the script as
mentioned in the second bug made it work: box was powered down, UPS was
then shut down and it came back up along with the box a few secs later.
Really smooth, thank you so much for such great piece of software.
And yes, I have a launchpad account and have marked the bugs as effecting
me.
Happy holidays to everybody,
Spike
On Sat, Dec 24, 2016 at 6:00 AM Charles Lepple <clepple at gmail.com> wrote:
>
> > On Dec 24, 2016, at 3:14 AM, Roger Price <roger at rogerprice.org> wrote:
> >
> > On Sat, 24 Dec 2016, Spike wrote:
> >
> >> ... from reading the docs it seems the UPS should power off, is that
> the case?
> >
> > Yes, The UPS should be sent a "delayed shutdown" command, upsdrvctl
> shutdown, to tell it to shut down _after_ the box. The amount of the delay
> can be set in ups.conf. The UPS delayed shutdown turns off the output
> sockets on the UPS. On some UPS's this gives an audible clunk.
> >
> >> The box correctly shuts down, but the UPS does not and, maybe as a
> consequence, the box never came back on its own (I waited a few minutes).
> >
> > It looks as if the command upsdrvctl shutdown is not being executed.
> Does the Ubuntu distribution of NUT include a script to do this?
>
> Roger,
>
> Ubuntu 16.04 ships the SysV init scripts for NUT that worked with previous
> Ubuntu distributions, but it does not appear that the "powerdown" target
> gets invoked anymore after the switch to systemd.
>
> Some relevant bugs:
>
> https://bugs.launchpad.net/ubuntu/+source/nut/+bug/1512603
>
> https://bugs.launchpad.net/ubuntu/+source/nut/+bug/1603609 (includes
> workaround)
>
> Spike,
>
> List subscription information is below. Please let us know if the
> workaround mentioned in the second bug fixes things for you. If you have a
> launchpad account, you can also mark the bug as affecting you.
>
> > _______________________________________________
> > Nut-upsuser mailing list
> > Nut-upsuser at lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20161225/ca8cba33/attachment.html>
More information about the Nut-upsuser
mailing list