Red Hat Bugzilla – Bug 917868
rpmlint complains about any non-ghost file in /etc not being marked config
Last modified: 2013-03-20 17:39:55 EDT
Created attachment 705245 [details]
whitelist certain subdirectories in /etc/ as acontaining files that shouldn't be marked %config
Description of problem:
Certain files in /etc/ should not be marked config. Perhaps we could add a regex to specify a whitelist of such files?
I'll attach a patch as a proof of concept.
It's better to filter these out in a config file instead of patching the code, see e.g. the existing addFilter()'s in /usr/share/rpmlint/config.
Created attachment 706250 [details]
Patch the Fedora package's config
Thanks for pointing that out!
Here's a patch against the base Fedora config file in the git repo.
rpmlint-1.4-13.fc18 has been submitted as an update for Fedora 18.
rpmlint-1.4-13.fc17 has been submitted as an update for Fedora 17.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rpmlint-1.4-13.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
rpmlint-1.4-13.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
rpmlint-1.4-13.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.