Bug 697570 - files in /sbin depending on /usr
Summary: files in /sbin depending on /usr
Keywords:
Status: CLOSED DUPLICATE of bug 692832
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: hal
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Richard Hughes
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-18 15:47 UTC by Karel Volný
Modified: 2011-06-08 15:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-08 15:27:33 UTC
Target Upstream Version:


Attachments (Terms of Use)

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 ***


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