[Bug 1101779] Re: autofs "lookup_mount: exports lookup" fails on IPv6-only hosts

Kevin Otte nivex at nivex.net
Fri Sep 16 17:26:47 UTC 2016


Can confirm this still affects 16.04 LTS (autofs 5.1.1-1ubuntu3)

attempting to mount entry /net/data6
lookup_mount: lookup(file): looking up data6
lookup_mount: lookup(file): data6 -> atlantis.home.nivex.net:/data
parse_mount: parse(sun): expanded entry: atlantis.home.nivex.net:/data
parse_mount: parse(sun): gathered options: 
parse_mount: parse(sun): dequote("atlantis.home.nivex.net:/data") -> atlantis.home.nivex.net:/data
parse_mount: parse(sun): core of entry: options=, loc=atlantis.home.nivex.net:/data
sun_mount: parse(sun): mounting root /net, mountpoint data6, what atlantis.home.nivex.net:/data, fstype nfs, options (null)
mount_mount: mount(nfs): root=/net name=data6 what=atlantis.home.nivex.net:/data, fstype=nfs, options=(null)
mount(nfs): no hosts available
dev_ioctl_send_fail: token = 15
failed to mount /net/data6

-- 
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/1101779

Title:
  autofs "lookup_mount: exports lookup" fails on IPv6-only hosts

Status in Linux Mint:
  New
Status in autofs package in Ubuntu:
  Confirmed
Status in autofs5 package in Ubuntu:
  Confirmed
Status in Debian:
  New
Status in Fedora:
  Unknown

Bug description:
  Using Linux Mint 14 and both autofs 5.0.6 and 5.0.7, when attempting to access an NFS server mounted under /net with an auto.master configuration such as:
  /net -hosts

  If the host is only accessible over IPv6 (i.e. it only has an AAAA record in DNS, or there is no accessible A address), attempting to 'cd' to its host name (e.g. "cd /net/server") will timeout after a few seconds (bash: cd: server: No such file or directory) and result in a syslog entry similar to:
  Jan 19 22:39:43 client automount[5582]: lookup_mount: exports lookup failed for server

  Immediately upon adding an accessible A (IPv4) address for the server,
  everything will work correctly (and NFS mounts created by autofs will
  continue to use the IPv6 address by default).

  It appears that the rpc_get_exports() function in autofs is not
  correctly defaulting to IPv6 when it is available, even though NFS
  will default to IPv6, and is failing when the server is not accessible
  over IPv4.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1101779/+subscriptions



More information about the foundations-bugs mailing list