Red Hat Bugzilla – Bug 81449
upgrade replaces deliberately removed files
Last modified: 2015-01-07 19:02:49 EST
Description of problem: I don't want logrotate restarting apache EVER. I remove
/var/logrotate.d/apache but upgrading puts it back again. Can an upgrade be made
to not recreated files that have been removed? Alternatively can some sense be
added to logrotate? alternatively can we have a version of logrotate that never
restarts system daemons
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. remove /etc/logrotate.d/apache
apache gets restarted every day
leave apache alone
if I've changed my apache config logrotate applies it! very bad!
Resolution == NOTABUG
The way the packages are distributed by Red Hat, you will have the behavior you
don't like. Therefore, if you upgrade a package, RPM will restore the
filesystem will the hierarchy that the packager (Red Hat) has determined.
For your other requests, you should simply open an RFE (request for enhancement)
bug to ask for logrotate to not restart daemons -- this is because your request
is a completely separate issue.
fair enough I've submitted a few enhancement request