Richard Gooch wrote:
>
> I've got no problems with sample auto.* files. But the sample
> auto.master file should either be empty, or have commented-out lines.
>
> And the NIS auto.master map should be automatically used, even if
> /etc/auto.master exists. The if/else test I saw on the Debian 2.2
> systems is bogus (wherever it came from).
>
> There should be a way of disabling use of the auto.master NIS map, but
> that should be done in /etc/nsswitch.conf, just like everything
> else. A file existence test is dumb. And the default should be that
> the NIS map is used. I just want to be able to turn on the automounter
> on all machines and not have to worry about anything else. I want to
> manage the network from the server.
>
> I wasn't impressed when I had to start reading the autofs script to
> answer "why the fuck doesn't it work?".
>
Reading /etc/nsswitch.conf seems like the right thing to do.
-hpa