Bug 697570

Summary: files in /sbin depending on /usr
Product: Red Hat Enterprise Linux 6 Reporter: Karel Volný <kvolny>
Component: halAssignee: Richard Hughes <rhughes>
Status: CLOSED DUPLICATE QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-08 15:27:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Karel Volný 2011-04-18 15:47:38 UTC
Description of problem:
/sbin/umount.hal depends on files in /usr but /usr needs not to be available (mounted) when /sbin binaries are used.

From FHS
(http://www.pathname.com/fhs/pub/fhs-2.3.html#SBINSYSTEMBINARIES)

"/sbin contains binaries essential for booting, restoring, recovering, and/or repairing the system in addition to the binaries in /bin."

There are several options:

1) If umount.hal is not essential, it should be moved to /usr/sbin

2) If umount.hal has to stay in /sbin, then it must be able to run without /usr mounted, i.e. the dependencies have to be moved from /usr/lib* to /lib*, or linked statically.

3) If neither of the above is possible (desirable), the exception has to be justified and documented fo further reference (so far I haven't found any relevant docs).

Version-Release number of selected component (if applicable):
hal-0.5.14-8.el6

How reproducible:
always

Steps to Reproduce:
1. run the test /CoreOS/libtirpc/Sanity/bz558937-sbin-dependencies-in-usr
  
Actual results:
:: [   FAIL   ] :: File /sbin/umount.hal (from hal-0.5.14-8.el6.x86_64) depends on /usr 
:: [   INFO   ] :: The affected dependencies:
:: [   INFO   ] :: - /usr/lib64/libhal.so.1 (from hal-libs-0.5.14-8.el6.x86_64)
:: [   INFO   ] :: - /usr/lib64/libhal-storage.so.1 (from hal-libs-0.5.14-8.el6.x86_64)

Expected results:
(no such failures)

Additional info:

Comment 2 Richard Hughes 2011-06-08 15:27:33 UTC

*** This bug has been marked as a duplicate of bug 692832 ***