[Bug 1503034] Re: Autofs 5.1.1-1ubuntu2 crashes with segfault on startup

C. Alex. North-Keys 1503034 at bugs.launchpad.net
Fri Nov 27 03:24:16 UTC 2015


Just upgraded to Wily here as well and I'm running into the failing
autofs too.  Moving from ldap client to sssd is more dramatic than
desired here - how soon will the 1ubuntu3 be available in the Ubuntu
Wily repos?   As of the time of this post, only 5.1.1-1ubuntu2 is
showing in the Wily repo.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1503034

Title:
  Autofs 5.1.1-1ubuntu2 crashes with segfault on startup

Status in autofs package in Ubuntu:
  Fix Released
Status in autofs source package in Wily:
  New

Bug description:
  I'm running Wily Beta 2, updated to the latest packages in the wily
  repository, with autofs-ldap using mounts stored in LDAP. On startup
  systemd immediately puts autofs into a failed state as it segfaults
  when reading the auto.master.

  Autofs & autofs-ldap version is 5.1.1-1ubuntu2.

  The log in journalctl looks like this:

  Oct 05 15:47:45 <hostname> autofs[2232]: * Starting automount...
  Oct 05 15:47:45 <hostname> automount[2240]: Starting automounter version 5.1.1, master map /etc/auto.master
  Oct 05 15:47:45 <hostname> automount[2240]: using kernel protocol version 5.02
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_nss_read_master: reading master file /etc/auto.master
  Oct 05 15:47:45 <hostname> automount[2240]: parse_init: parse(sun): init gathered global options: (null)
  Oct 05 15:47:45 <hostname> automount[2240]: spawn_mount: mtab link detected, passing -n to mount
  Oct 05 15:47:45 <hostname> automount[2240]: spawn_umount: mtab link detected, passing -n to mount
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_read_master: lookup(file): read entry /net
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_nss_read_master: reading master dir /etc/auto.master.d
  Oct 05 15:47:45 <hostname> automount[2240]: lookup(dir): dir map /etc/auto.master.d missing or not readable
  Oct 05 15:47:45 <hostname> automount[2240]: lookup(file): failed to read included master map dir:/etc/auto.master.d
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_read_master: lookup(file): read entry +auto.master
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_nss_read_master: reading master files auto.master
  Oct 05 15:47:45 <hostname> automount[2240]: parse_init: parse(sun): init gathered global options: (null)
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_nss_read_master: reading master ldap auto.master
  Oct 05 15:47:45 <hostname> kernel: automount[2240]: segfault at 0 ip 00007fb87ade5bcb sp 00007ffc30b34550 error 4 in lookup_ldap.so[7fb87adca000+38000]
  Oct 05 15:47:47 <hostname> autofs[2232]: ...fail!
  Oct 05 15:47:47 <hostname> systemd[1]: autofs.service: Control process exited, code=exited status=1

  This occurs whenever the service is started with the line in
  auto.master which loads the ldap mounts. The line which causes the
  issue is
  "+ldap:automountMapName=auto.master.linux,ou=automount,ou=<location>,ou=<group>,o=<group>,dc=<base>,dc=com",
  and this configuration worked on 14.04, 14.10 and 15.04.

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



More information about the Ubuntu-sponsors mailing list