Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 705245 Details for
Bug 917868
rpmlint complains about any non-ghost file in /etc not being marked config
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
whitelist certain subdirectories in /etc/ as acontaining files that shouldn't be marked %config
rpmlint-1.4-nonconf-whitelist.patch (text/plain), 1.15 KB, created by
Toshio Ernie Kuratomi
on 2013-03-05 00:35:50 UTC
(
hide
)
Description:
whitelist certain subdirectories in /etc/ as acontaining files that shouldn't be marked %config
Filename:
MIME Type:
Creator:
Toshio Ernie Kuratomi
Created:
2013-03-05 00:35:50 UTC
Size:
1.15 KB
patch
obsolete
>Index: rpmlint-1.4/FilesCheck.py >=================================================================== >--- rpmlint-1.4.orig/FilesCheck.py >+++ rpmlint-1.4/FilesCheck.py >@@ -220,6 +220,7 @@ skipdocs_regex = re.compile(Config.getOp > meta_package_regex = re.compile(Config.getOption('MetaPackageRegexp', '^(bundle|task)-')) > filesys_packages = ['filesystem'] # TODO: make configurable? > quotes_regex = re.compile('[\'"]+') >+nonconf_whitelist_regex = re.compile('^/etc/(rpm/|/etc/rc.d/init.d/)') > > for idx in range(0, len(dangling_exceptions)): > dangling_exceptions[idx][0] = re.compile(dangling_exceptions[idx][0]) >@@ -735,7 +736,8 @@ class FilesCheck(AbstractCheck.AbstractC > if nonexec_file: > printWarning(pkg, 'spurious-executable-perm', f) > elif f.startswith('/etc/') and f not in config_files and \ >- f not in ghost_files: >+ f not in ghost_files and \ >+ not nonconf_whitelist_regex.search(f): > printWarning(pkg, 'non-conffile-in-etc', f) > > if pkg.arch == 'noarch' and f.startswith('/usr/lib64/python'):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 917868
: 705245 |
706250