The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » [SOLVED] Slow ssh pam_elogind(sshd:session): Failed to create session » 2022-10-11 07:10:26

Yes,

 /etc/init.d/elogind restart 

fixed it!

Thank you very much and thank you for the reference.

#2 Hardware & System Configuration » [SOLVED] Slow ssh pam_elogind(sshd:session): Failed to create session » 2022-10-11 05:04:03

emmanuel
Replies: 2

I have been having a problem with ssh since a recent update: ssh connection takes very long to initiate, stuck at "pledge: exec".

Running Chimaera, openssh-server 1:8.4p1-5+d, dbus 1.12.24-0+d.

I think this is an issue related to dbus or pam_elogind. I have the following error in /var/log/auth.log

dbus-daemon[31600]: [system] Failed to activate service 'org.freedesktop.login1': timed out (service_start_timeout=25000ms)

sshd[583]: pam_elogind(sshd:session): Failed to create session: Failed to activate service 'org.freedesktop.login1': timed out (service_start_timeout=25000ms)

I do not know how to investigate this problem further.

Board footer

Forum Software