RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 634944 - rpmlint errors and warnings
Summary: rpmlint errors and warnings
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: python
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Dave Malcolm
QA Contact: Petr Šplíchal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-17 12:08 UTC by Alexander Todorov
Modified: 2016-06-01 01:47 UTC (History)
1 user (show)

Fixed In Version: python-2.6.6-6.el6
Doc Type: Bug Fix
Doc Text:
A harmless but unnecessary RPATH directive from the _sqlite3.so module was removed. "Executability" bits and "shebang" lines from .py files within the standard library that did not require these lines were also removed.
Clone Of:
Environment:
Last Closed: 2011-05-19 11:36:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0554 0 normal SHIPPED_LIVE Moderate: python security, bug fix, and enhancement update 2011-05-19 11:35:29 UTC

Description Alexander Todorov 2010-09-17 12:08:44 UTC
Description of problem:
rpmlint shows errors and warnings

Version-Release number of selected component (if applicable):
python-2.6.5-3.el6.x86_64.rpm 

How reproducible:
Always

Steps to Reproduce:
1. run rpmlint *.rpm
2.
3.
  
Actual results (as shown by rpmlint):
# rpmlint python-2.6.5-3.el6.x86_64.rpm 
python.x86_64: I: enchant-dictionary-not-found en_US
python.x86_64: W: obsolete-not-provided python-elementtree
python.x86_64: W: self-obsoletion Distutils obsoletes Distutils
python.x86_64: W: self-obsoletion python2 obsoletes python2 = 2.6.5
python.x86_64: E: binary-or-shlib-defines-rpath /usr/lib64/python2.6/lib-dynload/_sqlite3.so ['/usr/lib64']
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_ssl.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/grpmodule.so 0555L
python.x86_64: E: non-executable-script /usr/lib64/python2.6/trace.py 0644L /usr/bin/env
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/timemodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_csv.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/dlmodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/cStringIO.so 0555L
python.x86_64: E: python-bytecode-inconsistent-mtime /usr/lib64/python2.6/distutils/sysconfig.pyo 2010-07-14T11:36:18 /usr/lib64/python2.6/distutils/sysconfig.py 2010-07-14T11:36:24
python.x86_64: E: python-bytecode-inconsistent-mtime /usr/lib64/python2.6/distutils/sysconfig.pyc 2010-07-14T11:36:18 /usr/lib64/python2.6/distutils/sysconfig.py 2010-07-14T11:36:24
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/termios.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/binascii.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/mathmodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/zlibmodule.so 0555L
python.x86_64: E: non-executable-script /usr/lib64/python2.6/timeit.py 0644L /usr/bin/env
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_codecs_cn.so 0555L
python.x86_64: E: non-executable-script /usr/lib64/python2.6/bsddb/dbshelve.py 0644L /usr/bin/env
python.x86_64: W: devel-file-in-non-devel-package /usr/include/python2.6/pyconfig-64.h
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_bsddb.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/nismodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_collectionsmodule.so 0555L
python.x86_64: E: non-executable-script /usr/lib64/python2.6/idlelib/PyShell.py 0644L /usr/bin/env
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/imageop.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/linuxaudiodev.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/operator.so 0555L
python.x86_64: E: script-without-shebang /usr/lib64/python2.6/runpy.py
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_weakref.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/fcntlmodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/mmapmodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/cPickle.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/stropmodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_bisectmodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/audioop.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_socketmodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/spwdmodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/cmathmodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/gdbmmodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_codecs_iso2022.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_codecs_kr.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_multibytecodecmodule.so 0555L
python.x86_64: E: non-executable-script /usr/lib64/python2.6/encodings/rot_13.py 0644L /usr/bin/env
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/selectmodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/resource.so 0555L
python.x86_64: E: non-executable-script /usr/lib64/python2.6/Cookie.py 0644L /usr/bin/env
python.x86_64: E: script-without-shebang /usr/lib64/python2.6/idlelib/idle.bat
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_localemodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_codecs_hk.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_codecs_jp.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/cryptmodule.so 0555L
python.x86_64: E: non-executable-script /usr/lib64/python2.6/difflib.py 0644L /usr/bin/env
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/timingmodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_struct.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/parsermodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_codecs_tw.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/xxsubtype.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/itertoolsmodule.so 0555L
python.x86_64: E: non-executable-script /usr/lib64/python2.6/unittest.py 0644L /usr/bin/env
python.x86_64: E: non-executable-script /usr/lib64/python2.6/tarfile.py 0644L /usr/bin/env
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/unicodedata.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/readline.so 0555L
python.x86_64: E: non-executable-script /usr/lib64/python2.6/webbrowser.py 0644L /usr/bin/env
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_randommodule.so 0555L
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/_functoolsmodule.so 0555L
python.x86_64: E: script-without-shebang /usr/lib64/python2.6/fractions.py
python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/arraymodule.so 0555L
1 packages and 0 specfiles checked; 64 errors, 4 warnings.


Additional info:
run rpmlint -i for verbose information and hints about those errors and warnings

Comment 2 Dave Malcolm 2011-01-18 23:54:50 UTC
Cleaning up formatting and sorting.

Which version of rpmlint are you using?

> python.x86_64: E: binary-or-shlib-defines-rpath /usr/lib64/python2.6/lib-dynload/_sqlite3.so ['/usr/lib64']
Inconsequential; appears to be due to setup.py passing in:
                                  runtime_library_dirs=sqlite_libdir,
which is where the rpath comes from.

$ eu-readelf -d /usr/lib64/python2.6/lib-dynload/_sqlite3.so | grep RPATH
  RPATH             Library rpath: [/usr/lib64]

I've fixed this in python-2.6.6-6.el6


> python.x86_64: E: non-executable-script /usr/lib64/python2.6/Cookie.py 0644L /usr/bin/env
  (and about 10 others of these)

Inconsequential, but should now be fixed in python-2.6.6-6.el6


> python.x86_64: E: non-standard-executable-perm /usr/lib64/python2.6/lib-dynload/arraymodule.so 0555L
   (and about 40 others of these)
Inconsequential: these are "r-xr-xr-x" which seems reasonable.


> python.x86_64: E: python-bytecode-inconsistent-mtime /usr/lib64/python2.6/distutils/sysconfig.pyc 2010-07-14T11:36:18 /usr/lib64/python2.6/distutils/sysconfig.py 2010-07-14T11:36:24
> python.x86_64: E: python-bytecode-inconsistent-mtime /usr/lib64/python2.6/distutils/sysconfig.pyo 2010-07-14T11:36:18 /usr/lib64/python2.6/distutils/sysconfig.py 2010-07-14T11:36:24

These would actually be a minor problem, but I didn't see them on my machine, and they don't seem to be present in the latest build.  Do you still see this?


> python.x86_64: E: script-without-shebang /usr/lib64/python2.6/fractions.py
> python.x86_64: E: script-without-shebang /usr/lib64/python2.6/idlelib/idle.bat
> python.x86_64: E: script-without-shebang /usr/lib64/python2.6/runpy.py

Inconsequential.  I've removed executability from .py files that lack shebangs in python-2.6.6-6.el6
I've also removed idle.bat and ctypes/macholib/fetch_macholib.bat (DOS batch files)


> python.x86_64: I: enchant-dictionary-not-found en_US
Looks like a bug at your end.


> python.x86_64: W: devel-file-in-non-devel-package /usr/include/python2.6/pyconfig-64.h
This file is required at runtime by distutils.


> python.x86_64: W: obsolete-not-provided python-elementtree
> python.x86_64: W: self-obsoletion Distutils obsoletes Distutils
> python.x86_64: W: self-obsoletion python2 obsoletes python2 = 2.6.5
Inconsequential, I believe

Comment 6 Laura Bailey 2011-05-10 00:44:55 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
A harmless but unnecessary RPATH directive from the _sqlite3.so module was removed. "Executability" bits and "shebang" lines from .py files within the standard library that did not require these lines were also removed.

Comment 7 errata-xmlrpc 2011-05-19 11:36:59 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0554.html

Comment 8 errata-xmlrpc 2011-05-19 13:07:37 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0554.html


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