From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Kent Subject: Re: Which version to uses, nsswitch.conf parse errors Date: Wed, 29 Apr 2009 11:19:56 +0800 Message-ID: <49F7C75C.3070303@themaw.net> References: <20090428201219.GC6042@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090428201219.GC6042@gmx.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: Marc Weber Cc: autofs@linux.kernel.org Marc Weber wrote: > Hi at all, > > I'd like to add some automount support to the nixos linux distribution. > however I don't know exactly which version to I should use? > > automount v5 (autfs4 kernel module (?)) or automount v4? > > For now I've tried v5. However when starting automount I get some parse > errors: > > [...] > --accepting rule at line 92 (" > ") > --accepting rule at line 92 (" > ") > --accepting rule at line 87 ("automount:") > --accepting rule at line 95 (" ") > --accepting rule at line 97 ("files") > syntax error in nsswitch config near [ syntax error ] This probably results from not having a at the end of the line. It's not a simple matter to deal with this invalid input as we read the nsswitch input from a stream and needs to be handled by the parser not the rules. Ian