Bug 1695575

Summary: sssd service is starting before network service
Product: Red Hat Enterprise Linux 8 Reporter: Jakub Hrozek <jhrozek>
Component: sssdAssignee: Tomas Halman <thalman>
Status: CLOSED ERRATA QA Contact: sssd-qe <sssd-qe>
Severity: high Docs Contact:
Priority: high    
Version: 8.1CC: apeddire, atolani, auebergang, cobrown, geoff.kingsmill, grajaiya, hartsjc, ict_usa, james-p, jhrozek, jstephen, kludhwan, lslebodn, mkosek, mzidek, pbrezina, rvdwees, sali, sgadekar, sgoveas, sssd-maint, tscherf, vmishra
Target Milestone: rc   
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: sync-to-jira
Fixed In Version: sssd-2.2.0-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1406678 Environment:
Last Closed: 2019-11-05 22:34:23 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: 1406678    
Bug Blocks: 1420851, 1472344, 1594286, 1647919    

Comment 2 shridhar 2019-09-09 10:33:31 UTC
Verified with 
sssd-2.2.0-18.el8.x86_64
sssd-dbus-2.2.0-18.el8.x86_64

[root@vm-idm-004 ~]# cat /etc/sssd/sssd.conf 

[sssd]
config_file_version = 2
services = nss, pam
domains = LDAP

[nss]
filter_groups = root
filter_users = root

[domain/LDAP]
debug_level=0xFFF0
id_provider = ldap
ldap_uri = ldap://vm-idm-002.lab.eng.pnq.redhat.com
ldap_search_base = dc=example,dc=com
ldap_tls_cacert = /etc/openldap/certs/cacert.asc
enumerate = true




[root@vm-idm-004 ~]# cat test.sh 
#!/bin/bash
echo "Stopping dir srv on ldap-server"
ssh vm-idm-002.lab.eng.pnq.redhat.com systemctl stop dirsrv 
echo "Updating sssd service with SIGUSR1"
kill -10 `pidof sssd`
echo "sssctl domain-status LDAP"
sssctl domain-status LDAP
sleep 1s
touch /etc/resolv.conf
sleep 3s
echo "Starting dir srv on ldap-server"
ssh vm-idm-002.lab.eng.pnq.redhat.com systemctl start  dirsrv
sleep 6s
sssctl domain-status LDAP
[root@vm-idm-004 ~]# 




[root@vm-idm-004 ~]# sh test.sh 
Stopping dir srv on ldap-server
Updating sssd service with SIGUSR1
sssctl domain-status LDAP
Online status: Offline

Active servers:
LDAP: vm-idm-002.lab.eng.pnq.redhat.com

Discovered LDAP servers:
- vm-idm-002.lab.eng.pnq.redhat.com

Starting dir srv on ldap-server
Online status: Online

Active servers:
LDAP: vm-idm-002.lab.eng.pnq.redhat.com

Discovered LDAP servers:
- vm-idm-002.lab.eng.pnq.redhat.com

Comment 4 errata-xmlrpc 2019-11-05 22:34:23 UTC
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, 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/RHSA-2019:3651