Bug 2442 - bad assumptions in autofs init script
bad assumptions in autofs init script
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: autofs (Show other bugs)
6.0
i386 Linux
high Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-04-30 15:18 EDT by Nalin Dahyabhai
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-21 15:21:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nalin Dahyabhai 1999-04-30 15:18:50 EDT
/etc/rc.d/init.d/autofs contains the following:
if [ -f /etc/$map ] ; then
	echo "$basecommand file /etc/$map ...
else
	echo "$basecommand yp $map ..."
fi

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 15:40:59 EDT
I forgot that autofs isn't exclusive-arch: i386 anymore.
Comment 2 Bill Nottingham 1999-08-21 15:21:59 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.