You are not logged in.

#1 2014-03-11 13:14:21

Gregosky
Member
From: UK
Registered: 2013-07-26
Posts: 145

[closed] pam_unix(sshd:session) timeouts

Hi All,

After recent update I'm having some issues when connecting through ssh.

I'm seeing timeouts when trying to get to the server either through standard ssh client or through svn+ssh (with certificate).

When I connect through ssh client I get following log:

Mar 11 13:02:52 filesrepo sshd[22613]: Accepted password for SOMEUSER from xxx.xxx.xxx.xxx port xxxxx ssh2
Mar 11 13:02:52 filesrepo kernel: type=1006 audit(1394542972.617:123): pid=22613 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=122 res=1
Mar 11 13:02:52 filesrepo sshd[22613]: pam_unix(sshd:session): session opened for user SOMEUSER by (uid=0)
Mar 11 13:02:52 filesrepo dbus[421]: [system] Activating systemd to hand-off: service name='org.freedesktop.login1' unit='dbus-org.freedesktop.login1.service'
Mar 11 13:03:17 filesrepo sshd[22613]: pam_systemd(sshd:session): Failed to create session: Connection timed out
Mar 11 13:03:17 filesrepo dbus[421]: [system] Failed to activate service 'org.freedesktop.login1': timed out
Mar 11 13:03:17 filesrepo dbus[421]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out

Observation is that I need to wait this timeout before I'm able to log in to the system.

When trying to connect through svn+ssh I get following log (multiple times):

Mar 11 12:54:06 filesrepo sshd[22021]: Accepted publickey for SOMEUSER from xxx.xxx.xxx.xxx port xxxxx ssh2: RSA xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
Mar 11 12:54:06 filesrepo kernel: type=1006 audit(1394542446.943:117): pid=22021 uid=0 old auid=4294967295 new auid=1019 old ses=4294967295 new ses=116 res=1
Mar 11 12:54:06 filesrepo sshd[22021]: pam_unix(sshd:session): session opened for user SOMEUSER by (uid=0)
Mar 11 12:54:06 filesrepo dbus[421]: [system] Activating systemd to hand-off: service name='org.freedesktop.login1' unit='dbus-org.freedesktop.login1.service'
Mar 11 12:54:31 filesrepo sshd[22021]: pam_systemd(sshd:session): Failed to create session: Connection timed out
Mar 11 12:54:31 filesrepo dbus[421]: [system] Failed to activate service 'org.freedesktop.login1': timed out
Mar 11 12:54:31 filesrepo dbus[421]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Mar 11 12:54:32 filesrepo svnserve[22061]: DIGEST-MD5 common mech free
Mar 11 12:54:32 filesrepo sshd[22021]: pam_unix(sshd:session): session closed for user SOMEUSER

I have been noticing this for last few days but I thought systemd update should solve this (bug report was raised against systemd)

I updated system today (I have not given it a reboot yet) and I still see those logs.

I'm not sure if this can be connected to another issue I have noticed on the same machine - system.journald have been failing to start due to logs overload (so I have modified /etc/system/journal.conf and applied file size limits and then backed up and removed /var/log/journal)

Does anybody else have similar issue?

Many thanks,
Greg

Last edited by Gregosky (2014-03-11 15:31:19)

Offline

#2 2014-03-11 15:31:38

Gregosky
Member
From: UK
Registered: 2013-07-26
Posts: 145

Re: [closed] pam_unix(sshd:session) timeouts

Rebooting fixed this issue.

Offline

Board footer

Powered by FluxBB