From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Kent Subject: Re: No include of NIS maps in automounter maps possible any more? Date: Thu, 30 Nov 2006 22:51:17 +0800 Message-ID: <1164898277.3127.36.camel@localhost> References: <456EE067.3090208@embl.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <456EE067.3090208@embl.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Frank Thommen Cc: autofs@linux.kernel.org On Thu, 2006-11-30 at 14:45 +0100, Frank Thommen wrote: > Hi, > > I hope this question is not too basic for this list, but I could not > find any answer in the list archives or through friend google. > > With automount version 4.1.3-187 (running on CentOS 4.4) I could have an > automounter map (not auto.master) to be like: > > key1 host1:/path1 > key2 host2:/path2 > +map.in.nis > > This way I could add specific local mounts to a generally available NIS > map or override NIS given keys with my own ones. > > With automount 4.1.4-33 (on Fedora Core 5) this doesn't work any more. > The additional map is simply ignored. I tried with '+map.in.nis' and > '+yp:map.in.nis' to no avail. The Fedora autofs is very close to the upstream autofs and plus map inclusion and nsswitch integration is not present in version 4. Jeff Moyer has done a lot of work on this and is working to push the RHEL autofs patches upstream now. However, I'm still neck deep in fixing version 5 bugs so it's a bit hard to get an update to version 4 out. I think your only option at the moment is to use the RHEL or CentOS version and exclude autofs from yum updates. > > 'automount' in nsswitch.conf is on 'files nis' in both cases. Doesn't matter what you put in nsswitch.conf. > > > Is this a bug or a wanted feature in 4.1.4? Is there an other way to > *combine* nis and local maps for automounting? We have configured a lot > of hosts with above setup and whith the current OS-updates this starts > to break. Focus is version 5 at the moment and plus map inclusion and nsswitch integration are standard features. > > Any hints or pointers are appreciated. Get FC6 if you want to try out version 5. > > > Thanks you very much > > frank > > _______________________________________________ > autofs mailing list > autofs@linux.kernel.org > http://linux.kernel.org/mailman/listinfo/autofs