[Bug 573919] Re: autofs doesn't work with lucid

onkara daya at skyauction.com
Fri May 14 18:46:57 BST 2010


It seems autofs is completely broken for me not only does the service
not start automatically it doesn't mount NFS shares on manual start.

Here is what I have tried

$ sudo service autofs restart
autofs start/running, process 4590

in syslog I see

May 14 12:44:17 sky-ubuntu automount[4590]: syntax error in nsswitch
config near [ syntax error ]

here is my nsswitch.conf not sure what is wrong here

$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis


If I try to automount manually this is what I see

$ sudo automount -v -d -F -C -f -t 60 
Starting automounter version 5.0.4, master map /etc/auto.master
using kernel protocol version 5.01
lookup_nss_read_master: reading master file /etc/auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry +auto.master
syntax error in nsswitch config near [ syntax error ]

lookup_nss_read_master: reading master files auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup(file): failed to read included master map auto.master
no mounts in table


Any ideas on how I can fix this ... ??

-- 
autofs doesn't work with lucid
https://bugs.launchpad.net/bugs/573919
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in ubuntu.



More information about the Ubuntu-server-bugs mailing list