Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80936 - LVM2 binaries linked to libraries in /usr/lib -- system fails to boot
Summary: LVM2 binaries linked to libraries in /usr/lib -- system fails to boot
Status: RESOLVED DUPLICATE of bug 80403
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-05 18:49 UTC by Wolfram Schlich (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2005-02-05 18:49:35 UTC
emerging =sys-fs/lvm2-2.00.25 with the 'readline' USE flag enabled causes critical LVM2 applications (like vgscan) to be linked against ncurses and, when ncurses has been emerged with the 'gpm' USE flag, against gpm. the problem is that libgpm.so.1 resides in /usr/lib and not in /lib like the others.
now imagine what happens when you have your /usr on an LVM2 volume :>
right, your system doesn't boot because vgscan aborts.

here is a list of the corresponding entries from a "ldd /sbin/vgscan":

        libncursesw.so.5 => /lib/libncursesw.so.5 (0x0000002a95695000)
        libgpm.so.1 => /usr/lib/libgpm.so.1 (0x0000002a95a04000)

they disappear when using USE="-readline" when emerging lvm2.
suggestions: either move libgpm to /lib or never ever use readline when merging lvm2.
Comment 1 Glenn L. McGrath 2005-02-06 06:45:01 UTC
This is the same as #80403
Comment 2 Sven Wegener gentoo-dev 2005-02-06 07:00:01 UTC

*** This bug has been marked as a duplicate of 80403 ***