Re: Fedora 17 (autofs-5.0.6): enabling IPv6 breaks automount

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

 



On Wed, 2012-12-19 at 16:14 -0800, H. Peter Anvin wrote:
> I just enabled IPv6 on my network; this seems to have broken autofs or 
> at least the /net map.  Accesses by IPv4 address seems to work; IPv6 
> breaks with or without brackets.

There are two fairly recent changes that could affect this.

One was the need to probe availability for simple mounts (as well as
multi-mounts) when mount.nfs started calling mount(2) and letting the
kernel do most everything. That was causing significant interactive
delays when servers weren't available at mount time. 

Then I realized that using the ioctl interface to enumerate network
devices (to check proximity) did not enumerate IPv6 devices so I had to
change to using getifaddrs(3).

I'll check what I have in f17 but in the meantime, if you want to, you
could try rebuilding the rpm from f18 or Rawhide, they're the same at
this point.

It could be a parsing problem, in any case the brackets will be needed.

A full debug log might show the problem if it is a parsing error. Set
LOGGING="debug" the /etc/sysconfig/autofs and don't forget to ensure
facility daemon is being logged.

I have a line in rsyslog.conf " like:
daemon.*			/var/log/debug
for this.

> 
> This is Fedora 17 with autofs-5.0.6 and kernel 3.6.10.
> 
> # cd /net/kalgan/export/
> /net/kalgan/export/: No such file or directory.
> (log)
> Dec 19 15:30:04 tazenda automount[1378]: lookup_mount: exports lookup 
> failed for kalgan
> Dec 19 15:30:04 tazenda automount[1378]: key "kalgan" not found in map 
> source(s).
> [root@tazenda hpa]# host kalgan
> kalgan.hos.anvin.org has address 172.27.0.17
> kalgan.hos.anvin.org has IPv6 address fd8c:154a:5add::11
> # showmount --no-headers -e kalgan
> /export *
> # cd /net/172.27.0.17/export/
> #
> 


--
To unsubscribe from this list: send the line "unsubscribe autofs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux