Bug 718734

Summary: etckeeper update overwrites existing /etc/cron.d/etckeeper
Product: [Fedora] Fedora EPEL Reporter: css <css>
Component: etckeeperAssignee: Thomas Moschny <thomas.moschny>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: el5CC: thomas.moschny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-12 13:17:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description css 2011-07-04 13:04:44 UTC
Description of problem:
etckeeper update overwrites existing /etc/cron.daily/etckeeper

Version-Release number of selected component (if applicable):
0.54

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:
It would be nice to leave the original /etc/cron.daily/etckeeper unchanged and
have the updates in /etc/cron.daily/etckeeper.rpmsave. 

Additional info:

Comment 1 Thomas Moschny 2011-07-04 13:39:15 UTC
/etc/cron.daily/etckeeper could easily be marked as %config(noreplace), but in fact it is not meant as a config file. 

I am tempted to close this bug as wontfix, unless you can give me good reasons why you have to change that (executable) file.

Comment 2 css 2011-07-04 15:18:57 UTC
I agree with you, its not a config file, but we want to redirect the stdout (and stderr)
of /etc/cron.daily/etckeeper to the specific administrator email-addresses.  

As /etc/cron.daily/etckeeper file did not change (afaik) in the last releases, we think
it is a good candidate for %config(noreplace).

Comment 3 css 2011-07-12 13:17:35 UTC
We found a solution for our customized cronjob, and i will close the Bug with NOTABUG.

Thank you for your fast reply