Red Hat Bugzilla – Bug 17543
Support of -hosts in autofs
Last modified: 2007-04-18 12:28:34 EDT
autofs now supports /net mounts, which on most other systems are designated
by a type of
-hosts in the automount tables. It would be nice if
/etc/rc.d/init.d/autofs would deal with
a -hosts option rather than just stripping out all -* options. The
following diffs to autofs-4.0.0pre7-23 autofs fix this
*** 101,106 ****
--- 101,109 ----
# These checks screen out duplicates and skip over
# where the map is '-'.
+ if [ "x$map" = "x-hosts" ]; then
if [ ! -z "$dir" -a ! -z "$map" \
-a x`echo "$map" | cut -c1` != 'x-' \
-a "`echo "$knownmaps" | grep $dir/`" = "" ]
We're backing off from autofs 4 for the release because it won't be ready in
time, so the issue is (sadly) moot.
Am running RedHat 9 with kernel 2.4.20-20.9 and autofs 3.1.7-36 and
finding that the Solaris-style /net -hosts mapping does not work.
AutoFS 4 did not come with distrib and is not on RH RPMs site. Does
it fix this and does anyone know where I can get a stable RPM for an