-
Notifications
You must be signed in to change notification settings - Fork 32
strange behaviour with binary paths depends on running context #87
Copy link
Copy link
Open
Labels
questionFurther information is requestedFurther information is requested
Description
# grep initrd_generator=ugrd /etc/kernel/install.conf
initrd_generator=ugrd
# emerge --config =sys-kernel/hardened-kernel-6.10.13
A binaries in result image placed in the /usr/bin
# xz -d -c /boot/xxx/6.10.13-hardened/initrd |cpio -tv|grep mount
-rwx--x--x 1 root root 55328 Oct 22 16:24 usr/bin/mount
lrwxrwxrwx 1 root root 9 Oct 18 09:17 usr/bin/mount.bcachefs -> bcachefs
-rwx--x--x 1 root root 34848 Oct 22 16:24 usr/bin/umount
-rwxr-xr-x 1 root root 449160 Oct 22 16:24 usr/lib/libmount.so.1.1.0
lrwxrwxrwx 1 root root 27 Oct 22 16:24 usr/lib/libmount.so.1 -> /usr/lib/libmount.so.1.1.0When I run ugrd manualy binaries placed in the /usr/sbin:
# ugrd /initrd.ugrd.img
# xz -d -c /initrd.ugrd.img |cpio -tv|grep mount
-rwxr-xr-x 1 root root 449160 Oct 22 16:24 usr/lib/libmount.so.1.1.0
lrwxrwxrwx 1 root root 27 Oct 22 16:24 usr/lib/libmount.so.1 -> /usr/lib/libmount.so.1.1.0
-rwx--x--x 1 root root 55328 Oct 22 16:24 usr/sbin/mount
-rwx--x--x 1 root root 34848 Oct 22 16:24 usr/sbin/umount
lrwxrwxrwx 1 root root 9 Oct 18 09:17 usr/sbin/mount.bcachefs -> bcachefsWith one of case symlink module [symlinks.xxx] fails to work
ERROR | ugrd | [Errno 2] No such file or directory: '/var/tmp/portage/sys-kernel/hardened-kernel-6.10.13/temp/initramfs_build/usr/sbin/mount.bcachefs'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested