[Bug 1304246] Re: Reboot hangs when two mounts with autofs

eolien mrnfake at gmail.com
Tue Sep 23 06:26:46 UTC 2014


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
Foundations Bugs, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1304246

Title:
  Reboot hangs when two mounts with autofs

Status in “autofs” package in Ubuntu:
  New

Bug description:
  On xubuntu 12.04.3 64 bits, with Dell computer (7010 and some other
  optiplex),  reboot  hangs and display terminal :

  acpid exiting
  running unnatend : ...

  I had same problem on 32 bits 12.04, but solved by adding "acpi=force reboot=pci" in /etc/default/grub
  Here, on 64 bits, tried that and didn't work.

  I also tried every other reboot parameter, without success.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-54-generic 3.2.0-54.82
  ProcVersionSignature: Ubuntu 3.2.0-54.82-generic 3.2.50
  Uname: Linux 3.2.0-54-generic x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  AplayDevices:
   **** List of PLAYBACK Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
     Subdevices: 0/1
     Subdevice #0: subdevice #0
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  speech-dispatcher   1289 F.... pulseaudio
                        root       2212 F.... xfce4-volumed
   /dev/snd/pcmC0D0p:   speech-dispatcher   1289 F...m pulseaudio
   /dev/snd/timer:      speech-dispatcher   1289 f.... pulseaudio
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xfebf0000 irq 43'
     Mixer name	: 'Generic 1af4 ID 21'
     Components	: 'HDA:1af40021,1af40021,00100101'
     Controls      : 2
     Simple ctrls  : 2
  Date: Tue Apr  8 10:00:21 2014
  HibernationDevice: RESUME=UUID=2b0136a6-76ae-42a5-a166-a2e6af4c0e17
  InstallationMedia: Xubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820)
  IwConfig:
   lo        no wireless extensions.
   
   eth0      no wireless extensions.
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
  MachineType: Bochs Bochs
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-54-generic root=UUID=1be3fd89-b18b-4f55-ab8f-1f9e26e57c01 ro quiet splash acpi=force reboot=b vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-54-generic N/A
   linux-backports-modules-3.2.0-54-generic  N/A
   linux-firmware                            1.79.9
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/01/2011
  dmi.bios.vendor: Bochs
  dmi.bios.version: Bochs
  dmi.chassis.type: 1
  dmi.chassis.vendor: Bochs
  dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2011:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
  dmi.product.name: Bochs
  dmi.sys.vendor: Bochs

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



More information about the foundations-bugs mailing list