I work in an environment in which Solaris and Linux machines NIS mount
the same automount maps, including auto.master. Typically,
/etc/auto.master just contains "+auto.master" on all of them.

With the advent of autofs5, this has started breaking. To get the
Linux machines running autofs5 to work, we've had to replace
/etc/auto.master with a version that looks something like this:

/volume yp:auto.vols
/system yp:auto.home
/local yp:auto.local
/homes yp:auto.homes
/home yp:auto.home
/xfn -xfn
/net -hosts             -nosuid

The NIS version (used by Solaris and older Linux machines) looks like this:

/volume auto.vols -intr,bg,tcp
/system auto.home
/local auto.local
/homes auto.homes -intr,bg,tcp
/home auto.home
/xfn -xfn
/net -hosts             -nosuid


Needless to say, I'm not wild about having to install a separate
/etc/auto.master on every new Linux machine.

It appears that the problem is that autofs5 doesn't like parameters
introduces with hyphens in auto.master, which Solaris unfortunately
requires.

Is there any way around this situation that will allow me to continue
to use a NIS-mounted auto.master on all of my machines?

I apologize if this was discussed to death a couple of years ago - I
looked in the archive and didn't find anything.

Dave

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to