The 25 sec delay still exists:

Jan 10 12:48:40 pc66 sshd[1438]: pam_unix(sshd:session): session opened for 
user erik by (uid=0)
Jan 10 12:48:40 pc66 systemd-logind[1400]: New session 8 of user erik.
Jan 10 12:49:05 pc66 sshd[1438]: pam_systemd(sshd:session): Failed to create 
session: Connection timed out

It disappears, if "session optional pam_systemd.so" is removed from pam.

When strace-ing the ssh daemon, you'll see, that a ppoll() waits on /var/run/dbus/system_bus_socket.

Kernel: 4.8.0-2-amd64 (4.8.15-2)
systemd: 232-8
dbus: 1.10.14-1

Reply via email to