Bug 204847

Summary: Unowned directories
Product: [Fedora] Fedora Reporter: Steven Pritchard <steve>
Component: iso-codesAssignee: Parag Nemade <pnemade>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
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-07-24 06:42:27 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 Steven Pritchard 2006-08-31 21:04:04 UTC
Description of problem:
iso-codes installs files in various unowned locale directories.

For example:

$ rpm -qf /usr/share/locale/sw /usr/share/locale/sw/LC_MESSAGES
file /usr/share/locale/sw is not owned by any package
file /usr/share/locale/sw/LC_MESSAGES is not owned by any package
$ rpm -qf /usr/share/locale/sw/LC_MESSAGES/iso*
iso-codes-0.49-1
iso-codes-0.49-1

There appear to be 145 such unowned directories if the following ugly script is
to be believed:

rpm -ql iso-codes \
    | while read file ; do dirname "$file" ; done \
    | while read dir ; do echo $dir ; dirname $dir ; done \
    | sort -u | xargs rpm -qf | grep 'is not owned' | wc -l

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

Comment 3 Jens Petersen 2007-07-24 03:58:19 UTC
This looks fixed to me (in F7 at least), could you confirm, Parag?

Comment 4 Parag Nemade 2007-07-24 05:29:53 UTC
on rawhide and F7 it gave me
 rpm -ql iso-codes     | while read file ; do dirname "$file" ; done     | while
read dir ; do echo $dir ; dirname $dir ; done     | sort -u | xargs rpm -qf |
grep 'is not owned' | wc -l
0