[Bug 488696] Re: syntax error in nsswitch config near [ syntax error ]
Dmitrijs Ledkovs
launchpad at surgut.co.uk
Thu Oct 4 23:57:41 UTC 2012
Doh... done =)
** Description changed:
- Binary package hint: autofs5
+ [IMPACT]
- This is the error I get in syslog after autofs start. I have some issues
- with autofs not working, and that can be the case.
+ By default installed autofs, fails to parse the default/unmodified
+ nsswitch.conf and hence does not fall back to files stanza. The parser
+ fails if it doesn't find automount stanza in the nsswitch.conf, and by
+ default there isn't one on Debian/Ubuntu systems. The fix is to change
+ the flex parser to accept nsswitch.conf without an automount stanza as a
+ valid configuration file (empty from the autofs point of view) which
+ then makes is gracefully fallback to the files stanza as expected.
- ProblemType: Bug
- Architecture: i386
- Date: Thu Nov 26 12:19:24 2009
- DistroRelease: Ubuntu 9.10
- NonfreeKernelModules: fglrx
- Package: autofs5 5.0.4-3
- ProcEnviron:
- LANGUAGE=pl_PL:pl:en_GB:en
- PATH=(custom, no user)
- LANG=pl_PL.UTF-8
- SHELL=/bin/bash
- ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
- SourcePackage: autofs5
- Uname: Linux 2.6.31-15-generic i686
- XsessionErrors: (polkit-gnome-authentication-agent-1:2732): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
+ [TESTCASE]
+
+ * Install autofs package
+ * Notice "syntax erro in nsswitch config new near [ syntax error ]" in syslog
+ * Update package
+ * Notice that autofs starts, and mounts (if any) configured in /etc/auto.master are mounted.
+ * There is no syntax error from autofs in the syslog
+
+ [Regression Potential]
+
+ * If system administrator configured automoun in the nsswitch.conf, that behaviour is preserved and still supported.
+ * Previously expected default fallback behaviour did not work, i.e. mounts defined in auto.master with no changes to nsswitch.conf, but now do.
+
+ [Other Info]
+
+ * A similar patch has been applied in Debian
--
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