View previous topic :: View next topic |
Author |
Message |
sdauth l33t


Joined: 19 Sep 2018 Posts: 687 Location: Ásgarðr
|
Posted: Sat Feb 08, 2025 12:01 pm Post subject: [SOLVED] systemd-utils-255.15-r1 lib missing |
|
|
Hello,
I updated my system (gentoo hardened split-usr / openrc) this morning and after a reboot, found out systemd-utils-255.15-r1 is broken.
Network and X doesn't start.
After checking logs:
previously with sys-apps/systemd-utils-254.17:
Code: | equery f systemd-utils | grep systemd-tmpfiles
/bin/systemd-tmpfiles
/etc/cron.daily/systemd-tmpfiles-clean
/etc/init.d/systemd-tmpfiles-setup
/etc/init.d/systemd-tmpfiles-setup-dev
/usr/share/man/man8/systemd-tmpfiles.8.bz2
/usr/share/zsh/site-functions/_systemd-tmpfiles |
with systemd-utils-255.15-r1:
Code: | equery f systemd-utils | grep systemd-tmpfiles
/etc/cron.daily/systemd-tmpfiles-clean
/etc/init.d/systemd-tmpfiles-setup
/etc/init.d/systemd-tmpfiles-setup-dev
/usr/bin/systemd-tmpfiles
/usr/share/man/man8/systemd-tmpfiles.8.bz2
/usr/share/zsh/site-functions/_systemd-tmpfiles |
ldd /usr/bin/systemd-tmpfiles
Code: | linux-vdso.so.1 (0x00007e53a71cd000)
libsystemd-shared-255.so => not found
libacl.so.1 => /usr/lib64/libacl.so.1 (0x00007e53a717f000)
libc.so.6 => /lib64/libc.so.6 (0x00007e53a6f94000)
/lib64/ld-linux-x86-64.so.2 (0x00007e53a71cf000) |
Now systemd-tmpfiles is in /usr/bin instead of /bin
How to resolve this issue ?
Thanks.
Last edited by sdauth on Sat Feb 08, 2025 2:07 pm; edited 1 time in total |
|
Back to top |
|
 |
sdauth l33t


Joined: 19 Sep 2018 Posts: 687 Location: Ásgarðr
|
Posted: Sat Feb 08, 2025 12:41 pm Post subject: |
|
|
Also, it seems udev is not found according to openrc log
"Unable to find udev executable"
I tried to downgrade to previous stable (254.17) but the issue persists...
So my system is fully broken now. |
|
Back to top |
|
 |
sdauth l33t


Joined: 19 Sep 2018 Posts: 687 Location: Ásgarðr
|
Posted: Sat Feb 08, 2025 1:07 pm Post subject: |
|
|
systemd-utils-255 update moved /lib/systemd & /lib/udev to /usr/lib (and created symlink in /lib) so this broke udev
ls -al /lib
Code: | lrwxrwxrwx 1 root root 18 8 févr. 06:23 systemd -> ../usr/lib/systemd
lrwxrwxrwx 1 root root 15 8 févr. 06:23 udev -> ../usr/lib/udev |
so I removed the symlink and moved back the dir to /lib
Code: | rm /lib/systemd /lib/udev
mv /usr/lib/udev /lib/
mv /usr/lib/systemd /lib/ |
ls -al /lib
Code: | drwxr-xr-x 1 root root 26 8 févr. 13:54 systemd
drwxr-xr-x 1 root root 306 8 févr. 13:54 udev |
Now it works again with 254.
I'm masking systemd-utils-255 on all my gentoo system for now... |
|
Back to top |
|
 |
sdauth l33t


Joined: 19 Sep 2018 Posts: 687 Location: Ásgarðr
|
Posted: Sat Feb 08, 2025 2:05 pm Post subject: |
|
|
I knew one day it would cause an issue... this is the day
I just remembered my make.conf have:
Code: | INSTALL_MASK="/etc/sysctl.d/
/etc/systemd/
/lib/systemd/
/usr/lib/sysctl.d/
/usr/lib/systemd/
/usr/lib64/systemd/
/run/systemd/
-/lib/systemd/systemd-udevd" |
So I removed /usr/lib/systemd/ & /usr/lib64/systemd/ lines from INSTALL_MASK and rebuilt sys-apps/systemd-utils-255.15-r1.
Now "libsystemd-shared-255.so" is correctly installed in /usr/lib64/systemd/ & /lib/systemd symlink now correctly reads /usr/lib/systemd (which reads systemd-udevd -> ../../bin/udevadm )
Consequently, systemd-utils-255.15-r1 starts fine now.
I feel dumb Hopefully it helps someone else.  |
|
Back to top |
|
 |
|