[systemd-devel] Intermittent failure of user@<uid>.service

Johannes Ernst johannes.ernst at gmail.com
Sat Aug 11 03:58:04 UTC 2018


This is Arch. I boot the system, and ssh in as user “shepherd”. Something goes wrong, but from the log (below) I cannot tell what it is. I do get a shell and everything seems to work fine. If I terminate ssh and re-log in, everything is fine.

This happens often enough I’m wondering … ideas?

Cheers,


Johannes.


Aug 11 03:52:38 ubosbox sshd[1263]: Accepted publickey for shepherd from 192.168.138.43 port 55537 ssh2: RSA SHA256:XCCJJyl2rx5wgyP0Blqm3qW2s6ImZGPZA9fI4ofOe+8
Aug 11 03:52:38 ubosbox sshd[1263]: pam_unix(sshd:session): session opened for user shepherd by (uid=0)
Aug 11 03:52:38 ubosbox systemd[1]: Created slice User Slice of UID 979.
Aug 11 03:52:38 ubosbox systemd[1266]: pam_unix(systemd-user:session): session opened for user shepherd by (uid=0)
Aug 11 03:52:38 ubosbox systemd[1]: Created slice system-user\x2druntime\x2ddir.slice.
Aug 11 03:52:38 ubosbox systemd[1267]: pam_unix(systemd-user:session): session closed for user shepherd
Aug 11 03:52:38 ubosbox systemd[1]: Started /run/user/979 mount wrapper.
Aug 11 03:52:38 ubosbox systemd[1]: Starting User Manager for UID 979...
Aug 11 03:52:38 ubosbox systemd-logind[345]: New session c1 of user shepherd.
Aug 11 03:52:38 ubosbox systemd[1]: Started Session c1 of user shepherd.
Aug 11 03:52:38 ubosbox systemd[1266]: Failed to fully start up daemon: Permission denied
Aug 11 03:52:38 ubosbox systemd[1]: user at 979.service: Failed with result 'protocol'.
Aug 11 03:52:38 ubosbox systemd[1]: Failed to start User Manager for UID 979.
Aug 11 03:52:38 ubosbox systemd[1]: user-runtime-dir at 979.service: Unit not needed anymore. Stopping.
Aug 11 03:52:38 ubosbox sshd[1263]: pam_systemd(sshd:session): Failed to create session: Start job for unit user at 979.service failed with 'failed'
Aug 11 03:52:38 ubosbox systemd[1]: Stopping /run/user/979 mount wrapper...
Aug 11 03:52:38 ubosbox systemd[1]: Stopped /run/user/979 mount wrapper.



More information about the systemd-devel mailing list