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 ls: impossible d'accéder à /ahome/etu-nis: Aucun fichier ou dossier de ce type # tail -3 /var/log/syslog clnt automount[3652]: attempting to mount entry /ahome/etu-nis clnt automount[3652]: mount(nfs): no hosts available clnt automount[3652]: failed to mount /ahome/etu-nis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3. FQDN automount OK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 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 vm2.fake.domain:/home/& # dig +short aaaa vm2.fake.domain 2001:db8:feb2:10::12 root@clnt:/home/etu# dig +short -x 2001:db8:feb2:10::12 vm2.fake.domain. # ls -lAh /ahome/etu-nis total 16K -rw------- 1 etu-nis etu-nis 385 mai 21 23:44 .bash_history <snip/> # tail -3 /var/log/syslog clnt automount[3759]: mounted indirect on /ahome with timeout 300, freq 75 seconds clnt automount[3759]: attempting to mount entry /ahome/etu-nis clnt automount[3759]: mounted /ahome/etu-nis # automount -V Linux automount version 5.0.7 Directories: config dir: /etc/default maps dir: /etc modules dir: /usr/lib/x86_64-linux-gnu/autofs Compile options: ENABLE_FORCED_SHUTDOWN ENABLE_IGNORE_BUSY_MOUNTS WITH_HESIOD WITH_LDAP WITH_SASL LIBXML2_WORKAROUND -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages autofs depends on: ii libc6 2.17-3 ii libxml2 2.8.0+dfsg1-7+nmu1 ii multiarch-support 2.17-3 ii ucf 3.0025+nmu3 Versions of packages autofs recommends: ii kmod 9-3 ii module-init-tools 9-3 ii nfs-common 1:1.2.8-2 autofs suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org