Bug 233132

Summary: initscripts uses /sbin/dmraid
Product: Red Hat Enterprise Linux 4 Reporter: Bryn M. Reeves <bmr>
Component: dmraidAssignee: Heinz Mauelshagen <heinzm>
Status: CLOSED ERRATA QA Contact: Corey Marthaler <cmarthal>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.5CC: agk, borgan, dwysocha, heinzm, mbroz, notting, prockai
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0175 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-01 17:15:03 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:
Bug Depends On:    
Bug Blocks: 234547    

Description Bryn M. Reeves 2007-03-20 16:10:30 UTC
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 16:27:21 UTC
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 15:12:04 UTC
I agree unless I overlook an issue with running dmraid.static in initscripts. Size ?

Comment 5 Bryn M. Reeves 2007-03-27 18:25:39 UTC
*** Bug 234204 has been marked as a duplicate of this bug. ***

Comment 20 Red Hat Bugzilla 2007-05-01 17:15:03 UTC
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