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: | rpmlint | Assignee: | Tom "spot" Callaway <tcallawa> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | rawhide | CC: | 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: |
|
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. https://admin.fedoraproject.org/updates/rpmlint-1.4-13.fc18 rpmlint-1.4-13.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/rpmlint-1.4-13.fc17 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). 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. |
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.