Red Hat Bugzilla – Bug 443878
mkdumprd creates incomplete initrd for LVM: missing libreadline.5.so
Last modified: 2008-09-28 05:44:29 EDT
kexec-tools-1.102pre-8.fc9.i386 creates an initrd that fails to start
up during a forced or unforced crash. The LVM initialization stuff
fails because of a missing shared library (libreadline.5.so) in the
image. So, /sysroot doesn't get mounted and the crash dumping process
stops at an impotent "#" command line.
Oops, I see the problem. Thanks frank. I'll fix it shortly.
Created attachment 303564 [details]
patch to correctly pull in lvm dso's
Frank, this should ensure that all the libs that lvm depends on get pulled in.
Can you patch the mkdumprd script with this patch and verify that it fixes the
Yeah, $bin seems to work. In another part of the script ($KDUMP_CONFIG_FILE,
adding dmsetup and kpartx), $bin is reset instead of concatenated, which has
to be fixed too.
fixed in -10.fc9. Thanks frank!
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
On rawhide, 1.102-pre-11.fc10.i386 fails almost the same was as in the original
report; this time /bin/msh blocking on libcrypt.so.1
Frank, I don't understand what the above means, /bin/msh is a link to
/sbin/busybox in the initramfs, and busybox is a static executable. I did
notice howeer that somehow I missed adding the previous fix to rawhide, so I've
done that in -12.fc10, which will be available in koji shortly. Give that a try
if you would. Thanks!
Sorry dude, 0:1.102pre-12.fc10 still misses libcrypt.so.1
Can you please send me the console log of your kdump kernel boot? I still fail
to see how msh can block on libcrypt given that busybox is a static binary
(unless that has changed recently. I can fix this, but I'd really like to know
what requires libcrypt.so.1 and how it pulls that requirement in that we're
missing it first. Thanks!
Created attachment 310382 [details]
/bin/msh: error while loading shared libraries: libcrypt.so.1: cannot open
shared object file
Created attachment 311261 [details]
patch to include busybox in bin list
I don't see the same problem as you on my F-9 system using the latest
kexec-tools, but I'm using a backlevel busybox. It looks like F10 busybox may
be trying to move to a dynamic build. This patch should help that. Give it a
try if you would please. If it doesn't help, please attach the initrd that
your system is building for kdump, I'd like to look through it by hand.
Yup, that worked.
Fixed in F-9 and rawhide. Thanks!
kexec-tools-1.102pre-10.fc9 has been submitted as an update for Fedora 9
kexec-tools-1.102pre-10.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
I'm still seeing the original problem with libreadline.so.5 missing with kexec-tools-1.102pre-10-fc9
apparently the change didn't get picked up. Fixed in -11
kexec-tools-1.102pre-12.fc9 has been submitted as an update for Fedora 9
kexec-tools-1.102pre-12.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
as i said in bug
i - at the time i filed that bug did already use
which i have used to date - and is now pushed to f9
unless something not mentioned in the changelog happened (last entry 12th Aug), i'd say that the bug still persists - i have not checked today though - should i ?
please disregard from last vomment - wrong bug...
sorry for the confusion