From owner-freebsd-arch@FreeBSD.ORG Thu Sep 4 05:59:17 2014 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2883A42B; Thu, 4 Sep 2014 05:59:17 +0000 (UTC) Received: from mail.beastielabs.net (unknown [IPv6:2001:888:1227:0:200:24ff:fec9:5934]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D29BF1F91; Thu, 4 Sep 2014 05:59:16 +0000 (UTC) Received: from beastie.hotsoft.nl (beastie.hotsoft.nl [IPv6:2001:888:1227:0:219:d1ff:fee8:91eb]) by mail.beastielabs.net (8.14.7/8.14.7) with ESMTP id s845xC3M078751; Thu, 4 Sep 2014 07:59:12 +0200 (CEST) (envelope-from hans@beastielabs.net) Message-ID: <5407FFB0.80203@beastielabs.net> Date: Thu, 04 Sep 2014 07:59:12 +0200 From: Hans Ottevanger User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: =?UTF-8?B?RWR3YXJkIFRvbWFzeiBOYXBpZXJhxYJh?= Subject: Re: [CFT] Autofs. References: <20140730071933.GA20122@pc5.home> <53F0878E.3000401@beastielabs.net> <20140817145059.GA5497@pc5.home> In-Reply-To: <20140817145059.GA5497@pc5.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-current@FreeBSD.org, freebsd-arch@FreeBSD.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2014 05:59:17 -0000 On 08/17/14 16:50, Edward Tomasz NapieraƂa wrote: > On 0817T1244, Hans Ottevanger wrote: >> [...] >> Hi! >> >> Great to see a real autofs finally coming to FreeBSD. >> >> I already did some very cursory testing on a recent 11-CURRENT system >> that I still happened to have and things with at least the /net map >> look quite OK. >> >> I could do some more extensive testing if I could use some of my >> 10-STABLE systems. I already checked that the patch applies cleanly >> to a recent 10-STABLE (modulo a few offsets) and that both buildworld >> and buildkernel succeed. Should I expect difficulties actually >> running your autofs on 10-STABLE? > > No, it should be fine. Plan is to MFC this to 10 soon, btw. > Good to see that autofa has been MFC'd during my vacation 8-) But I found a little problem... When I try to access the NFS exported file-systems on an older test machine (running 7.x, but that is not so relevant, it also happens with other servers), with the following exports: $ showmount -e soekris Exports list on soekris: /var 192.168.0.0 /usr 192.168.0.0 /home 192.168.0.0 / 192.168.0.0 I get: $ ls /net/soekris COPYRIGHT dist libexec proc tmp bin entropy lost+found rescue usr boot etc media root var compat home mnt sbin dev lib which is correct, but the next level fails: $ ls -l /net/soekris/usr total 0 since /usr on soekris is definitely not empty. Relevant output of mount : ... map -hosts on /net (autofs) soekris:/ on /net/soekris (nfs, nosuid, automounted) This is on 10.1-PRERELEASE r270922. The kernel config is GENERIC minus devices I do not have and AUTOFS added. Config files (/etc/auto_master, et al) are default. Mounting manually does succeed (in two steps, of course). When trying this from Mac OS X (I am still on Snow Leopard) automounting works as expected. I did not have the opportunity yet to try a Linux box (also do not know whether autofs there has been eaten by systemd already 8-)). Do I miss something, or is this a bug? Kind regards, Hans