Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
autofs was unable to mount shares.
Version-Release number of selected component (if applicable):
autofs-5.0.7-109.el7.x86_64
sssd-1.16.4-32.el7.x86_64
[root@client2 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.8 Beta (Maipo)
How reproducible:
Always
Steps to Reproduce:
on ipa-server
1. ipa automountlocation-add Direct_use_sssd_13489
2. ipa automountkey-add Direct_use_sssd_13489 auto.direct --key=/ipashare/public --info="-rw,soft,rsize=8192,wsize=8192 client1.trealm.test:/share/pub"
3. ipa automountlocation-tofiles Direct_use_sssd_13489
on ipa-client
1. ipa-client-automount --server=ipa.trealm.test --location=Direct_use_sssd_13489 -U
2. service sssd stop; sss_cache -A; service sssd restart; service rpcgssd restart; service autofs start; service autofs status
3. ls -ltr /ipa*
Actual results:
Not able to mount share
[root@client2 ~]# service autofs status
Redirecting to /bin/systemctl status autofs.service
● autofs.service - Automounts filesystems on demand
Loaded: loaded (/usr/lib/systemd/system/autofs.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2019-11-04 05:17:01 EST; 34min ago
Main PID: 22817 (automount)
CGroup: /system.slice/autofs.service
└─22817 /usr/sbin/automount --systemd-service --dont-check-daemon
................
Nov 04 05:17:01 client2.testrealm.test automount[22817]: problem reading master map, maximum wait exceeded
Nov 04 05:17:01 client2.testrealm.test automount[22817]: /usr/sbin/automount: warning: could not read at least one map s... ...
Nov 04 05:17:01 client2.testrealm.test automount[22817]: setautomntent: lookup(sss): setautomntent: No such file or directory
[root@client2 ~]#
Expected results:
Able to access share
Complete set of patches:
* `master`
* 9ba136ce27308e8b0b8ec921c135433da8569531 - ipa: use the right context for autofs
* 14b44e721c52207fd17e449cc6ae0a75fbb05369 - autofs: delete possible duplicate of an autofs entry
* `sssd-1-16`
* 41606494979da8cb7fb09170687131a556a643c7 - autofs: delete possible duplicate of an autofs entry
* a967afdd0a099d9b4d76bbbda7d37a001f583bbf - ipa: use the right context for autofs
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/RHBA-2020:1053
Description of problem: autofs was unable to mount shares. Version-Release number of selected component (if applicable): autofs-5.0.7-109.el7.x86_64 sssd-1.16.4-32.el7.x86_64 [root@client2 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.8 Beta (Maipo) How reproducible: Always Steps to Reproduce: on ipa-server 1. ipa automountlocation-add Direct_use_sssd_13489 2. ipa automountkey-add Direct_use_sssd_13489 auto.direct --key=/ipashare/public --info="-rw,soft,rsize=8192,wsize=8192 client1.trealm.test:/share/pub" 3. ipa automountlocation-tofiles Direct_use_sssd_13489 on ipa-client 1. ipa-client-automount --server=ipa.trealm.test --location=Direct_use_sssd_13489 -U 2. service sssd stop; sss_cache -A; service sssd restart; service rpcgssd restart; service autofs start; service autofs status 3. ls -ltr /ipa* Actual results: Not able to mount share [root@client2 ~]# service autofs status Redirecting to /bin/systemctl status autofs.service ● autofs.service - Automounts filesystems on demand Loaded: loaded (/usr/lib/systemd/system/autofs.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2019-11-04 05:17:01 EST; 34min ago Main PID: 22817 (automount) CGroup: /system.slice/autofs.service └─22817 /usr/sbin/automount --systemd-service --dont-check-daemon ................ Nov 04 05:17:01 client2.testrealm.test automount[22817]: problem reading master map, maximum wait exceeded Nov 04 05:17:01 client2.testrealm.test automount[22817]: /usr/sbin/automount: warning: could not read at least one map s... ... Nov 04 05:17:01 client2.testrealm.test automount[22817]: setautomntent: lookup(sss): setautomntent: No such file or directory [root@client2 ~]# Expected results: Able to access share