Bug 1263752 - pam_systemd times out when logging in an SSSD user for the first time
pam_systemd times out when logging in an SSSD user for the first time
Product: Fedora
Classification: Fedora
Component: systemd (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: systemd-maint
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-09-16 11:15 EDT by Stephen Gallagher
Modified: 2016-09-22 14:15 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-09-22 14:15:20 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Stephen Gallagher 2015-09-16 11:15:04 EDT
Description of problem:
The first time a new 

Version-Release number of selected component (if applicable):

How reproducible:
Every time

Steps to Reproduce:
1. Install a fresh copy of Fedora 23 Server
2. Join it to a FreeIPA domain[1]
3. Attempt to log in with a domain account via SSH

Actual results:
A long (25s) delay before logging in the first time. Subsequent logins are much faster.

Expected results:
No delay before logging in.

Additional info:
Sep 16 11:04:55 client1.rc1.beta.f23.lan systemd[1]: Starting Session 6 of user test2@rc1.beta.f23.lan.
Sep 16 11:04:55 client1.rc1.beta.f23.lan audit[26912]: USER_ACCT pid=26912 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_
Sep 16 11:04:56 client1.rc1.beta.f23.lan audit[707]: USER_AVC pid=707 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_db
                                                      exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'
Sep 16 11:05:20 client1.rc1.beta.f23.lan sshd[26896]: pam_systemd(sshd:session): Failed to create session: Connection timed out
Sep 16 11:05:20 client1.rc1.beta.f23.lan sshd[26896]: pam_unix(sshd:session): session opened for user test2@rc1.beta.f23.lan by (uid=0)

[1] https://fedoraproject.org/wiki/QA:Testcase_realmd_join_sssd
Comment 1 Stephen Gallagher 2016-09-22 14:15:20 EDT
As far as I can tell, this was fixed somewhere in the interrim.

Note You need to log in before you can comment on or make changes to this bug.