Red Hat Bugzilla – Bug 200032
rpmlint backtrace when spec says file exists but it doesn't
Last modified: 2007-11-30 17:11:38 EST
+++ 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
W: authconfig symlink-should-be-relative /usr/sbin/authconfig
Traceback (most recent call last):
File "/usr/share/rpmlint/rpmlint.py", line 250, in ?
File "/usr/share/rpmlint/rpmlint.py", line 83, in main
File "/usr/share/rpmlint/rpmlint.py", line 138, in runChecks
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:
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):
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
Fixed in 0.78-1.