Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 692606

Summary: sys-power/nut-2.7.4-r3 with OpenRC: upsmon: parent: Unable to call shutdown command: /sbin/shutdown -h +0
Product: Gentoo Linux Reporter: Louis Sautier (sbraz) <sbraz>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: CONFIRMED ---    
Severity: normal CC: axiator, prometheanfire, williamh
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Louis Sautier (sbraz) gentoo-dev 2019-08-20 11:59:08 UTC
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".