Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3533690pxb; Tue, 20 Apr 2021 10:18:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzr4IBMWGRu3fjDb5KX8fureLOQ+BVf+iWtnCQ3P0XdFZuu3yRMeLdTFxt+qOJSkUMGkJTb X-Received: by 2002:a17:902:dacd:b029:e5:cf71:3901 with SMTP id q13-20020a170902dacdb02900e5cf713901mr28873537plx.23.1618939105933; Tue, 20 Apr 2021 10:18:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618939105; cv=none; d=google.com; s=arc-20160816; b=tFRhQmfPr2jIpwRU53Sifundi9iCN6CZk9kGHjW+6B6hIam47AcQ3O53b+knwL8vb7 0OZclei+4ls4JSxPa4y70hyKdBo+52UNwYxoZQutuPPuRYrktm39Uu+ZoOwyHHiNn/Jt By8k9et1MuA6yROFqLHttLv9w8pFxUVoPff+zdk0Ke0eHDSwbWi4Lrk3Fhxbu0a/al5V NeTqFRcCnHHz9wLNtV7Tyye6w1x7/LLUDhRg+yvFsuBR9i8yP09nRqfykRg0jaidmF+Q 5vEkIWCo7ylYfQ7pOb23C/eDcSNQ6QjXz/ffZYGhA2mK+5nO1rod580IMERTdKMtCi3q 1XMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:from:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date :dkim-signature:dkim-filter; bh=5Gzb3i+PfObe7fBLgtIfVyXGFHLcpBiFHvZyKBaqIRA=; b=t1YHLcwv/IhiP0OIHMVpoQIGx8Y9iSGtw/ylyM7/y+Qi5qrCyfM27PfqPSv2zMxHnk 8iQFn85NmCzs7B0ZyX01v0AGvbvFVCgIiwH4JFRmc5KvOdpLKIfPRodHuhZ0sdIyQtl0 wCY2tR/NeL7J7zvQ1iouH7oXvVbDynGKtE0y0YHjdHKJj1vxOHzfdRwRfYkMb8KPHG6d Ckn/CQ40nhPGurSC+ZZnE7+LcRaZ+HScOn7ncBrpyCiXMWSKnR9cOi2+gUpHfCiWUor+ mC5+Z7Fb2tvk49mqSKYY2jkedos+6K+uq/w+LARI2eKCSKJUBpnUGs6k0pQMHx+QbCjg 5jCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b="Q/TO5JPL"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m6si3849512pfd.292.2021.04.20.10.18.10; Tue, 20 Apr 2021 10:18:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b="Q/TO5JPL"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233362AbhDTRSi (ORCPT + 99 others); Tue, 20 Apr 2021 13:18:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233352AbhDTRSi (ORCPT ); Tue, 20 Apr 2021 13:18:38 -0400 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3951C06174A for ; Tue, 20 Apr 2021 10:18:06 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id 48F107274; Tue, 20 Apr 2021 13:18:06 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 48F107274 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1618939086; bh=5Gzb3i+PfObe7fBLgtIfVyXGFHLcpBiFHvZyKBaqIRA=; h=Date:To:Cc:Subject:References:In-Reply-To:From:From; b=Q/TO5JPLV5DYkXnhBEuYXjOCYlV9wGAnLeK+GjIywcj9OALw8trP1jH27J9rr7TdC VArvoN/gpZ0PL+DYgQg8Uxi5PQgtYJ/xFXZQuTFulEIKrp7LCVr01V2YjU368SUs7+ WHRyB7bPN5VX1P3DED/FrpabryFeMhx0fL56xFU0= Date: Tue, 20 Apr 2021 13:18:06 -0400 To: Trond Myklebust Cc: "SteveD@RedHat.com" , "chuck.lever@oracle.com" , "linux-nfs@vger.kernel.org" , "ajmitchell@redhat.com" Subject: Re: [PATCH 0/3] Enable the setting of a kernel module parameter from nfs.conf Message-ID: <20210420171806.GC4017@fieldses.org> References: <5adff402-5636-3153-2d9f-d912d83038fc@RedHat.com> <366FA143-AB3E-4320-8329-7EA247ADB22B@oracle.com> <77a6e5a4-7f14-c920-0277-2284983e6814@RedHat.com> <2F7FBCA0-7C8D-41F0-AC39-0C3233772E31@oracle.com> <20A43DDA-C08E-4E39-A83C-24E326768ADE@oracle.com> <2d7d391802a3984b68aa8b3e7f360b0b6cb733dc.camel@hammerspace.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2d7d391802a3984b68aa8b3e7f360b0b6cb733dc.camel@hammerspace.com> User-Agent: Mutt/1.5.21 (2010-09-15) From: bfields@fieldses.org (J. Bruce Fields) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Apr 20, 2021 at 02:31:58PM +0000, Trond Myklebust wrote: > I think the important thing is, as Chuck said, that the setting of the > uniquifier has to be automated. There are too many instances out there > of people who get confused because they are using a default hostname, > such as 'localhost.localdomain' and are setting no uniquifier. > > So the point is that it needs to be persisted by an automated script if > unset. > > While that script could use nfsconf to get/set the persisted > uniquifier, the worry is that such an automated change might be made > while the user is performing some other edit of nfs.conf. What happens > then? The one thing I'm a little uneasy about is ignoring /etc/machine-id. Seems like distros *should* be creating it for us. And it would be convenient to have one source of machine identity rather than separate ones for different subsystems. Maybe we could use that if it exists, and fall back on generating our own only if it doesn't? (Well, where "use it" actually means take a hash of it, as explained in machine-id(5).) --b.