Bug 917868

Summary: rpmlint complains about any non-ghost file in /etc not being marked config
Product: [Fedora] Fedora Reporter: Toshio Ernie Kuratomi <a.badger>
Component: rpmlintAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: a.badger, manuel.wolfshant, tcallawa, tmz, twoerner, ville.skytta
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: 2013-03-19 20:05:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
whitelist certain subdirectories in /etc/ as acontaining files that shouldn't be marked %config
none
Patch the Fedora package's config none

Description Toshio Ernie Kuratomi 2013-03-05 00:35:50 UTC
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.

Comment 1 Ville Skyttä 2013-03-06 20:00:13 UTC
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.

Comment 2 Toshio Ernie Kuratomi 2013-03-06 20:55:17 UTC
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.

Comment 3 Fedora Update System 2013-03-06 21:15:21 UTC
rpmlint-1.4-13.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/rpmlint-1.4-13.fc18

Comment 4 Fedora Update System 2013-03-06 21:15:33 UTC
rpmlint-1.4-13.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/rpmlint-1.4-13.fc17

Comment 5 Fedora Update System 2013-03-08 00:06:58 UTC
Package rpmlint-1.4-13.fc17:
* 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:
https://admin.fedoraproject.org/updates/FEDORA-2013-3553/rpmlint-1.4-13.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-03-19 20:05:26 UTC
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.

Comment 7 Fedora Update System 2013-03-20 21:39:55 UTC
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.