Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339023 - sys-fs/lvm2 - lvm2create_initrd dont handle lib64 properly
Summary: sys-fs/lvm2 - lvm2create_initrd dont handle lib64 properly
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-28 12:16 UTC by montjoie
Modified: 2011-09-13 06:42 UTC (History)
2 users (show)

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


Attachments
Patch for handling lib64 (lvm2create_initrd_handle_lib64.patch,406 bytes, patch)
2010-09-28 12:18 UTC, montjoie
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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