Red Hat Bugzilla – Bug 570086
rpmlint doesn't correctly process ghosted pam files
Last modified: 2011-10-12 07:43:18 EDT
Created attachment 397511 [details]
Ignore ghost files in pam check
Description of problem:
rpmlint tries to open and pamcheck ghosted pam files that ends up with strange error. I encounter this on sendmail-8.14.4-4.fc14.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ghost any pam file from /etc/pam.d/ in spec (e.g. foo)
2. run rpmlint on resulting rpm
W: read-error /etc/pam.d/foo [Errno 2] No such file or directory:
Looks like there is missing check in PamCheck.py for ghost files, something like the code in the included patch should resolve the problem.
Thanks, done in AbstractFilesCheck level upstream so it applies to more cases:
0.95 containing this fix will be available shortly.
rpmlint-0.95-2.fc13 has been submitted as an update for Fedora 13.
rpmlint-0.95-2.fc12 has been submitted as an update for Fedora 12.
rpmlint-0.95-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
rpmlint-0.95-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.