Slightly odd behaviour with systemd version 245.4-4ubuntu3.6.  In
/etc/systemd/system/systemd-logind.service.d/override.conf I have:

[Service]
RestrictAddressFamilies=AF_INET
IPAddressAllow=any


On a cold boot I don't get the user session started:
amcvey@ottub2004tst01:~$ systemctl --user
Failed to connect to bus: No such file or directory

But switching to root, running 'systemctl daemon-reload; systemctl
restart systemd-logind' and then logging in again as a user account
seems to work.  I didn't make any changes to the config files, just
restart the systemd components.

If I then add ProtectHostname=no and reboot it seems to allow it to boot
from cold without having to run systemctl daemon-reload; systemctl
restart systemd-logind again.

-- 
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