Translated message

A translation of this page exists in English.

RHEL8:为远程用户或带有远程主目录的本地用户启用 lingering 不会做任何事情

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content