[Nut-upsuser] unclear about expected shutdown behavior

Charles Lepple clepple at gmail.com
Sat Dec 24 14:00:15 UTC 2016

> 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?


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/1603609 (includes workaround)


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

More information about the Nut-upsuser mailing list