[Bug 856161] New: mkinitrd includes local libz library resulting in boot failure
https://bugzilla.novell.com/show_bug.cgi?id=856161 https://bugzilla.novell.com/show_bug.cgi?id=856161#c0 Summary: mkinitrd includes local libz library resulting in boot failure Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Critical Priority: P5 - None Component: Update Problems AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dlooney601@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:25.0) Gecko/20100101 Firefox/25.0 Whenever the kernel was updated on one opensuse 12.3 x86_64 system using an luks-LVM encrypted system, reboot would result in an endless loop of "VolGroup not found" and no prompt to enter luks password would appear. Investigating the contents of the initrd files generated for 3.7.10-1.1 and 3.7.10-1.16 kernels, the libz.so.1.2.7 file included was NOT in /lib64, but instead mkinitrd instead reproducibly included a "custom" 32-bit libz installed in /usr/local (/usr/local/lib/libz.so.1.2.7) needed by one user application, but not any executable in the initrd. Unfortunately, modprobe and libcrypto.so.1.0.0, needed for boot, then fail, as they are linked to the system /lib64/libz and not the 32-bit custom libz. The /lib/mkinitrd/setup/92-sharedlibs.sh is opaque to me, but it surely should not produce an initrd that includes a shared library other than the specific one or ones linked to by executables and libraries needed and included in the initrd. David Looney Reproducible: Always Steps to Reproduce: 1. Place a 32-bit version of libz in /usr/local/lib 2. Update kernel and/or manually run mkinitrd 3. Reboot Actual Results: Upgraded from installation to 3.7.10-1.16 kernel after install EMBOSS molecular biology suite software requiring custom 32-bit libz on 64-bit system Expected Results: System reboots with prompt to enter LVM volume encrypted password. Instead it cannot handle luks decryption and goes into endless loop where it "cannot find VolGroup/luks_root" as the volume is never decrypted. Can't be common, as most users don't need a custom libz, but the mkinitrd script to setup shared libraries should definitely not include such a library to the preference of all others in the generated initrd ! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=856161 https://bugzilla.novell.com/show_bug.cgi?id=856161#c zhang jiajun <jzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |mmarek@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com