[Bug 1101779] Re: autofs "lookup_mount: exports lookup" fails on IPv6-only hosts
Thomas Dreibholz
dreibh at iem.uni-due.de
Wed Feb 26 14:16:42 UTC 2014
Note that I turned on debug output in /etc/default/autofs:
LOGGING="debug"
My NFS server has IPv4 as well as IPv6. Both addresses are in DNS (as A
and AAAA record, respectively).
** Bug watch added: Debian Bug tracker #709366
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709366
** Also affects: debian via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709366
Importance: Unknown
Status: Unknown
** Bug watch added: Red Hat Bugzilla #711844
https://bugzilla.redhat.com/show_bug.cgi?id=711844
** Also affects: fedora via
https://bugzilla.redhat.com/show_bug.cgi?id=711844
Importance: Unknown
Status: Unknown
--
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 The Linux Mint Distribution:
New
Status in “autofs” package in Ubuntu:
New
Status in “autofs5” package in Ubuntu:
New
Status in Debian GNU/Linux:
Unknown
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