Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544250 - =sys-power/nut-2.6.5-r1 upsd stores state in /var/lib/nut
Summary: =sys-power/nut-2.6.5-r1 upsd stores state in /var/lib/nut
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: 2015-03-23 16:56 UTC by Richard Freeman
Modified: 2015-03-23 16:57 UTC (History)
1 user (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 Richard Freeman gentoo-dev 2015-03-23 16:56:26 UTC
upsd stores its state in /var/lib/nut in the default configuration, and this prevents it from starting up if it was shut down uncleanly.  The init.d script contains a workaround but the same workaround is not present in the systemd unit.  

Removing the file from the systemd unit would be a workaround, but it probably makes more sense to store pid files someplace other than /var/lib in the first place.

Reproducible: Always