Bug 694090

Summary: python-bytecode-inconsistent-mtime checking is wrongly done on soft links
Product: [Fedora] Fedora Reporter: Thierry Vignaud <thierry.vignaud>
Component: rpmlintAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: a.badger, manuel.wolfshant, misc, tcallawa, tmz, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rpmlint-1.2-1.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-01 03:27:08 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:

Description Thierry Vignaud 2011-04-06 12:39:35 UTC
python-bytecode-inconsistent-mtime checking is wrongly done on soft links.

Eg using rpmlint-1.0-4.el5 on itself, it complains about symlinks on python modules.
This version provides el[45]-rpmlint.py softlinks on rpmlint.py, which show this behaviour. Note that it could be seen on any other package packaging python modules with symlinks.
(This bug is not about having symlinks on RHEL5 but about checking symlinks)

Rpmlint doesn't dereference the soft links and looks at the softlink date instead of the symlink target's date.

eg:
$ rpmlint rpmlint
rpmlint.noarch: E: python-bytecode-inconsistent-mtime /usr/share/rpmlint/el4-rpmlint.pyo 2010-07-12T18:13:41 /usr/share/rpmlint/el4-rpmlint.py 2011-04-06T12:12:04
rpmlint.noarch: E: python-bytecode-inconsistent-mtime /usr/share/rpmlint/el4-rpmlint.pyc 2010-07-12T18:13:41 /usr/share/rpmlint/el4-rpmlint.py 2011-04-06T12:12:04
rpmlint.noarch: E: python-bytecode-inconsistent-mtime /usr/share/rpmlint/el5-rpmlint.pyo 2010-07-12T18:13:41 /usr/share/rpmlint/el5-rpmlint.py 2011-04-06T12:12:04
rpmlint.noarch: E: python-bytecode-inconsistent-mtime /usr/share/rpmlint/el5-rpmlint.pyc 2010-07-12T18:13:41 /usr/share/rpmlint/el5-rpmlint.py 2011-04-06T12:12:04
(...)

Comment 2 Fedora Update System 2011-04-25 02:09:56 UTC
rpmlint-1.2-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/rpmlint-1.2-1.fc14

Comment 3 Fedora Update System 2011-04-25 02:10:23 UTC
rpmlint-1.2-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/rpmlint-1.2-1.fc15

Comment 4 Fedora Update System 2011-04-25 02:10:52 UTC
rpmlint-1.2-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/rpmlint-1.2-1.fc13

Comment 5 Fedora Update System 2011-04-25 20:54:17 UTC
Package rpmlint-1.2-1.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rpmlint-1.2-1.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/rpmlint-1.2-1.fc14
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-05-01 03:26:42 UTC
rpmlint-1.2-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2011-05-04 01:00:15 UTC
rpmlint-1.2-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-05-04 01:01:35 UTC
rpmlint-1.2-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.