Bug 2442

Summary: bad assumptions in autofs init script
Product: [Retired] Red Hat Linux Reporter: Nalin Dahyabhai <nalin.dahyabhai>
Component: autofsAssignee: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-08-21 19:21:48 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 Nalin Dahyabhai 1999-04-30 19:18:50 UTC
/etc/rc.d/init.d/autofs contains the following:
if [ -f /etc/$map ] ; then
	echo "$basecommand file /etc/$map ...
	echo "$basecommand yp $map ..."

This breaks any lookup method that isn't file or yp, namely
nisplus and program, and hesiod if you recompile with it.

Comment 1 Nalin Dahyabhai 1999-04-30 19:40:59 UTC
I forgot that autofs isn't exclusive-arch: i386 anymore.

Comment 2 Bill Nottingham 1999-08-21 19:21:59 UTC
This should be fixed in autofs-3.1.3-5, which will be in the
next Raw Hide release.

You will be able to specify in /etc/auto.master:

/mnt	nisplus:/etc/mnt.map

which specifies to use an nisplus map.