Comment 12 for bug 733914

Revision history for this message
James (james-jamesgao) wrote :

Hi, I'm still having problems with autofs starting correctly when I boot. My network has an LDAP server that hands out the maps, so I have autofs5-ldap installed. Startup worked fine in Lucid and Maverick, but Natty refuses to mount on a boot without restarting autofs. This is what's in the logs on an incorrect start:

May 13 12:05:40 nitrous automount[858]: Starting automounter version 5.0.5, master map /etc/auto.master
May 13 12:05:40 nitrous automount[858]: using kernel protocol version 5.02
May 13 12:05:40 nitrous automount[858]: lookup_nss_read_master: reading master file /etc/auto.master
May 13 12:05:40 nitrous automount[858]: parse_init: parse(sun): init gathered global options: (null)
May 13 12:05:40 nitrous automount[858]: lookup_read_master: lookup(file): read entry +auto.master
May 13 12:05:40 nitrous automount[858]: lookup_nss_read_master: reading master ldap auto.master
May 13 12:05:40 nitrous automount[858]: parse_init: parse(sun): init gathered global options: (null)
May 13 12:05:40 nitrous automount[858]: lookup(file): failed to read included master map auto.master
May 13 12:05:40 nitrous automount[858]: no mounts in table

This is what autofs returns when I restart:

May 13 12:09:34 nitrous automount[1300]: Starting automounter version 5.0.5, master map /etc/auto.master
May 13 12:09:34 nitrous automount[1300]: using kernel protocol version 5.02
May 13 12:09:34 nitrous automount[1300]: lookup_nss_read_master: reading master file /etc/auto.master
May 13 12:09:34 nitrous automount[1300]: parse_init: parse(sun): init gathered global options: (null)
May 13 12:09:34 nitrous automount[1300]: lookup_read_master: lookup(file): read entry +auto.master
May 13 12:09:34 nitrous automount[1300]: lookup_nss_read_master: reading master ldap auto.master
May 13 12:09:34 nitrous automount[1300]: parse_init: parse(sun): init gathered global options: (null)
May 13 12:09:34 nitrous automount[1300]: master_do_mount: mounting /auto
May 13 12:09:34 nitrous automount[1300]: automount_path_to_fifo: fifo name /var/run/autofs.fifo-auto
May 13 12:09:34 nitrous automount[1300]: lookup_nss_read_map: reading map ldap ldap:ou=auto.home,ou=autofs,dc=***,dc=***
May 13 12:09:34 nitrous automount[1300]: parse_init: parse(sun): init gathered global options: (null)
May 13 12:09:34 nitrous automount[1300]: mounted indirect on /auto with timeout 300, freq 75 seconds
May 13 12:09:34 nitrous automount[1300]: st_ready: st_ready(): state = 0 path /auto

Any suggestions?