Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284926 - lvm2 ebuild should depend on a reasonably new openrc and libreadline
Summary: lvm2 ebuild should depend on a reasonably new openrc and libreadline
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 13:34 UTC by el
Modified: 2009-09-20 21:20 UTC (History)
1 user (show)

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 el 2009-09-14 13:34:13 UTC
After recently upgrading to lvm2-2.02.51 my system was unbootable because:
1. The lvm binaries got linked against libreadline.so.6 but only libreadline.so.5 was under /lib. Fixed this by a symlink.
2. The lvm init script failed to start because I was running openrc-0.2.5 and didn't have /etc/init.d/sysfs. Fixed by commenting out the failure.

Just remerged latest readline and openrc - both problems should be fixed.

It's wonderful that the Linux system at least fails to boot gracefully and I got a shell :)
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-17 07:17:37 UTC
(In reply to comment #0)
> After recently upgrading to lvm2-2.02.51 my system was unbootable because:
> 1. The lvm binaries got linked against libreadline.so.6 but only
> libreadline.so.5 was under /lib. Fixed this by a symlink.
Something was borked in your system then, where WAS the libreadline.so.6 then?
If it was in /usr, something was REALLY wrong.

Here's my location of it.
 * Contents of sys-libs/readline-6.0_p4:
/lib64
/lib64/libhistory.so.6 -> libhistory.so.6.0
/lib64/libhistory.so.6.0
/lib64/libreadline.so.6 -> libreadline.so.6.0
/lib64/libreadline.so.6.0


> 2. The lvm init script failed to start because I was running openrc-0.2.5 and
> didn't have /etc/init.d/sysfs. Fixed by commenting out the failure.
How is this for a potential RDEPEND:
|| ( =sys-apps/baselayout-1* >=sys-apps/openrc-0.4 )

Removing agk from the the bug, since it's not an upstream issue.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-18 02:06:58 UTC
openrc dep stuff updated.

Please respond re libreadline borkage on your system.
Comment 3 el 2009-09-20 11:51:02 UTC
(In reply to comment #2)
> openrc dep stuff updated.
> 
> Please respond re libreadline borkage on your system.
> 
yes I'm pretty sure libreadline was at /usr/lib/libreadline.so.6.

Anyway, my system works fine after remerging readline and openrc.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-20 21:20:11 UTC
if you can reproduce libreadline installing the binary (not a symlink or linker redirect file) at /usr/lib*/libreadline*6*, then please open a new bug for that.

Closing since the rest works.