Bug 570086 - rpmlint doesn't correctly process ghosted pam files
Summary: rpmlint doesn't correctly process ghosted pam files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-03 09:02 UTC by Jaroslav Škarvada
Modified: 2011-10-12 11:43 UTC (History)
4 users (show)

Fixed In Version: rpmlint-0.95-2.fc13
Clone Of:
Environment:
Last Closed: 2010-03-03 18:18:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Ignore ghost files in pam check (715 bytes, patch)
2010-03-03 09:02 UTC, Jaroslav Škarvada
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 745446 0 unspecified CLOSED rpmlint-1.2-1.fc15.noarch checks ghost manual pages for encoding 2021-02-22 00:41:40 UTC

Internal Links: 745446

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.


Note You need to log in before you can comment on or make changes to this bug.