Bug 233132 - initscripts uses /sbin/dmraid
initscripts uses /sbin/dmraid
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: dmraid (Show other bugs)
4.5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Heinz Mauelshagen
Corey Marthaler
: Regression
: 234204 (view as bug list)
Depends On:
Blocks: 234547
  Show dependency treegraph
 
Reported: 2007-03-20 12:10 EDT by Bryn M. Reeves
Modified: 2008-01-28 09:07 EST (History)
7 users (show)

See Also:
Fixed In Version: RHBA-2007-0175
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-05-01 13:15:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Bryn M. Reeves 2007-03-20 12:10:30 EDT
Description of problem:
The dmraid binary in RHEL4.5.0 (dmraid-1.0.0.rc14-1_RHEL4_U5) now links to the
dmraid library in /usr/lib:

# ldd /sbin/dmraid
        libdmraid.so.1.0.0.rc14 => /usr/lib/libdmraid.so.1.0.0.rc14 (0x008cd000)
        libdevmapper.so.1.02 => /lib/libdevmapper.so.1.02 (0x0026c000)
        libselinux.so.1 => /lib/libselinux.so.1 (0x0046d000)
        libsepol.so.1 => /lib/libsepol.so.1 (0x00254000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00121000)
        /lib/ld-linux.so.2 (0x00103000)

This means that initscripts need to use the /sbin/dmraid.static version, as is
already the case in the RHEL5 initscripts (initscripts-8.45.15.EL).

Version-Release number of selected component (if applicable):
initscripts-7.93.29.EL

How reproducible:
100%

Steps to Reproduce:
1. Install dmraid on a system with /usr on a separate file system
2. Reboot the machine

  
Actual results:
"/sbin/dmraid: error while loading shared libraries: libdmraid.so.1.0.0.rc14:
can not open shared object file: No such file or directory"

dmraid devices are not configured and must be manually activated by running
dmraid after /usr is mounted.

Expected results:
dmraid runs successfully and configures attached devices if present.

Additional info:
This is a regression from U4 caused by the change in the dmraid package.
Comment 1 Bill Nottingham 2007-03-20 12:27:21 EDT
This would also break third-party customer scripts - I think the simpler
solution is to not change how dmraid is built.
Comment 2 Heinz Mauelshagen 2007-03-21 11:12:04 EDT
I agree unless I overlook an issue with running dmraid.static in initscripts. Size ?
Comment 5 Bryn M. Reeves 2007-03-27 14:25:39 EDT
*** Bug 234204 has been marked as a duplicate of this bug. ***
Comment 20 Red Hat Bugzilla 2007-05-01 13:15:03 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0175.html

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