[Bug 488696] Re: syntax error in nsswitch config near [ syntax error ]

Dmitrijs Ledkovs launchpad at surgut.co.uk
Mon Sep 10 17:36:38 UTC 2012


Currently autofs falls back to reading it's own configuration files, if the parser did not find automount stanza.
The problem is that the current autofs' parser fails on the default nsswitch.conf
See: lib/nss_parse.y

Options are:
1) change default nsswitch.conf (not gonna happen see comment #18, see comment #20 for history which, well, mattered in the past)
2) remove autofs nsswitch.conf parser (not ideal, breaks compatibility with other distros & history see comment #20)
3) fix autofs nsswitch.conf parser
4) make autofs use something that knows how to parse nsswitch.conf properly

I personally would prefer solution #3 and send the patch to debian &
upstream. Unfortunately I do not know Yacc to even understand what
./lib/nss_parse.y is doing.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/488696

Title:
  syntax error in nsswitch config near [ syntax error ]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/488696/+subscriptions



More information about the Ubuntu-server-bugs mailing list