Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692606 - sys-power/nut-2.7.4-r3 with OpenRC: upsmon: parent: Unable to call shutdown command: /sbin/shutdown -h +0
Summary: sys-power/nut-2.7.4-r3 with OpenRC: upsmon: parent: Unable to call shutdown c...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-20 11:59 UTC by Louis Sautier (sbraz)
Modified: 2023-06-17 03:18 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Louis Sautier (sbraz) gentoo-dev 2019-08-20 11:59:08 UTC
Hi,
I noticed that upsmon's default SHUTDOWNCMD didn't work on my OpenRC system:
upsmon[]: parent: Unable to call shutdown command: /sbin/shutdown -h +0

Would it be possible to change it to something like "/sbin/shutdown -h now"? It looks like OpenRC's shutdown doesn't understand "+0".