Bug 570086

Summary: rpmlint doesn't correctly process ghosted pam files
Product: [Fedora] Fedora Reporter: Jaroslav Škarvada <jskarvad>
Component: rpmlintAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: jskarvad, manuel.wolfshant, tmz, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rpmlint-0.95-2.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-03 18:18:39 UTC Type: ---
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
Ignore ghost files in pam check none

Description Jaroslav Škarvada 2010-03-03 09:02:44 UTC
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.

Comment 1 Ville Skyttä 2010-03-03 18:18:39 UTC
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.

Comment 2 Fedora Update System 2010-03-06 20:15:07 UTC
rpmlint-0.95-2.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/rpmlint-0.95-2.fc13

Comment 3 Fedora Update System 2010-03-06 20:16:24 UTC
rpmlint-0.95-2.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/rpmlint-0.95-2.fc12

Comment 4 Fedora Update System 2010-03-11 13:31:23 UTC
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.

Comment 5 Fedora Update System 2010-03-12 04:28:08 UTC
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.