First, from re-reading the bug description, it seems like you don't have
nis in your nsswitch.conf file? I'm not an expert in NIS config/usage,
but I think you need to add that, e.g. at *least*:

passwd: compat nis systemd

you might need to add it to group, shadow, and gshadow as well.

Second, does getent work? If not, that's most likely your problem; e.g.:

$ getent passwd 198083

Third, you could try setting up nscd if you haven't already, which may
help if your NIS lookups are slow.

Finally note that this upstream systemd bug appears to match your problem, and 
the conclusion there was the problem is either a local config issue or NIS bug:
https://github.com/systemd/systemd/issues/12702

** Bug watch added: github.com/systemd/systemd/issues #12702
   https://github.com/systemd/systemd/issues/12702

** Changed in: systemd (Ubuntu Focal)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1915502

Title:
  "systemd --user" fails to start for non-local users

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1915502/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to