Bug 120458
| Summary: | /sbin/lvm missing libreadline.so.4... /usr not avail yet! | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Carrigan <davidc> | ||||||
| Component: | lvm2 | Assignee: | Bill Nottingham <notting> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | rawhide | CC: | agk, carljohan, hirvox, notting, rvokal, sct | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i386 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 7.50-1 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2004-05-03 21:19:12 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: | 114961 | ||||||||
| Attachments: |
|
||||||||
*** Bug 120459 has been marked as a duplicate of this bug. *** *** Bug 120705 has been marked as a duplicate of this bug. *** rc.sysinit should be using lvm.static not lvm. Created attachment 99403 [details]
Test patch for /etc/rc.d/rc.sysinit
Created attachment 99405 [details]
Additional patch
2 patches to rc.sysinit attached to fix the init script to use the static version of the binary instead of the dynamically-linked one. 2.00.12 released which moves the non-static binaries to /usr/sbin and has a temporary workaround (extra symlinks in /sbin) until initscripts gets updated with the attached patches. This is fixed in 7.50-1. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312 Epiphany/1.1.12 Description of problem: /sbin/lvm in this RPM is linked dynamically to three(3) libraries under /usr/lib (libreadline.so.4, libncurses.so.5, and libgpm.so.1). At boot, /sbin/lvm is called from /etc/rc.d/rc.sysinit at line 378, but /usr--if a separate partition--is not mounted/available until line 605 of same. Version-Release number of selected component (if applicable): lvm2-2.00.10-1.3 How reproducible: Always Steps to Reproduce: 1. Boot a system with /usr as separate from / filesystem 2. Error: /sbin/lvm: libreadline.so.4 not found 3. Enter root passwd at sulogin prompt 4. `e2fsck -y /dev/<where /usr is>; mount /dev/</usr> /usr' 5. run /sbin/lvm --mknodes[...] as "usual." Actual Results: System works OK after steps 3. - 5., but on reboot, we're back in the same mess Expected Results: Simply boot the system as before the "upgrade" to lvm2-2.00.10-1.3 Additional info: Will roll back to other lvm2 version, until this is fixed