On Fri, 2007-12-21 at 14:00 -0800, David Mack wrote:
> 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.

That should work fine.

> 
> 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

Using the map type syntax is very version 4 and shouldn't be needed at
all by version 5.

> 
> 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.

And you shouldn't have to.

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

OK, I don't think that's correct.
Perhaps it has been fixed over time and I missed that I fixed it.

It is true that the man page specifies no "-" but I believe it is
accepted and works.

How about more information.
What version are you using?
How about a debug log?

Ian


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

Reply via email to