Bug 234443

Summary: Files in /usr/lib un-owned by any package
Product: Red Hat Enterprise Linux 4 Reporter: paul boin <paul.boin>
Component: pythonAssignee: Jeremy Katz <katzj>
Status: CLOSED NEXTRELEASE QA Contact: Brock Organ <borgan>
Severity: low Docs Contact:
Priority: medium    
Version: 4.0CC: katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-29 14:32:55 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 paul boin 2007-03-29 10:50:15 UTC
Description of problem:


Version-Release number of selected component (if applicable):

$rpm -qa | grep '^python'
python-devel-2.3.4-14.3
python-ldap-2.0.1-2
python-2.3.4-14.3


file /usr/lib/python2.3/site-packages/japanese/aliases/__init__.pyo is not owned
by any package
file /usr/lib/python2.3/site-packages/japanese/__init__.pyo is not owned by any
package
file /usr/lib/python2.3/site-packages/libxml2.pyc is not owned by any package
file /usr/lib/python2.3/site-packages/rhpl/gzread.pyo is not owned by any package
file /usr/lib/python2.3/site-packages/rhpl/__init__.pyo is not owned by any package
file /usr/lib/python2.3/site-packages/rhpl/translate.pyo is not owned by any package
file /usr/lib/python2.3/site-packages/xf86config.pyc is not owned by any package 


Steps to Reproduce:

"rpm -qf" on any of the above files.
  
Actual results:

RPM reports the files aren't owned by any package

Expected results:

Since these files are in /usr/lib, they should be owned by a package.

Additional info:

Comment 1 Jeremy Katz 2007-03-29 14:32:55 UTC
The files also aren't shipped by any package; they get created at runtime when
you run a python app with -O2.

With RHEL5, we've moved to always pre-generating all of the .pyc and .pyo files
which helps to avoid things like this.