RHEL8:为远程用户或带有远程主目录的本地用户启用 lingering 不会做任何事情
Issue
-
为用户启用 lingering 并重启后,用户的服务不会自动执行,
systemd --user实例显示根本没有任何服务myuser$ systemctl --user status test No files found for test.service. -
用户需要重新载入
systemd --user实例才能看到服务myuser$ systemctl --user daemon-reload myuser$ systemctl --user status test ○ test.service [...]
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.