Even after enabling some services, they don't automatically start at system reboots when /usr is separated filesystem.
Issue
- Some
systemdservice units don't automatically start aftersystemctl enable foobar.service -
The service units are listed as
not-foundin thesystemctl list-units --alllist# systemctl enable foobar.service Created symlink /etc/systemd/system/multi-user.target.wants/foobar.service → /usr/lib/systemd/system/foobar.service. # reboot [...] # systemctl list-units --all UNIT LOAD ACTIVE SUB DESCRIPTION [...] ● foobar.service not-found inactive dead FooBar service [...]
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
- systemd
- dracut
/usris a separate filesystem from the root (/) filesystem and is on theLVMlogical partition
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.