Hi
I have serious reboot problem since a long time.
I discovered that if i "service autofs stop" before reboot, there's no problem 
with reboot.

Here my autofs confs :

# dpkg --get-selections | grep autofs
autofs                                          install
autofs-ldap                                     install
autofs5-ldap                                    install

# apt-cache policy autofs
autofs:
  Installé : 5.0.7-3ubuntu3
  Candidat : 5.0.7-3ubuntu3
 Table de version :
 *** 5.0.7-3ubuntu3 0
        500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

# cat auto.master | grep -v "#"
+dir:/etc/auto.master.d
+auto.master

# ls -altr auto.master.d
total 32
-rw-r--r--   1 root root    11 sept. 22 14:53 home
-rw-r--r--   1 root root   107 sept. 22 15:50 net
-rw-r--r--   1 root root    44 sept. 23 07:44 net.autofs
-rw-r--r--   1 root root    53 sept. 23 07:45 home.autofs
drwxr-xr-x   2 root root  4096 sept. 23 07:45 .
drwxr-xr-x 171 root root 12288 sept. 23 07:47 ..

# cat auto.master.d/home
+auto.home

# cat auto.master.d/net
local -fstype=nfs4,ro,proto=tcp,port=2049 nfs1:/bin
commun -rw,soft,intr nfs2:/home/commun

# cat auto.master.d/home.autofs 
/auto_home      /etc/auto.master.d/home --timeout=10

# cat auto.master.d/net.autofs 
/net    /etc/auto.master.d/net --timeout=10

# cat /etc/default/autofs | grep -v "#"
MASTER_MAP_NAME="/etc/auto.master"
TIMEOUT=3
BROWSE_MODE="no"
LOGGING="verbose"
LDAP_URI="ldap://#.#.#.#";
SEARCH_BASE="dc=#,dc=#,dc=#"
MAP_OBJECT_CLASS="nisMap"
ENTRY_OBJECT_CLASS="nisObject"
MAP_ATTRIBUTE="nisMapName"
ENTRY_ATTRIBUTE="cn"
VALUE_ATTRIBUTE="nisMapEntry"


When i desactive one of these inputs (or /net or /auto_home), reboot works fine.

Here's my logs since the last reboot ::

#cat /var/log/syslog | egrep 'automount|autofs|ldap|nscd|nslcd'

