FS#54394 - [gnupg] After upgrade to gnupg 2.1.21-2 pam_systemd can-t create a session and goes to timeout
Attached to Project:
Arch Linux
Opened by Stefano (masque) - Saturday, 10 June 2017, 01:51 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 10 June 2017, 17:44 GMT
Opened by Stefano (masque) - Saturday, 10 June 2017, 01:51 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 10 June 2017, 17:44 GMT
|
Details
Description:
After updating gnupg to 2.1.21-2 at next reboot it seems like there's some problem with user permissions. Login takes about 25 seconds to complete and in journalctl you could see an error login[427]: pam_systemd(login:session): Failed to create session: Connection timed out There are also issues starting X and rebooting/halting the system with non root user. I found that the problem is somehow related to the symlinks it creates during the upgrade: [2017-06-10 03:36] [ALPM-SCRIPTLET] Created symlink /etc/systemd/user/sockets.target.wants/dirmngr.socket → /usr/lib/systemd/user/dirmngr.socket. [2017-06-10 03:36] [ALPM-SCRIPTLET] Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent.socket → /usr/lib/systemd/user/gpg-agent.socket. [2017-06-10 03:36] [ALPM-SCRIPTLET] Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket → /usr/lib/systemd/user/gpg-agent-browser.socket. [2017-06-10 03:36] [ALPM-SCRIPTLET] Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket → /usr/lib/systemd/user/gpg-agent-extra.socket. [2017-06-10 03:36] [ALPM-SCRIPTLET] Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket → /usr/lib/systemd/user/gpg-agent-ssh.socket. Deleting these symlinks solves the issue. |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Saturday, 10 June 2017, 17:44 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#54396
Saturday, 10 June 2017, 17:44 GMT
Reason for closing: Duplicate
Additional comments about closing: