[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#709366: autofs: automount doesn't work with numerical IPv6 address



Control: tags -1 moreinfo

Hi Philippe,

On Wed, 22 May 2013 21:22:06 +0200 Philippe Latu <philippe.latu@inetdoc.net> wrote:
> Package: autofs
> Version: 5.0.7-3
> Severity: wishlist
>
> Dear Maintainer,
> *** Please consider answering these questions, where appropriate ***
>
> * What led up to the situation?
> While setting up a new lab based on IPv4 NIS + IPv6 NFSv4 + IPv6 autofs, I
> encountered an automount failure with numerical IPv6 address.
>
> Using an FQDN host name with valid AAAA and PTR DNS RRs makes automount work fine.
>
> I would like to know if FQDN names are mandatory.
>
> Here are the troubleshooting steps I followed before to mail this bug report.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1. Numerical IPv6 static mount OK
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> # mount -t nfs4 [2001:db8:feb2:10::12]:/home /ahome
> root@clnt:/home/etu# ls -lAh /ahome/etu-nis/
> total 16K
> -rw------- 1 etu-nis etu-nis 385 mai 21 2013 .bash_history
> <snip/>
>
> # mount | grep nfs4
> [2001:db8:feb2:10::12]://home on /ahome type nfs4 \
> (rw,relatime,vers=4,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp6, \
> timeo=600,retrans=2,sec=sys,clientaddr=2001:db8:feb2:10::11,minorversion=0, \
> local_lock=none,addr=2001:db8:feb2:10::12)
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 2. Numerical IPv6 automount KO
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> # cat /etc/auto.master
> /ahome /etc/auto.home
>
> # cat /etc/auto.home
> * -port=2049,-fstype=nfs4 [2001:db8:feb2:10::12]:/home/&
>
> # service autofs start
> [ ok ] Starting automount....
> # automount -m
>
> autofs dump map information
> ===========================
>
> global options: none configured
>
> Mount point: /ahome
>
> source(s):
>
> instance type(s): file
> map: /etc/auto.home
>
> * | -port=2049,-fstype=nfs4 [2001:db8:feb2:10::12]:/home/&
>
> # ls -lAh /ahome/etu-nis

I will provide an upload of autofs to experimental soon where I will close this bug. The fix enables libtirpc support in autofs which helps with IPv6 DNS hostname resolution. Please check, if IPv6 IP number support is working with the upcoming version (5.1.5-1).

If not, please reopen.

Thanks,
Mike


Reply to: