Comment 1 for bug 1101779

Revision history for this message
Thomas Dreibholz (dreibh) wrote :

autofs fails to mount an IPv6 server. It seems to be that, regardless of proto=tcp6, the DNS lookup uses IPv4:

Feb 26 15:09:15 svartkulp automount[21673]: mount_mount: mount(nfs): nfs options="nfsvers=4,proto=tcp6,rsize=32768,wsize=32768,soft,async,intr,noatime,nodiratime,rw", nobind=0, nosymlink=0, ro=0
Feb 26 15:09:15 svartkulp automount[21673]: mount_mount: mount(nfs): calling mkdir_path /nfs/adm
Feb 26 15:09:15 svartkulp automount[21673]: mount_mount: mount(nfs): calling mount -t nfs -s -o nfsvers=4,proto=tcp6,rsize=32768,wsize=32768,soft,async,intr,noatime,nodiratime,rw 10.1.1.4:/filesrv/adm /nfs/adm
Feb 26 15:09:15 svartkulp automount[21673]: >> mount.nfs: Failed to resolve server 10.1.1.4: Address family for hostname not supported
Feb 26 15:09:15 svartkulp automount[21673]: mount(nfs): nfs: mount failure nfs.simula.nornet:/filesrv/adm on /nfs/adm
Feb 26 15:09:15 svartkulp automount[21673]: dev_ioctl_send_fail: token = 103
Feb 26 15:09:15 svartkulp automount[21673]: failed to mount /nfs/adm
Feb 26 15:09:15 svartkulp automount[21673]: handle_packet: type = 3
Feb 26 15:09:15 svartkulp automount[21673]: handle_packet_missing_indirect: token 104, name adm, request pid 21681
Feb 26 15:09:15 svartkulp automount[21673]: attempting to mount entry /nfs/adm
Feb 26 15:09:15 svartkulp automount[21673]: lookup_mount: lookup(file): looking up adm
Feb 26 15:09:15 svartkulp automount[21673]: dev_ioctl_send_fail: token = 104
Feb 26 15:09:15 svartkulp automount[21673]: failed to mount /nfs/adm

My system runs Ubuntu 12.04.4 LTS.