Bug 2012263
Summary: | pam responder does not call initgroups to refresh the user entry | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Steeve Goveas <sgoveas> | |
Component: | sssd | Assignee: | Pavel Březina <pbrezina> | |
Status: | CLOSED ERRATA | QA Contact: | Steeve Goveas <sgoveas> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 8.5 | CC: | aboscatt, atikhono, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, sbose, tscherf | |
Target Milestone: | rc | Keywords: | Regression, Triaged, ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | sync-to-jira | |||
Fixed In Version: | sssd-2.6.2-1.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2028828 (view as bug list) | Environment: | ||
Last Closed: | 2022-05-10 15:26:45 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2028828 |
Description
Steeve Goveas
2021-10-08 17:07:55 UTC
Hi, the issue happens because in newer releases systemd-logind set UserStopDelaySec to 10s be default. As a result the systemd user manager process keep running for 10s after the user has logged out. This collides with the 'no_session' used by SSSD, since now there is still a process running under the UID of the user an refresh of the user including the group memberships and other data is not done and the changed LDAP data is not read. Using 'pam_initgroups_scheme = always' is a workaround, another workaround would be to set 'UserStopDelaySec=0' in /etc/systemd/logind.conf or other suitable place. The SSSD code which checks if there are still processes of the user running should be update to ignore the systemd user manager processes. One way would be to call readlink() on /proc/PID/exe and check if the destination is '/usr/lib/systemd/systemd' or '/usr/lib/systemd/systemd (deleted)' in case systemd was updated while the user session was still active. It might be possible to determine at least the directory ('/usr/lib/systemd') at configure or runtime with systemd_util_dir pkgconfig option or sd_path_lookup() and SD_PATH_SYSTEMD_UTIL. But it should be checked with systemd developers if it is expected that the 'systemd' binary will always be in this directory. bye, Sumit Steeve, can you please confirm that setting 'UserStopDelaySec=0' in /etc/systemd/logind.conf solves the issue as Sumit suggested? (In reply to Pavel Březina from comment #2) > Steeve, can you please confirm that setting 'UserStopDelaySec=0' in > /etc/systemd/logind.conf solves the issue as Sumit suggested? JFTR: I would use "works around", not "solves". Confirmed both workarounds work :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Granting user2 to ftp service with pam_initgroups_schema = always :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: modifying entry "uid=svcuser10002,ou=users,dc=example,dc=com" modifying entry "uid=svcuser10002,ou=users,dc=example,dc=com" modifying entry "uid=svcuser10002,ou=users,dc=example,dc=com" -e\n\n======== cat sssd.conf ============\n\n [sssd] config_file_version = 2 sbus_timeout = 30 services = nss, pam domains = LDAP debug_level = 0xFFF0 [nss] filter_groups = root filter_users = root debug_level = 0xFFF0 [pam] pam_initgroups_scheme = always debug_level = 0xFFF0 [domain/LDAP] id_provider = ldap ldap_uri = ldaps://ci-vm-10-0-154-58.hosted.upshift.rdu2.redhat.com ldap_search_base = dc=example,dc=com ldap_tls_cacert = /etc/openldap/certs/cacert.asc debug_level = 0xFFF0 access_provider = ldap ldap_access_order = authorized_service ldap_user_authorized_service = authorizedService *** Current Time: Wed Nov 24 11:15:22 2021 Localwatchdog at: Thu Nov 25 11:13:22 2021 *** Current Time: Wed Nov 24 11:15:37 2021 Localwatchdog at: Thu Nov 25 11:13:37 2021 drwx------. 2 svcuser10001 svcuser10001 62 Nov 24 11:14 /home/svcuser10001 :: [ 11:15:46 ] :: [ BEGIN ] :: Initial login to create home directories :: actually running 'auth_success svcuser10002 Secret123' spawn ssh -q -l svcuser10002 localhost echo 'login successful' svcuser10002@localhost's password: login successful :: [ 11:15:47 ] :: [ PASS ] :: Initial login to create home directories (Expected 0, got 0) drwx------. 2 svcuser10001 svcuser10001 62 Nov 24 11:14 /home/svcuser10001 drwx------. 2 svcuser10002 svcuser10002 62 Nov 24 11:15 /home/svcuser10002 modifying entry "uid=svcuser10002,ou=users,dc=example,dc=com" modifying entry "uid=svcuser10002,ou=users,dc=example,dc=com" :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'loginctl' SESSION UID USER SEAT TTY 4 0 root 1 sessions listed. :: [ 11:15:52 ] :: [ PASS ] :: Command 'loginctl' (Expected 0, got 0) :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'ftp_auth_success svcuser10002 Secret123' 230 Login successful. :: [ 11:15:52 ] :: [ PASS ] :: Authentication successful, as expected :: [ 11:15:52 ] :: [ PASS ] :: Command 'ftp_auth_success svcuser10002 Secret123' (Expected 0, got 0) :: [ 11:15:52 ] :: [ PASS ] :: File '/tmp/ftplog' should contain 'Login successful.' Trying ::1... Connected to localhost (::1). 220 (vsFTPd 3.0.3) 331 Please specify the password. 230 Login successful. 221 Goodbye. :: [ 11:15:57 ] :: [ BEGIN ] :: Running 'grep sdap_attrs_add_ldap_attr /var/log/sssd/sssd_LDAP.log' (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] Adding original mod-Timestamp [20211124161548Z] to attributes of [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowLastChange is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowMin is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowMax is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowWarning is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowInactive is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowExpire is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowFlag is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] krbLastPwdChange is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] krbPasswordExpiration is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] pwdAttribute is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] Adding authorizedService [vsftpd] to attributes of [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] Adding authorizedService [systemd-user] to attributes of [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] adAccountExpires is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] adUserAccountControl is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] nsAccountLock is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] authorizedHost is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] authorizedRHost is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] ndsLoginDisabled is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] ndsLoginExpirationTime is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] ndsLoginAllowedTimeMap is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] sshPublicKey is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] authType is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] userCertificate is not available for [svcuser10002@ldap]. (2021-11-24 11:15:52): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] mail is not available for [svcuser10002@ldap]. :: [ 11:15:57 ] :: [ PASS ] :: Command 'grep sdap_attrs_add_ldap_attr /var/log/sssd/sssd_LDAP.log' (Expected 0, got 0) :: [ 11:15:57 ] :: [ PASS ] :: File '/var/log/secure' should contain 'pam_sss(vsftpd:auth): authentication success' :: [ 11:15:57 ] :: [ BEGIN ] :: Running 'cat /var/log/secure' Nov 24 11:15:47 hostname2 sshd[30949]: pam_unix(sshd:session): session closed for user svcuser10002 Nov 24 11:15:52 hostname2 vsftpd[31031]: pam_sss(vsftpd:auth): authentication success; logname= uid=0 euid=0 tty=ftp ruser=svcuser10002 rhost=localhost user=svcuser10002 Nov 24 11:15:52 hostname2 vsftpd[31031]: pam_unix(vsftpd:session): session opened for user svcuser10002 by (uid=0) Nov 24 11:15:52 hostname2 vsftpd[31031]: pam_unix(vsftpd:session): session closed for user svcuser10002 :: [ 11:15:57 ] :: [ PASS ] :: Command 'cat /var/log/secure' (Expected 0, got 0) :: [ 11:15:57 ] :: [ PASS ] :: File '/var/log/sssd/sssd_LDAP.log' should contain 'Access granted for \[vsftpd\]' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 41s :: Assertions: 9 good, 0 bad :: RESULT: PASS (Granting user2 to ftp service with pam_initgroups_schema = always) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Granting user2 to ftp service with UserStopDelaySec=0 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: modifying entry "uid=svcuser10002,ou=users,dc=example,dc=com" modifying entry "uid=svcuser10002,ou=users,dc=example,dc=com" -e\n\n======== cat /etc/systemd/logind.conf ============\n\n # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # # Entries in this file show the compile time defaults. # You can change settings by editing this file. # Defaults can be restored by simply deleting this file. # # See logind.conf(5) for details. [Login] UserStopDelaySec = 0 #NAutoVTs=6 #ReserveVT=6 #KillUserProcesses=no #KillOnlyUsers= #KillExcludeUsers=root #InhibitDelayMaxSec=5 #HandlePowerKey=poweroff #HandleSuspendKey=suspend #HandleHibernateKey=hibernate #HandleLidSwitch=suspend #HandleLidSwitchExternalPower=suspend #HandleLidSwitchDocked=ignore #PowerKeyIgnoreInhibited=no #SuspendKeyIgnoreInhibited=no #HibernateKeyIgnoreInhibited=no #LidSwitchIgnoreInhibited=yes #HoldoffTimeoutSec=30s #IdleAction=ignore #IdleActionSec=30min #RuntimeDirectorySize=10% #RemoveIPC=no #InhibitorsMax=8192 #SessionsMax=8192 -e\n\n======== cat sssd.conf ============\n\n [sssd] config_file_version = 2 sbus_timeout = 30 services = nss, pam domains = LDAP debug_level = 0xFFF0 [nss] filter_groups = root filter_users = root debug_level = 0xFFF0 [pam] debug_level = 0xFFF0 [domain/LDAP] id_provider = ldap ldap_uri = ldaps://ci-vm-10-0-154-58.hosted.upshift.rdu2.redhat.com ldap_search_base = dc=example,dc=com ldap_tls_cacert = /etc/openldap/certs/cacert.asc debug_level = 0xFFF0 access_provider = ldap ldap_access_order = authorized_service ldap_user_authorized_service = authorizedService :: [ 11:16:03 ] :: [ BEGIN ] :: Running 'loginctl show-session| grep UserStopDelay' UserStopDelayUSec=10s :: [ 11:16:03 ] :: [ PASS ] :: Command 'loginctl show-session| grep UserStopDelay' (Expected 0, got 0) :: [ 11:16:03 ] :: [ BEGIN ] :: Running 'systemctl restart systemd-logind' :: [ 11:16:03 ] :: [ PASS ] :: Command 'systemctl restart systemd-logind' (Expected 0, got 0) :: [ 11:16:03 ] :: [ BEGIN ] :: Running 'loginctl show-session| grep UserStopDelay' UserStopDelayUSec=0 :: [ 11:16:03 ] :: [ PASS ] :: Command 'loginctl show-session| grep UserStopDelay' (Expected 0, got 0) *** Current Time: Wed Nov 24 11:16:22 2021 Localwatchdog at: Thu Nov 25 11:13:22 2021 drwx------. 2 svcuser10001 svcuser10001 62 Nov 24 11:14 /home/svcuser10001 drwx------. 2 svcuser10002 svcuser10002 62 Nov 24 11:15 /home/svcuser10002 :: [ 11:16:28 ] :: [ BEGIN ] :: Initial login to create home directories :: actually running 'auth_success svcuser10002 Secret123' spawn ssh -q -l svcuser10002 localhost echo 'login successful' svcuser10002@localhost's password: login successful :: [ 11:16:29 ] :: [ PASS ] :: Initial login to create home directories (Expected 0, got 0) drwx------. 2 svcuser10001 svcuser10001 62 Nov 24 11:14 /home/svcuser10001 drwx------. 2 svcuser10002 svcuser10002 62 Nov 24 11:15 /home/svcuser10002 modifying entry "uid=svcuser10002,ou=users,dc=example,dc=com" modifying entry "uid=svcuser10002,ou=users,dc=example,dc=com" :: [ 11:16:34 ] :: [ BEGIN ] :: Running 'loginctl' SESSION UID USER SEAT TTY 4 0 root 1 sessions listed. :: [ 11:16:34 ] :: [ PASS ] :: Command 'loginctl' (Expected 0, got 0) :: [ 11:16:34 ] :: [ BEGIN ] :: Running 'ftp_auth_success svcuser10002 Secret123' 230 Login successful. :: [ 11:16:34 ] :: [ PASS ] :: Authentication successful, as expected :: [ 11:16:34 ] :: [ PASS ] :: Command 'ftp_auth_success svcuser10002 Secret123' (Expected 0, got 0) :: [ 11:16:34 ] :: [ PASS ] :: File '/tmp/ftplog' should contain 'Login successful.' Trying ::1... Connected to localhost (::1). 220 (vsFTPd 3.0.3) 331 Please specify the password. 230 Login successful. 221 Goodbye. :: [ 11:16:34 ] :: [ BEGIN ] :: Running 'grep sdap_attrs_add_ldap_attr /var/log/sssd/sssd_LDAP.log' (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] Adding original mod-Timestamp [20211124161630Z] to attributes of [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowLastChange is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowMin is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowMax is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowWarning is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowInactive is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowExpire is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] shadowFlag is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] krbLastPwdChange is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] krbPasswordExpiration is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] pwdAttribute is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] Adding authorizedService [vsftpd] to attributes of [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] Adding authorizedService [systemd-user] to attributes of [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] adAccountExpires is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] adUserAccountControl is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] nsAccountLock is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] authorizedHost is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] authorizedRHost is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] ndsLoginDisabled is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] ndsLoginExpirationTime is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] ndsLoginAllowedTimeMap is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] sshPublicKey is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] authType is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] userCertificate is not available for [svcuser10002@ldap]. (2021-11-24 11:16:34): [be[LDAP]] [sdap_attrs_add_ldap_attr] (0x2000): [RID#16] mail is not available for [svcuser10002@ldap]. :: [ 11:16:34 ] :: [ PASS ] :: Command 'grep sdap_attrs_add_ldap_attr /var/log/sssd/sssd_LDAP.log' (Expected 0, got 0) *** Current Time: Wed Nov 24 11:16:37 2021 Localwatchdog at: Thu Nov 25 11:13:37 2021 :: [ 11:16:39 ] :: [ PASS ] :: File '/var/log/secure' should contain 'pam_sss(vsftpd:auth): authentication success' :: [ 11:16:39 ] :: [ BEGIN ] :: Running 'cat /var/log/secure' Nov 24 11:16:29 hostname2 sshd[31442]: pam_sss(sshd:auth): authentication success; logname= uid=0 euid=0 tty=ssh ruser= rhost=::1 user=svcuser10002 Nov 24 11:16:29 hostname2 sshd[31442]: Accepted password for svcuser10002 from ::1 port 52056 ssh2 Nov 24 11:16:29 hostname2 systemd[31446]: pam_unix(systemd-user:session): session opened for user svcuser10002 by (uid=0) Nov 24 11:16:29 hostname2 sshd[31442]: pam_unix(sshd:session): session opened for user svcuser10002 by (uid=0) Nov 24 11:16:29 hostname2 sshd[31454]: Received disconnect from ::1 port 52056:11: disconnected by user Nov 24 11:16:29 hostname2 sshd[31454]: Disconnected from user svcuser10002 ::1 port 52056 Nov 24 11:16:29 hostname2 sshd[31442]: pam_unix(sshd:session): session closed for user svcuser10002 Nov 24 11:16:29 hostname2 systemd[31448]: pam_unix(systemd-user:session): session closed for user svcuser10002 Nov 24 11:16:34 hostname2 vsftpd[31532]: pam_sss(vsftpd:auth): authentication success; logname= uid=0 euid=0 tty=ftp ruser=svcuser10002 rhost=localhost user=svcuser10002 Nov 24 11:16:34 hostname2 systemd[31537]: pam_unix(systemd-user:session): session opened for user svcuser10002 by (uid=0) Nov 24 11:16:34 hostname2 vsftpd[31532]: pam_unix(vsftpd:session): session opened for user svcuser10002 by (uid=0) Nov 24 11:16:34 hostname2 vsftpd[31532]: pam_unix(vsftpd:session): session closed for user svcuser10002 Nov 24 11:16:34 hostname2 systemd[31538]: pam_unix(systemd-user:session): session closed for user svcuser10002 :: [ 11:16:39 ] :: [ PASS ] :: Command 'cat /var/log/secure' (Expected 0, got 0) :: [ 11:16:39 ] :: [ PASS ] :: File '/var/log/sssd/sssd_LDAP.log' should contain 'Access granted for \[vsftpd\]' :: [ 11:16:39 ] :: [ BEGIN ] :: Running 'systemctl daemon-reload' :: [ 11:16:40 ] :: [ PASS ] :: Command 'systemctl daemon-reload' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 43s :: Assertions: 15 good, 0 bad Upstream ticket: https://github.com/SSSD/sssd/issues/5900 Upstream PR: https://github.com/SSSD/sssd/pull/5901 Pushed PR: https://github.com/SSSD/sssd/pull/5901 * `master` * a56b8d1aaf030fea196b65545dfe207ea10bdf50 - utils: ignore systemd and sd-pam process in get_active_uid_linux() Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (sssd bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:2070 |