autofs NIS map usage breakage?
Matt_Domsch at dell.com
Sat Jun 3 12:58:08 UTC 2006
On Sat, Jun 03, 2006 at 01:26:35PM +0800, Ian Kent wrote:
> Hi Matt,
> Sorry for the inconvenience.
> On Fri, 2006-06-02 at 22:29 -0500, Matt Domsch wrote:
> > I upgraded a system that had been running rawhide for a few weeks to
> > the new rawhide on Thursday, which upgraded autofs. In doing so, it
> > appears that autofs no longer queries NIS for the auto.master map,
> > even though the autofs line in /etc/nsswitch.conf includes 'files
> > nis'. This has been working fine for years, and continues to work
> > fine on other non-rawhide systems, so I don't suspect a change in my
> > environment.
> I'm aware of this and I'm working on it right now.
> There will be some change to this though.
> When I send out the update for this you will need to add the line
> +auto.master to /etc/auto.master if one exists (that will work with the
> version you have). If it doesn't exist then autofs will use nsswitch to
> locate the map. NIS is usually listed in nsswitch by default.
> Additionally, the default master map that will be installed will now
> include the +auto.master line. So if you've removed your auto.master
> because you don't use it and the default one is installed it will still
> read the NIS master map.
> Can you tell me how your master map is setup please.
$ ypcat -k auto.master
/home auto.home --timeout 60
$ ypcat -k auto.home
* -udp,hard,intr myserver:/home/&
The server is running a really old Linux that pre-dates NFS use of
tcp, hence the udp option.
Thanks for looking into it.
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com
More information about the devel