Summary: | sys-kernel/dracut-034-r1 - when booting a thin rootfs - multiple errors '/sbin/thin_check: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Norman Back <gentoo3> |
Component: | [OLD] Core system | Assignee: | Amadeusz Żołnowski (RETIRED) <aidecoe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch from bug 489624 adjusted for dracut-034-r1 |
Description
Norman Back
2013-11-20 15:19:48 UTC
thin_check appears to work OK when invoked manually /sbin/thin_check /dev/mapper/vgsdb10-thin_pool_tmeta examining superblock examining devices tree examining mapping tree # scanelf -n /sbin/thin_check TYPE NEEDED FILE ET_EXEC libstdc++.so.6,libgcc_s.so.1,libc.so.6 /sbin/thin_check (In reply to Jeroen Roovers from comment #2) > # scanelf -n /sbin/thin_check > TYPE NEEDED FILE > ET_EXEC libstdc++.so.6,libgcc_s.so.1,libc.so.6 /sbin/thin_check but libstdc++.so.6 is on mount point /usr , which was mounted by dracut. I suspect this is a dublicate of bug 489624 (In reply to Alexander Tsoy from comment #4) > I suspect this is a dublicate of bug 489624 I'm not so sure. On my system /usr is mounted by initramfs. (In reply to Norman Back from comment #5) > (In reply to Alexander Tsoy from comment #4) > > I suspect this is a dublicate of bug 489624 > > > I'm not so sure. On my system /usr is mounted by initramfs. If you haven't explicitly enabled usrmount module, then it is 100% not included in initramfs. Please try the patch attached to bug 489624. Created attachment 363698 [details, diff] patch from bug 489624 adjusted for dracut-034-r1 patch from bug 489624 adjusted for dracut-034-r1. This fixes the issue. Fixed in git: http://git.kernel.org/cgit/boot/dracut/dracut.git/commit/?id=ded4c82acedb373ed4393b69a9683c6bee38ff48 Thanks! +*dracut-034-r2 (14 Dec 2013) + + 14 Dec 2013; Amadeusz Żołnowski <aidecoe@gentoo.org> +dracut-034-r2.ebuild, + +files/034-0013-usrmount-always-install.patch: + Committing on behalf of Alexander Tsoy <alexander@tsoy.me>. + Fixes bug #489624 and bug #491778. + + usrmount module used to be not always installed when it was needed. + |