Bug 200032 - rpmlint backtrace when spec says file exists but it doesn't
Summary: rpmlint backtrace when spec says file exists but it doesn't
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-24 21:57 UTC by Matt Domsch
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version: 0.78-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-24 16:15:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matt Domsch 2006-07-24 21:57:24 UTC
+++ This bug was initially created as a clone of Bug #200031 +++

Description of problem:
$ rpmlint authconfig-5.3.3-2.i386.rpm
W: authconfig no-url-tag
W: authconfig symlink-should-be-relative /usr/sbin/authconfig-tui
/usr/share/authconfig/authconfig-tui.py
W: authconfig symlink-should-be-relative /usr/sbin/authconfig
/usr/share/authconfig/authconfig.py
Traceback (most recent call last):
  File "/usr/share/rpmlint/rpmlint.py", line 250, in ?
    main()
  File "/usr/share/rpmlint/rpmlint.py", line 83, in main
    runChecks(pkg)
  File "/usr/share/rpmlint/rpmlint.py", line 138, in runChecks
    c.check(pkg)
  File "/usr/share/rpmlint/PamCheck.py", line 33, in check
    self.check_pam_file(pkg, dirname, i)
  File "/usr/share/rpmlint/PamCheck.py", line 36, in check_pam_file
    f = open(directory + filename)
IOError: [Errno 2] No such file or directory:
'/tmp/authconfig-5.3.3-2.i386.rpm.30511/etc/pam.d/system-auth-ac'


of course, that file doesn't exist if you 'rpm -qpil
authconfig-5.3.3-2.i386.rpm'.  So the spec file must say it exists, but then
it's not in the package.

rpmlint shouldn't backtrace though.


Version-Release number of selected component (if applicable):
rpmlint-0.76-1.fc5

Comment 1 Ville Skyttä 2006-07-25 06:27:43 UTC
Ack, happens also with the current version, 0.77-1.fc5.  Removing dependency on
bug 200031, authconfig package changes are not a prerequisite for fixing this in
rpmlint.

Comment 2 Ville Skyttä 2006-09-24 16:15:41 UTC
Fixed in 0.78-1.


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