[Bug 488696] Re: syntax error in nsswitch config near [ syntax error ]
Maarten Jacobs
488696 at bugs.launchpad.net
Sun Jun 17 19:13:52 UTC 2012
Hmm. I ran into more issues with autofs. Not sure when they actually
started, I only noticed them today. After some poking around I figured
out that:
1. The "map auto.master: Local domain name not set" error occurs when I include "+auto.master" in /etc/auto.master. I also found out that this entry in /etc/auto.master is not required (at least on my installation).
2. For some bizarre reason, the way I had my autofs map files set up didn't work anymore without specifically adding ".local" to the server identification. For instance I'd set up:
/home/user/Pictures server:/home/user/Pictures
I had to change this to:
/home/user/Pictures server.local:/home/user/Pictures
This (so far) appears to have solved my issues with automount.
At the same time I also changed /etc/nsswitch.conf:
From:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
To:
hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4
But I'm not sure that had any impact.
--
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/488696
Title:
syntax error in nsswitch config near [ syntax error ]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/488696/+subscriptions
More information about the Ubuntu-server-bugs
mailing list