Bug 1873715
| Summary: | automount sssd issue when 2 automount maps have the same key (one un uppercase, one in lowercase) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Renaud Marigny <rmarigny> |
| Component: | sssd | Assignee: | Pavel Březina <pbrezina> |
| Status: | CLOSED ERRATA | QA Contact: | Anuj Borah <aborah> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 8.2 | CC: | aborah, atikhono, dlavu, grajaiya, gsierohu, jhrozek, lslebodn, mzidek, pbrezina, sgoveas, tbordaz, tscherf |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | sync-to-jira | ||
| Fixed In Version: | sssd-2.4.0-1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-05-18 15:03:57 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: | 1881992 | ||
| Bug Blocks: | |||
|
Comment 10
Pavel Březina
2020-09-23 09:52:57 UTC
Upstream PR: https://github.com/SSSD/sssd/issues/5330 Pushed PR: https://github.com/SSSD/sssd/pull/5331 * `master` * 93e35c760d06dfc1106379ca4d8e9f190c295b27 - autofs: if more then one entry is found store all of them 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 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 |