#1739 sssd is not serving large automount maps reliably
Closed: Fixed None Opened 6 years ago by dpal.

https://bugzilla.redhat.com/show_bug.cgi?id=891281 (Red Hat Enterprise Linux 6)

Description of problem:
When using sssd to serve maps for automounter it sometimes happen that certain
maps are not 'seen'. I observe this behavior with large maps (~100 keys):
[root@logind yum.repos.d]# automount -m | grep 'orlaj'
[root@logind yum.repos.d]# automount -m | grep 'orlaj'
[root@logind yum.repos.d]# automount -m | grep 'orlaj'
  orlaj | belfast:/vol/users/users/&

But the requested key is in the cache:

[root@logind yum.repos.d]# ldb3search -H /var/lib/sss/db/cache_default.ldb -b
cn=autofsmaps,cn=custom,cn=default,cn=sysdb | grep orl
no symbol `init_samba_module' found in /usr/lib64/ldb/memberof.so:
/usr/lib64/ldb/memberof.so: undefined symbol: init_samba_module
WARNING: Module [memberof] not found
asq: Unable to register control with rootdse!
dn: name=orlajbelfast:/vol/users/users/&,name=auto.home,cn=autofsmaps,cn=custom
,cn=default,cn=sysdb
automountKey: orlaj
name: orlajbelfast:/vol/users/users/&
distinguishedName: name=orlajbelfast:/vol/users/users/&,name=auto.home,cn=auto

Version-Release number of selected component (if applicable):
sssd-1.9.2-6.upstream_1_9_3.el6_3.x86_64

How reproducible:
run 'automount -m' command a couple of times and look for missing keys.
Quite easily reproducible.

Steps to Reproduce:
1. configure sssd&autofs to serve maps for automounter
2. run 'automount -m' a couple of times
3.

Actual results:
output of the command 'automount -m' is not consistent

Expected results:
'automount -m' should always return the same result

Fields changed

blockedby: =>
blocking: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
milestone: NEEDS_TRIAGE => SSSD 1.9.5
selected: =>
testsupdated: => 0

Fields changed

owner: somebody => pbrezina

Fields changed

patch: 0 => 1

resolution: => fixed
status: new => closed

Metadata Update from @dpal:
- Issue assigned to pbrezina
- Issue set to the milestone: SSSD 1.9.5

2 years ago

Login to comment on this ticket.

Metadata