Bug 70062

Summary: /sbin/raid0run linked with libpopt.so
Product: [Retired] Red Hat Linux Reporter: Chuck Lever <cel>
Component: raidtoolsAssignee: Arjan van de Ven <arjanv>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-07-29 19:56:17 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:

Description Chuck Lever 2002-07-29 19:56:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408

Description of problem:
When recovering from a RAID problem, the system comes up without /usr
mounted.  When the startup scripts attempt to run /sbin/raid0run to
recover, they fail because raid0run needs to load /usr/lib/libpopt.so.

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


How reproducible:
Always

Steps to Reproduce:
1.  Put system in single user mode
2.  Be sure /usr is unmounted
3.  Try to run /sbin/raid0run
	

Actual Results:  error messages from the loader that report missing library
libpopt.so when trying to execute /sbin/raid0run.  raid0run
does not start.

Expected Results:  /sbin/raid0run should start up and run without an error.

Additional info:

A workaround is available:  simply copy /usr/lib/libpopt* to /lib.
However, a file in /sbin should be completely statically linked.
The proper fix is to link libpopt when building the raid0run
executable.

Comment 1 Michael K. Johnson 2002-08-07 20:37:25 UTC
Summary was wrong; raid0run not being linked with libpopt.so would be
good; being linked with libpopt.so means that a problem shows up at
run time.

This is fixed in Red Hat Linux 7.3:
$ ldd /sbin/raid0run 
	libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)