Red Hat Bugzilla – Bug 905423
Handle /etc/init/control-alt-delete.conf as a conf file (inline doc)
Last modified: 2016-11-25 07:56:10 EST
Description of problem:
closely related to 663594 - [RFE]
in short, these .conf files have been deemed not-configuration-files, and are handled as such by rpm (similar to the /etc/init.d/ scripts). Instead, .override files should be used.
Unfortunately, the suffix of the files is obviously misleading, and the way to use the .override files (and the fact this functionality exists) is not immediately obvious.
Version-Release number of selected component (if applicable):
upstart in RHEL6.3
Steps to Reproduce:
user assumes these are configuration files, edits them, and finds them to be overwritten at next upgrade by the files inside the rpm.
user immediately notices these are not config files, and not meant to be edited.
the simple solution is to not name the files .conf, to begin with, and add a warning inside such files of the sort "do NOT edit, your changes will be overwritten. Please see man 5 foo.override on how to use .override files instead"
It is not a good idea to change suffix of these files, but adding some comment with warning looks as a reasonable solution.
*** Bug 1020904 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.