RHEL8: Enabling lingering for remote users or local users with a remote home directory doesn't do anything

Solution Verified - Updated -

Issue

  • After enabling lingering for a user and rebooting, the user's services are not executing automatically and systemd --user instance shows no service at all

    myuser$ systemctl --user status test
    No files found for test.service.
    
  • The user needs to reload the systemd --user instance for services to be seen

    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