Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 6615

Summary: auto.master map is not checked if /etc/auto.master exists, despite autofs(8) manpage
Product: [Retired] Red Hat Linux Reporter: chberg5
Component: autofsAssignee: Cristian Gafton <gafton>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-11-01 22:34:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description chberg5 1999-11-01 21:59:43 UTC
autofs(8) manpage says:
After   the
       auto.master configuration file  is  processed  the
       script  will  check  for an NIS map with the same
name. If
       such a map exists then that map will be processed
in  the
       same  way as the auto.master map. The NIS map will be
       cessed last.

But that's not true, the autofs script only looks at the
auto.master map if /etc/auto.master does not exist.

The autofs-master-yp.patch patch included with the autofs
SRPM mentions this behavior.

I suggest that the behavior be modified to be compatible
with Sun's automounter, checking for a line starting with
"+" and including that map (e.g. "+auto.master"). It is
useful to be able to have both local automounter
configuration and to be able to pull the configuration from
NIS. This would be a trivial change to the autofs script.

Comment 1 Bill Nottingham 1999-11-01 22:34:59 UTC
*** This bug has been marked as a duplicate of 6484 ***