[Bug 1040846] [NEW] Missing content in /etc/nsswitch.conf causes failure
Paul Smith
psmith at gnu.org
Thu Aug 23 19:49:10 UTC 2012
Public bug reported:
I can't find any package that /etc/nsswitch.conf belongs to, so I'm
reporting this issue here since it's related to automount.
I use NIS to distribute automount databases, and the autofs5 package.
My /etc/auto.master file contains:
+auto.master
and I can run "ypcat -k auto.master" and it works fine. However, when I
start "automount -f -v" I get these errors:
~# automount -f -v
Starting automounter version 5.0.6, master map /etc/auto.master
using kernel protocol version 5.02
syntax error in nsswitch config near [ syntax error ]
lookup(file): failed to read included master map auto.master
no mounts in table
Looking at /etc/nsswitch.conf I see that there is NO entry for
"automount" at all in this file. I added a line like this:
automount: files nis
and after that, it worked fine.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: autofs 5.0.6-0ubuntu5
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Thu Aug 23 15:45:04 2012
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120817.1)
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=C
SHELL=/bin/bash
SourcePackage: autofs5
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: autofs5 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug precise running-unity
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in Ubuntu.
https://bugs.launchpad.net/bugs/1040846
Title:
Missing content in /etc/nsswitch.conf causes failure
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/1040846/+subscriptions
More information about the Ubuntu-server-bugs
mailing list