Bug 1398673

Summary: autofs map resolution doesn't work offline
Product: Red Hat Enterprise Linux 7 Reporter: Marcel Kolaja <mkolaja>
Component: sssdAssignee: SSSD Maintainers <sssd-maint>
Status: CLOSED ERRATA QA Contact: Steeve Goveas <sgoveas>
Severity: high Docs Contact: Marc Muehlfeld <mmuehlfe>
Priority: high    
Version: 7.3CC: dlavu, fjayalat, grajaiya, jhrozek, lslebodn, mkolaja, mkosek, mzidek, orion, pbrezina, sssd-maint, tomek, tscherf
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.14.0-43.el7_3.10 Doc Type: Bug Fix
Doc Text:
Previously, if the System Security Services Daemon (SSSD) failed to contact the autofs LDAP data provider, the autofs responder did not return data that was already cached locally. To fix the problem, the autofs responder has been updated and as a result, SSSD now returns cached autofs data if the LDAP server is not available.
Story Points: ---
Clone Of: 1382602 Environment:
Last Closed: 2017-01-17 18:10:20 UTC Type: ---
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: 1382602    
Bug Blocks:    

Description Marcel Kolaja 2016-11-25 14:30:26 UTC
This bug has been copied from bug #1382602 and has been proposed
to be backported to 7.3 z-stream (EUS).

Comment 4 Dan Lavu 2017-01-06 19:04:16 UTC
Verified against sssd-1.14.0-43.el7_3.10.x86_64

[root@sssd x86_64]# automount -m 

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

global options: none configured

Mount point: /misc

source(s):

  instance type(s): file 
  map: /etc/auto.misc

  cd | -fstype=iso9660,ro,nosuid,nodev  :/dev/cdrom


Mount point: /net

source(s):

  type: hosts

  ovirt.domain.com | (null)
  vpn.lavu.local | (null)
  localhost | (null)


Mount point: /home/domain.com

source(s):

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

  * | -acl,rw nfs.domain.com:/home/&


[root@sssd x86_64]# pkill -USR1 sssd
[root@sssd x86_64]# automount -m 

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

global options: none configured

Mount point: /misc

source(s):

  instance type(s): file 
  map: /etc/auto.misc

  cd | -fstype=iso9660,ro,nosuid,nodev  :/dev/cdrom


Mount point: /net

source(s):

  type: hosts

  ovirt.domain.com | (null)
  vpn.lavu.local | (null)
  localhost | (null)


Mount point: /home/domain.com

source(s):

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

  * | -acl,rw nfs.domain.com:/home/&

Comment 6 errata-xmlrpc 2017-01-17 18:10:20 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, 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://rhn.redhat.com/errata/RHBA-2017-0078.html

Comment 7 Jakub Hrozek 2017-01-20 21:38:21 UTC
*** Bug 1401262 has been marked as a duplicate of this bug. ***