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): rpmlint-0.94-1.fc14 How reproducible: always Steps to Reproduce: 1. ghost any pam file from /etc/pam.d/ in spec (e.g. foo) 2. run rpmlint on resulting rpm Actual results: W: read-error /etc/pam.d/foo [Errno 2] No such file or directory: Expected results: No warning Additional info: 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: http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1735 0.95 containing this fix will be available shortly.
rpmlint-0.95-2.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/rpmlint-0.95-2.fc13
rpmlint-0.95-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/rpmlint-0.95-2.fc12
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.