Sep 23 07:44:14 localhost nslcd[1328]: [a5ee64] <group="admin"> 
ldap_search_ext() failed: Can't contact LDAP server: Broken pipe
Sep 23 07:44:14 localhost nslcd[1328]: [a5ee64] <group="admin"> no available 
LDAP server found, sleeping 1 seconds
Sep 23 07:44:18 localhost nslcd[1328]: [330624] <passwd="*"> request denied by 
validnames option
Sep 23 07:44:25 localhost nslcd[1328]: [a5ee64] <group="admin"> failed to bind 
to LDAP server ldaps://10.6.200.209: Can't contact LDAP server: Connection 
timed out
Sep 23 07:44:25 localhost nslcd[1328]: [a5ee64] <group="admin"> no available 
LDAP server found: Can't contact LDAP server: Connection timed out
Sep 23 07:44:25 localhost nslcd[1328]: [ffca11] <group/member="premier"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:25 localhost nslcd[1328]: [ffca11] <group/member="premier"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:25 localhost nslcd[1328]: [27709e] <group/member="premier"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:25 localhost nslcd[1328]: [27709e] <group/member="premier"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:25 localhost nslcd[1328]: [ea1109] <group="admin"> no available 
LDAP server found: Server is unavailable: Resource temporarily unavailable
Sep 23 07:44:25 localhost nslcd[1328]: [0f59dc] <group/member="oracle"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:25 localhost nslcd[1328]: [0f59dc] <group/member="oracle"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:25 localhost nslcd[1328]: [b7e0aa] <group/member="oracle"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:25 localhost nslcd[1328]: [b7e0aa] <group/member="oracle"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:25 localhost nslcd[1328]: [eb5bd4] <group="admin"> no available 
LDAP server found: Server is unavailable: Resource temporarily unavailable
Sep 23 07:44:25 localhost nslcd[1328]: [6dd9ac] <group/member="inscription"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:25 localhost nslcd[1328]: [6dd9ac] <group/member="inscription"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:25 localhost nslcd[1328]: [4211f2] <group/member="inscription"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:25 localhost nslcd[1328]: [4211f2] <group/member="inscription"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:25 localhost nslcd[1328]: [885e1b] <passwd="jkirszling"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:25 localhost nslcd[1328]: [272110] <passwd="fguitton"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:25 localhost nslcd[1328]: [04a8af] <passwd="fguitton02"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:25 localhost nslcd[1328]: [16703b] <passwd="jkirszling02"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:35 localhost nslcd[1328]: [ebc550] <passwd="*other"> request 
denied by validnames option
Sep 23 07:44:41 localhost nslcd[1328]: [f6d648] <group="admin"> 
ldap_search_ext() failed: Can't contact LDAP server: Broken pipe
Sep 23 07:44:41 localhost nslcd[1328]: [f6d648] <group="admin"> no available 
LDAP server found: Can't contact LDAP server: Bad file descriptor
Sep 23 07:44:41 localhost nslcd[1328]: [b7d447] <group/member="premier"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:41 localhost nslcd[1328]: [b7d447] <group/member="premier"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:41 localhost nslcd[1328]: [2ac315] <group/member="premier"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:41 localhost nslcd[1328]: [2ac315] <group/member="premier"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:41 localhost nslcd[1328]: [ee015c] <group="admin"> no available 
LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:41 localhost nslcd[1328]: [fc4fbb] <group/member="oracle"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:41 localhost nslcd[1328]: [fc4fbb] <group/member="oracle"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:41 localhost nslcd[1328]: [c1016f] <group/member="oracle"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:41 localhost nslcd[1328]: [c1016f] <group/member="oracle"> no 
available LDAP server found: Server is unavailable: Connection timed out
Sep 23 07:44:41 localhost nslcd[1328]: [f18422] <group="admin"> no available 
LDAP server found: Server is unavailable: Resource temporarily unavailable
Sep 23 07:44:41 localhost nslcd[1328]: [ef0119] <group/member="inscription"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:41 localhost nslcd[1328]: [ef0119] <group/member="inscription"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:41 localhost nslcd[1328]: [f324ba] <group/member="inscription"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:41 localhost nslcd[1328]: [f324ba] <group/member="inscription"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [01579b] <group="admin"> no available 
LDAP server found: Server is unavailable: Resource temporarily unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [da307d] <group/member="premier"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [da307d] <group/member="premier"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [55a5f5] <group/member="premier"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [55a5f5] <group/member="premier"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [b8370b] <group="admin"> no available 
LDAP server found: Server is unavailable: Resource temporarily unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [801ee1] <group/member="oracle"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [801ee1] <group/member="oracle"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [88ac1a] <group/member="oracle"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [88ac1a] <group/member="oracle"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [b8011c] <group="admin"> no available 
LDAP server found: Server is unavailable: Resource temporarily unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [a78f7f] <group/member="inscription"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [a78f7f] <group/member="inscription"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [72bd23] <group/member="inscription"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:42 localhost nslcd[1328]: [72bd23] <group/member="inscription"> no 
available LDAP server found: Server is unavailable: Resource temporarily 
unavailable
Sep 23 07:44:55 localhost nslcd[1328]: [c75af8] <passwd="*"> request denied by 
validnames option
Sep 23 07:45:11 localhost automount[1221]: message repeated 18037 times: [ 1 
remaining in /net]
Sep 23 07:45:12 localhost automount[1221]: expiring path /net/local
Sep 23 07:45:12 localhost automount[1221]: expired /net/local
Sep 23 07:45:13 localhost automount[1221]: umounted indirect mount /auto_home
Sep 23 07:45:13 localhost automount[1221]: shut down path /auto_home
Sep 23 07:45:13 localhost automount[1221]: umounted indirect mount /net
Sep 23 07:45:13 localhost automount[1221]: shut down path /net
Sep 23 07:45:13 localhost automount[1221]: autofs stopped
Sep 23 07:45:13 localhost automount[9949]: Starting automounter version 5.0.7, 
master map /etc/auto.master
Sep 23 07:45:13 localhost automount[9949]: using kernel protocol version 5.02
Sep 23 07:45:13 localhost automount[9949]: mounted indirect on /auto_home with 
timeout 10, freq 3 seconds
Sep 23 07:45:13 localhost automount[9949]: mounted indirect on /net with 
timeout 10, freq 3 seconds
Sep 23 07:45:13 localhost automount[9949]: attempting to mount entry /net/local
Sep 23 07:45:13 localhost automount[9949]: mounted /net/local
Sep 23 07:45:16 localhost automount[9949]: 1 remaining in /net
Sep 23 07:45:23 localhost nslcd[1328]: [e67713] <passwd="*"> request denied by 
validnames option
Sep 23 07:47:15 localhost automount[1228]: Starting automounter version 5.0.7, 
master map /etc/auto.master
Sep 23 07:47:15 localhost automount[1228]: using kernel protocol version 5.02
Sep 23 07:47:17 localhost nslcd[1337]: version 0.8.13 starting
Sep 23 07:47:17 localhost nslcd[1337]: accepting connections
Sep 23 07:47:17 localhost nslcd[1337]: [8b4567] <passwd="*"> request denied by 
validnames option
Sep 23 07:47:17 localhost automount[1228]: mounted indirect on /auto_home with 
timeout 10, freq 3 seconds
Sep 23 07:47:17 localhost automount[1228]: mounted indirect on /net with 
timeout 10, freq 3 seconds
Sep 23 07:47:17 localhost automount[1228]: attempting to mount entry /net/local
Sep 23 07:47:17 localhost automount[1228]: mounted /net/local
Sep 23 07:47:20 localhost nslcd[1337]: [b127f8] <passwd="*other"> request 
denied by validnames option
Sep 23 07:47:20 localhost nslcd[1337]: [16231b] <passwd="*other"> request 
denied by validnames option
Sep 23 07:47:20 localhost nslcd[1337]: [16e9e8] <passwd="*other"> request 
denied by validnames option
Sep 23 07:47:20 localhost nslcd[1337]: [90cde7] <passwd="*other"> request 
denied by validnames option
Sep 23 07:47:21 localhost automount[1228]: 1 remaining in /net
Sep 23 07:47:26 localhost nslcd[1337]: [9a769b] <passwd="*other"> request 
denied by validnames option
Sep 23 08:04:03 localhost nslcd[1337]: [f32454] <group="admin"> ldap_result() 
failed: Can't contact LDAP server
Sep 23 08:04:03 localhost nslcd[1337]: [a88611] <group/member="premier"> 
ldap_result() failed: Can't contact LDAP server
Sep 23 08:04:03 localhost nslcd[1337]: [36c40e] <group/member="premier"> 
ldap_result() failed: Can't contact LDAP server
Sep 23 08:04:04 localhost nslcd[1337]: [901d82] <group="admin"> ldap_result() 
failed: Can't contact LDAP server
Sep 23 08:04:04 localhost nslcd[1337]: [7b8ddc] <group/member="inscription"> 
ldap_result() failed: Can't contact LDAP server
Sep 23 08:04:08 localhost nslcd[1337]: [a64e2a] <passwd="*other"> request 
denied by validnames option
Sep 23 08:06:11 localhost nslcd[1337]: [2342ec] <passwd="*"> request denied by 
validnames option
Sep 23 08:07:12 localhost nslcd[1337]: [487cb0] <passwd="*"> request denied by 
validnames option
Sep 23 08:08:22 localhost nslcd[1337]: [4ed43b] <passwd="*"> request denied by 
validnames option
Sep 23 08:14:13 localhost nslcd[1337]: [386575] <passwd="*other"> request 
denied by validnames option
Sep 23 08:20:02 localhost nslcd[1337]: [90700b] <passwd="*other"> request 
denied by validnames option
Sep 23 08:22:15 localhost automount[1216]: Starting automounter version 5.0.7, 
master map /etc/auto.master
Sep 23 08:22:15 localhost automount[1216]: using kernel protocol version 5.02
Sep 23 08:22:16 localhost nslcd[1330]: version 0.8.13 starting
Sep 23 08:22:16 localhost nslcd[1330]: accepting connections
Sep 23 08:22:16 localhost nslcd[1330]: [8b4567] <passwd="*"> request denied by 
validnames option
Sep 23 08:22:17 localhost automount[1216]: mounted indirect on /auto_home with 
timeout 10, freq 3 seconds
Sep 23 08:22:17 localhost automount[1216]: mounted indirect on /net with 
timeout 10, freq 3 seconds
Sep 23 08:22:17 localhost automount[1216]: attempting to mount entry /net/local
Sep 23 08:22:17 localhost automount[1216]: mounted /net/local
Sep 23 08:22:19 localhost nslcd[1330]: [e2a9e3] <passwd="*other"> request 
denied by validnames option
Sep 23 08:22:19 localhost nslcd[1330]: [45e146] <passwd="*other"> request 
denied by validnames option
Sep 23 08:22:19 localhost nslcd[1330]: [5f007c] <passwd="*other"> request 
denied by validnames option
Sep 23 08:22:19 localhost nslcd[1330]: [d062c2] <passwd="*other"> request 
denied by validnames option
Sep 23 08:22:21 localhost automount[1216]: 1 remaining in /net
Sep 23 08:22:26 localhost nslcd[1330]: [55585c] <passwd="*"> request denied by 
validnames option


Have a nice day everybody.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1304246

Title:
  Reboot hangs when two mounts with autofs

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to