Intermittent test failures on the devel branch: fails to login "Failed to fully start up daemon: Permission denied"
Keeping track of regressions brought by tracking systemd/stretch-backports:
Dec 03 11:36:29 amnesia gdm-password][4026]: pam_unix(gdm-password:session): session opened for user amnesia by (uid=0)
Dec 03 11:36:29 amnesia systemd[1]: Stopped /run/user/0 mount wrapper.
Dec 03 11:36:29 amnesia systemd[1]: Started /run/user/1000 mount wrapper.
Dec 03 11:36:29 amnesia systemd[1]: Created slice User Slice of UID 1000.
Dec 03 11:36:29 amnesia systemd[1]: Starting User Manager for UID 1000...
Dec 03 11:36:29 amnesia systemd-logind[1331]: New session 5 of user amnesia.
Dec 03 11:36:29 amnesia systemd[1]: Started Session 5 of user amnesia.
Dec 03 11:36:29 amnesia systemd[4040]: pam_unix(systemd-user:session): session opened for user amnesia by (uid=0)
Dec 03 11:36:29 amnesia systemd[4040]: Failed to fully start up daemon: Permission denied
Dec 03 11:36:29 amnesia systemd[4041]: pam_unix(systemd-user:session): session closed for user amnesia
Dec 03 11:36:29 amnesia systemd[1]: user@1000.service: Failed with result 'protocol'.
Dec 03 11:36:29 amnesia systemd[1]: Failed to start User Manager for UID 1000.
Dec 03 11:36:29 amnesia systemd[1]: user-runtime-dir@1000.service: Unit not needed anymore. Stopping.
Dec 03 11:36:29 amnesia systemd[1]: Stopping /run/user/1000 mount wrapper...
Dec 03 11:36:29 amnesia gdm-password][4026]: pam_systemd(gdm-password:session): Failed to create session: Start job for unit user@1000.service failed with 'failed'
Dec 03 11:36:29 amnesia gdm-session-worker[4026]: Entering PostLogin
This looks like a systemd bug:
- https://github.com/systemd/systemd/issues/9461
- https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1805358
It happens only rarely, is unlikely to affect human users, and is probably fixed in systemd v240. So for now, let’s ignore this and if it gets too painful, upgrade to systemd v240.
Feature Branch: bugfix/16352-16184-systemd-v240+force-all-tests
Related issues
- Related to #16100 (closed)
- Related to #16352 (closed)
- Blocks #15507 (closed)
Original created by @intrigeri on 16184 (Redmine)