#4111 automount on RHEL7 gives the message 'lookup(sss): setautomntent: No such file or directory'
Closed: Fixed 4 years ago by pbrezina. Opened 4 years ago by sbose.

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

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

Metadata Update from @sbose:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1768404

4 years ago

Metadata Update from @sbose:
- Issue assigned to sbose

4 years ago

Metadata Update from @sbose:
- Custom field patch adjusted to on

4 years ago

Commit 9ba136c relates to this ticket

  • master
    • 9ba136c - ipa: use the right context for autofs

Metadata Update from @pbrezina:
- Custom field design_review adjusted to on
- Custom field mark adjusted to on
- Custom field review adjusted to on
- Custom field sensitive adjusted to on
- Custom field testsupdated adjusted to on
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago
  • sssd-1-16
    • a967afd - ipa: use the right context for autofs

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/5072

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata