Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 339023

Summary: sys-fs/lvm2 - lvm2create_initrd dont handle lib64 properly
Product: Gentoo Linux Reporter: montjoie <corentin.labbe>
Component: [OLD] Core systemAssignee: Robin Johnson <robbat2>
Status: RESOLVED UPSTREAM    
Severity: normal CC: agk, cardoe
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for handling lib64

Description montjoie 2010-09-28 12:16:44 UTC
the initrd created by lvm2create_initrd on a amd64 split libraries on two folder.

/tmp/mnt.23032/lib:
total 2402
-rwxr-xr-x 1 root root  100720 26 sept. 11:35 libaudit.so.0
-rwxr-xr-x 1 root root 1399984  2 sept. 09:50 libc.so.6
-rwxr-xr-x 1 root root   14512  2 sept. 09:50 libdl.so.2
-rwxr-xr-x 1 root root  526456  2 sept. 09:50 libm.so.6
-rwxr-xr-x 1 root root  329592 26 sept. 10:27 libncurses.so.5
-rwxr-xr-x 1 root root   14488 26 sept. 11:37 libpam_misc.so.0
-rwxr-xr-x 1 root root   51728 26 sept. 11:37 libpam.so.0
/tmp/mnt.23032/lib64:
total 127
-rwxr-xr-x 1 root root 128424  2 sept. 09:50 ld-linux-x86-64.so.2

So when booting with this initrd i got
/bin/bash: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory


Reproducible: Always

Actual Results:  
libraries split in two folder

Expected Results:  
one folder with libs (lib64) and a symlink to lib64 called lib
Comment 1 montjoie 2010-09-28 12:18:42 UTC
Created attachment 248899 [details, diff]
Patch for handling lib64
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-09-13 06:42:28 UTC
That patch is not always correct if you are on a x86 system. Please respin and send directly upstream