From owner-freebsd-current@FreeBSD.ORG Mon Aug 4 16:35:25 2014 Return-Path: Delivered-To: freebsd-current@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 3B7F54D6; Mon, 4 Aug 2014 16:35:25 +0000 (UTC) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E5203278C; Mon, 4 Aug 2014 16:35:24 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 827DA25D3810; Mon, 4 Aug 2014 16:35:22 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id A12F7C26033; Mon, 4 Aug 2014 16:35:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id XEZJxJIN6D5n; Mon, 4 Aug 2014 16:35:20 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6] (unknown [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 45C0CC26030; Mon, 4 Aug 2014 16:35:17 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [CFT] Autofs. From: "Bjoern A. Zeeb" In-Reply-To: <20140804161710.GA32801@pc5.home> Date: Mon, 4 Aug 2014 16:35:15 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <5C88BFBD-798C-4F99-92E2-5F75FE622613@lists.zabbadoz.net> References: <20140730071933.GA20122@pc5.home> <3DA39B51-4CE5-437B-9B03-7E34CC954A7E@lists.zabbadoz.net> <20140804161710.GA32801@pc5.home> To: =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-current@FreeBSD.org, freebsd-arch@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2014 16:35:25 -0000 On 04 Aug 2014, at 16:17 , Edward Tomasz Napiera=C5=82a = wrote: > On 0804T1252, Bjoern A. Zeeb wrote: >> On 30 Jul 2014, at 07:19 , Edward Tomasz Napiera=C5=82a = wrote: >>=20 >>> At the link below you will find a patch that adds the new = automounter. >>> The patch is against yesterdays 11.0-CURRENT. >>>=20 >>> http://people.freebsd.org/~trasz/autofs-head-20140729.diff >>=20 >> I also just submitted = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192379 to allow -o = vers=3D mount_nfs compatibility, which makes it easier to integrate with = Linux/OSX/Solaris LDAP setups and mount options from LDAP. >=20 > Nice! Will you commit it? Yeah and MFC for 10.1 unless someone speaks up the next day or two. I = have updated the man page locally and I emailed Rick Macklem; will see = if he=E2=80=99s around. >>> Testing is welcome. Please start with manual pages, eg. = automount(8). >>=20 >>=20 >> I found one case now doing the aforementioned where when the initial = mount_nfs fails (e.g., for invalid options), then a later mount did not = succeed either, with the correct mount options; I did try to run = automount -u in between tries, as well as service automountd restart, = but that did not make a change; given I was short on time, a reboot of = my desktop made this go away. Is there some =E2=80=9Cnegative = caching=E2=80=9D in the kernel module possibly that will not retry the = mount for another time or something=E2=80=94as in if I were more patient = and waited 5 minutes, would it maybe just have worked again? >=20 > There is no negative caching. I'll see if I can figure out the cause > for this. Thanks. I can possibly try to do some more tracing and debugging later = in the week if needed. =E2=80=94=20 Bjoern A. Zeeb "Come on. Learn, goddamn it.", WarGames, 1983