Bug 973564 - btrfsmaintenance: replace btrfsmaintenance-refresh-cron.sh with generator
Summary: btrfsmaintenance: replace btrfsmaintenance-refresh-cron.sh with generator
Status: RESOLVED DUPLICATE of bug 1084871
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: David Sterba
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-01 08:46 UTC by Ludwig Nussel
Modified: 2024-04-08 19:58 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ludwig Nussel 2016-04-01 08:46:09 UTC
The btrfsmaintenance-refresh-cron.sh is a rather ugly hack as it invades admin territory by messing with stuff in /etc/cron.* without explicit request.
How about replacing it with a systemd generator? See man 8 systemd.generator. The generator should then create timer units according to sysconfig settings instead of having to mess with anything in /etc