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

Paul Smith psmith at gnu.org
Sat Aug 25 17:22:40 UTC 2012


Steve's comment #18 is not correct.  Automount was first created in the
late 1980's, and when Sun released the first version of name service
switch  in the early 1990's, it was already being used to manage
automount maps.  Automount maps have been considered a standard, basic
name service ever since, on every version of UNIX that has ever
implemented nsswitch.conf.

I think that it's a great idea that autofs be enhanced so that if
there's no entry in nsswitch.conf, autofs will not fail but will instead
assume "files".  However, the bug against base-files is NOT invalid.
Automount entries DO belong in nsswitch.conf and the standard value is
"automount: files nis" and this should be preserved in Ubuntu.

I agree that _ideally_ someone would modify libc to support
"/etc/nsswitch.d" and individual packages (like autofs) could add their
own files there containing name service switch configuration.  However,
until that day comes please add back the automount entry to
nsswitch.conf in base-files.  The fact that it's not there is a
legitimate bug.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/488696

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

Status in “autofs” package in Ubuntu:
  Triaged
Status in “autofs5” package in Ubuntu:
  Triaged
Status in “base-files” package in Ubuntu:
  Invalid
Status in “autofs5” source package in Precise:
  Triaged
Status in “base-files” source package in Precise:
  Invalid
Status in “autofs” source package in Quantal:
  Triaged
Status in “base-files” source package in Quantal:
  Invalid
Status in “autofs5” package in Debian:
  New

Bug description:
  Binary package hint: autofs5

  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.

  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

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




More information about the foundations-bugs mailing list