Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792330 - sys-power/nut /usr/bin/upssched-cmd gets nuked by updates
Summary: sys-power/nut /usr/bin/upssched-cmd gets nuked by updates
Status: UNCONFIRMED
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: 2021-05-26 23:27 UTC by Nathan Dehnel
Modified: 2021-05-27 05:11 UTC (History)
2 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 Nathan Dehnel 2021-05-26 23:27:43 UTC
/usr/bin/upssched-cmd, which is intended to be user configurable, gets overwritten if the package is reinstalled.

Reproducible: Always

Steps to Reproduce:
1. edit file
2. reinstall nut
3.
Actual Results:  
edits get wiped

Expected Results:  
edits are saved with dispatch-conf
Comment 1 Ionen Wolkens gentoo-dev 2021-05-27 05:11:13 UTC
Not familiar with the package but maybe could move it to /etc/nut/upssched-cmd and update the path in upssched.conf (similar idea as /etc/acpi/ scripts).

You could do this manually yourself for now.