Bug 860579

Summary: Packages for F17+ must not use /bin, /sbin, /lib or /lib64
Product: [Fedora] Fedora Reporter: Jaroslav Škarvada <jskarvad>
Component: glibcAssignee: Jeff Law <law>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fweimer, jakub, jsynacek, law, pfrankli, schwab, spoyarek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-19 17:13:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jaroslav Škarvada 2012-09-26 08:28:20 UTC
Description of problem:
According to the packaging guidelines [1] packages for F17+ must not place files or directories to /bin, /sbin, /lib or /lib64:
> In addition, Fedora packages MUST NOT place files or directories
> in the /bin, /sbin, /lib or /lib64 directories. Instead,
> the /usr/bin, /usr/sbin, /usr/lib, and /usr/lib64 directories must be used.
> Packages must assume that /bin, /sbin, /lib, and /lib64 are symbolic
> links to the /usr/bin, /usr/sbin, /usr/lib, and /usr/lib64 directories,
> respectively. 

But glibc still uses these directories and I cannot find any exception for this.

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

How reproducible:
Always

Steps to Reproduce:
1. rpm -ql glibc | grep '\(^/s\?bin\)\|\(^/lib\(64\)\?\)'
  
Actual results:
Files are placed into /bin, /sbin, /lib, and /lib64

Expected results:
Files should be placed into /usr/bin, /usr/sbin, /usr/lib, and /usr/lib64

Additional info:
[1] http://fedoraproject.org/wiki/Packaging:Guidelines#Filesystem_Layout

Comment 1 Jakub Jelinek 2012-09-26 08:33:21 UTC
Then there should be an exception, because e.g. the dynamic linker is mandated by the ABI to that location.

Comment 2 Jaroslav Škarvada 2012-09-26 08:41:24 UTC
Thanks for info, forwarded to FPC.