The officially official Devuan Forum!

You are not logged in.

#1 2022-10-11 05:04:03

emmanuel
Member
Registered: 2022-10-10
Posts: 2  

[SOLVED] Slow ssh pam_elogind(sshd:session): Failed to create session

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.

Offline

#2 2022-10-11 06:41:45

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Slow ssh pam_elogind(sshd:session): Failed to create session

Does this help:

# service elogind restart

Reference: https://bugs.debian.org/cgi-bin/bugrepo … bug=770135

Last edited by Head_on_a_Stick (2022-10-11 06:42:10)


Brianna Ghey — Rest In Power

Offline

#3 2022-10-11 07:10:26

emmanuel
Member
Registered: 2022-10-10
Posts: 2  

Re: [SOLVED] Slow ssh pam_elogind(sshd:session): Failed to create session

Yes,

 /etc/init.d/elogind restart 

fixed it!

Thank you very much and thank you for the reference.

Offline

Board footer