View previous topic :: View next topic |
Author |
Message |
vyedmic n00b
Joined: 02 Dec 2010 Posts: 40
|
Posted: Fri Jun 21, 2024 9:24 pm Post subject: [SOLVED] systemctl can't see unit files /lib/systemd/system |
|
|
Hello,
After recent upgrade to sys-apps/systemd-255.7, the unit files in /lib/systemd/system are not visible using systemctl
Code: | # systemctl status sshd
Unit sshd.service could not be found. |
I don't know the intricacies of systemd that well, can you please point me in the right direction? Thanks
Last edited by vyedmic on Sat Jun 22, 2024 10:04 pm; edited 1 time in total |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1685 Location: South America
|
Posted: Sat Jun 22, 2024 12:42 am Post subject: |
|
|
Not sure if this is your problem, but recent versions of systemd (I don't remember the oldest one that started doing this) no longer support nonmerged /usr filesystems. On a merged /usr filesystem, /lib is a symbolic link to /usr/lib, so there's no longer a real /lib/systemd directory, and all unit files would be in /usr/lib/systemd.
Are you still on a nonmerged /usr filesystem? _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
vyedmic n00b
Joined: 02 Dec 2010 Posts: 40
|
Posted: Sat Jun 22, 2024 10:03 pm Post subject: |
|
|
GDH-gentoo wrote: | Not sure if this is your problem, but recent versions of systemd (I don't remember the oldest one that started doing this) no longer support nonmerged /usr filesystems. On a merged /usr filesystem, /lib is a symbolic link to /usr/lib, so there's no longer a real /lib/systemd directory, and all unit files would be in /usr/lib/systemd.
Are you still on a nonmerged /usr filesystem? |
That was it, thank you! I had merge-usr script already, must have forgotten to run it. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|