#2092 Group lookup is not returned immediately after service startup
Closed: Fixed None Opened 6 years ago by jhrozek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1009901

Description of problem:
Group lookup is not returned immediately after sssd service startup

Version-Release number of selected component (if applicable):
sssd-1.11.0-1.el7

How reproducible:
Always

Steps to Reproduce:
1. Run the test with sleep of 1 second.

# service sssd stop; rm -f /var/lib/sss/{db,mc}/*;service sssd start;sleep
1;getent group kaugrp@sssdad2012.com
Redirecting to /bin/systemctl stop  sssd.service
Redirecting to /bin/systemctl start  sssd.service
kaugrp@sssdad2012.com:*:818410351:kautest@sssdad2012.com
#

2. Run the test without any delay

# service sssd stop; rm -f /var/lib/sss/{db,mc}/*;service sssd start;getent
group kaugrp@sssdad2012.com
Redirecting to /bin/systemctl stop  sssd.service
Redirecting to /bin/systemctl start  sssd.service
#

Actual results:


Expected results:


Additional info:

Pavel can you take a look at this bug, please?

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
owner: somebody => pbrezina
review: True => 0
selected: =>
testsupdated: => 0

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.11.2

Fields changed

status: new => assigned

Fields changed

priority: major => critical

This seems to be a race condition between obtaining master domain information and group request. It works fine when master domain information process is finished before group request occur and it fails otherwise.

Patch c2aeea3 makes the group resolution much more likely, but it does not fix the issue. It works about 98/100 attempts in my environment with this patch.

Fields changed

patch: 0 => 1

resolution: => fixed
status: assigned => closed

Fields changed

changelog: => N/A just a bugfix

Metadata Update from @jhrozek:
- Issue assigned to pbrezina
- Issue set to the milestone: SSSD 1.11.2

2 years ago

Login to comment on this ticket.

Metadata