Bug 1873715 - automount sssd issue when 2 automount maps have the same key (one un uppercase, one in lowercase)
Summary: automount sssd issue when 2 automount maps have the same key (one un uppercas...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.2
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Pavel Březina
QA Contact: Anuj Borah
URL:
Whiteboard: sync-to-jira
Depends On: 1881992
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-29 14:04 UTC by Renaud Marigny
Modified: 2021-05-18 15:04 UTC (History)
12 users (show)

Fixed In Version: sssd-2.4.0-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:03:57 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 5330 0 None closed automount sssd issue when 2 automount maps have the same key (one un uppercase, one in lowercase) 2021-02-09 03:40:13 UTC
Github SSSD sssd pull 5619 0 None open Tests: automount sssd issue when 2 automount maps have the same key 2021-05-04 06:21:27 UTC

Comment 10 Pavel Březina 2020-09-23 09:52:57 UTC
Upstream ticket:
https://github.com/SSSD/sssd/issues/5330

Comment 11 Pavel Březina 2020-09-23 10:08:48 UTC
Upstream PR:
https://github.com/SSSD/sssd/issues/5330

Comment 14 Pavel Březina 2020-10-06 09:56:03 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5331

* `master`
    * 93e35c760d06dfc1106379ca4d8e9f190c295b27 - autofs: if more then one entry is found store all of them

Comment 19 Anuj Borah 2020-11-23 15:56:20 UTC
With Unfixed sssd-client-2.3.0-9.el8.x86_64:

[root@ci-vm-10-0-138-251 sssd]# systemctl stop sssd ; rm -rf /var/log/sssd/* ; rm -rf /var/lib/sss/db/* ; systemctl start sssd
[root@ci-vm-10-0-138-251 sssd]# systemctl restart autofs
[root@ci-vm-10-0-138-251 sssd]# ls /
bin  boot  dev  direct-mnt  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
[root@ci-vm-10-0-138-251 sssd]# ls /direct-mnt
expoer_here
[root@ci-vm-10-0-138-251 sssd]# ls /home/MIT
expoer_here
[root@ci-vm-10-0-138-251 sssd]# ls /home/mit
ls: cannot access '/home/mit': No such file or directory
[root@ci-vm-10-0-138-251 sssd]# rpm -qa | grep sssd
sssd-client-2.3.0-9.el8.x86_64
sssd-nfs-idmap-2.3.0-9.el8.x86_64
python3-sssdconfig-2.3.0-9.el8.noarch
sssd-common-2.3.0-9.el8.x86_64
sssd-kcm-2.3.0-9.el8.x86_64
sssd-krb5-2.3.0-9.el8.x86_64
sssd-proxy-2.3.0-9.el8.x86_64
sssd-ipa-2.3.0-9.el8.x86_64
sssd-2.3.0-9.el8.x86_64
sssd-krb5-common-2.3.0-9.el8.x86_64
sssd-ldap-2.3.0-9.el8.x86_64
sssd-common-pac-2.3.0-9.el8.x86_64
sssd-ad-2.3.0-9.el8.x86_64
=====================================================

With Fixed Version:

[root@ci-vm-10-0-136-136 sssd]# systemctl stop sssd ; rm -rf /var/log/sssd/* ; rm -rf /var/lib/sss/db/* ; systemctl start sssd
[root@ci-vm-10-0-136-136 sssd]# systemctl restart autofs
[root@ci-vm-10-0-136-136 sssd]# ls /
bin  boot  dev  direct-mnt  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
[root@ci-vm-10-0-136-136 sssd]# automount -m 

autofs dump map information
===========================

global options: none configured

Mount point: /home

source(s):

  instance type(s): sss 
  map: auto.home

  MIT | 10.0.136.136:/export1
  mit | 10.0.136.136:/export2


Mount point: /-

source(s):

  instance type(s): sss 
  map: auto.direct

  /direct-mnt | 10.0.136.136:/export

[root@ci-vm-10-0-136-136 sssd]# ls /direct-mnt/
1.ldif
[root@ci-vm-10-0-136-136 sssd]# ls /home/MIT
1.ldif
[root@ci-vm-10-0-136-136 sssd]# ls /home/mit
1.ldif
[root@ci-vm-10-0-136-136 sssd]# rpm -qa | grep sssd
sssd-krb5-common-2.4.0-1.el8.x86_64
sssd-ipa-2.4.0-1.el8.x86_64
sssd-common-2.4.0-1.el8.x86_64
sssd-krb5-2.4.0-1.el8.x86_64
sssd-common-pac-2.4.0-1.el8.x86_64
sssd-ad-2.4.0-1.el8.x86_64
sssd-2.4.0-1.el8.x86_64
sssd-client-2.4.0-1.el8.x86_64
sssd-ldap-2.4.0-1.el8.x86_64
python3-sssdconfig-2.4.0-1.el8.noarch
sssd-kcm-2.4.0-1.el8.x86_64

Comment 27 errata-xmlrpc 2021-05-18 15:03:57 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 (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-2021:1666


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