SSH login delayed by 25 seconds with pam_systemd(sshd:session): Failed to create session: Connection timed out #30348
On NixOS 17.09 machines, initial SSH connections after boot are delayed for exactly 25 seconds.
I think this is a regression from 17.03, I didn't observe it there.
The error here is
This issue has been observed in Debian in two places but results were inconclusive:
And a systemd bug report that also doesn't really suggest what to do:
There is some talk about dbus in it though, and I noticed that on my machines:
Note that dbus is
I've already tried
Steps to reproduce
Edit: Using dbus
The train of thought is the following:
But I'm not very sure about it.
perhaps different, but very similar bug:
25 seconds delay and
reproducible on current (2018-04-05) master and probably on release-18.03