Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp498396ybc; Fri, 22 Nov 2019 08:27:51 -0800 (PST) X-Google-Smtp-Source: APXvYqz1/BtOYTZ68ee+gn7xEXd4/np3k05mdhtQqm8+Fq57pP0KcvCew5a3+uxT2SXZbEukKyhY X-Received: by 2002:a50:c30a:: with SMTP id a10mr2117027edb.281.1574440071031; Fri, 22 Nov 2019 08:27:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574440071; cv=none; d=google.com; s=arc-20160816; b=NYQH7nh1sbF5fdXDMMKiAwXc680LH2iTv8fNa7mZP4jGvvtQVbUN5vM7z5zK0RXW3F NuipCZK4Q6yLii4v/S9IqetfUldRTFc6iBt8PCmPBaQc175qfFWpsc8l+EA8vZlIxs3+ f7gG87qnQeODeagRokpvSAsitP9GRaeQ5C3szJCp8GajAQkHLueNfmkPG3CKVykp35AE D1X75UHqPfPRiZhUG08RysNIRnkpaGDoU38e+8lSEws+Mt4VAunIbLrKAeaP0JuDmrfl iQLzluNRlsvmXrBWpwQCnNzSkXdkb/olPyzz6IjiJscGWSwYndRPhX0p1GdxiyaMKEVr GiHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=rl2ryMHKtRg5FMKlXbQ08a+V2KrKF6g8Ox6urptdp2k=; b=D+oqCg5cn60RK9HhYMiHD4ehdNMxIwwRnLCQ7Fn4qkgZJwusmz7mUbc0OPaEnTc4dx bVMV2hyYn6VKLE5XJbLHcmWyjVnBxBGqejosQRzixyFNCGj4YUx2QQZKudwLeZev6XT8 f8OZ7MxcDhKp+M0eezU/nev5LUV+T6pbaygxenzSnk3/m35vmIe6fBtE7DAi2U4CVLNb bhdE7SD49/LQyanywhn0wzu+nSb1iLjRuyVWVKB6A2YCQtXhvzhHs93hPWx6fW4zLaZ8 8bVoE1pjv8hkHw4mjWwn4RMn0OqU1FcGFmhfPQsjreTE7qx+mzw5+4Uuo4MWQ66Ri5nB g8Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GKVt+sqq; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b96si5041479edf.450.2019.11.22.08.27.17; Fri, 22 Nov 2019 08:27:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GKVt+sqq; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726705AbfKVQ1N (ORCPT + 99 others); Fri, 22 Nov 2019 11:27:13 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37918 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726664AbfKVQ1N (ORCPT ); Fri, 22 Nov 2019 11:27:13 -0500 Received: by mail-wr1-f65.google.com with SMTP id i12so9328734wro.5 for ; Fri, 22 Nov 2019 08:27:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rl2ryMHKtRg5FMKlXbQ08a+V2KrKF6g8Ox6urptdp2k=; b=GKVt+sqqYfeb/Gzb+p7fgJFyQFI/LxmPs9e9viSvrYiRUgQT5fK2HA6th/feyeVOTn T+K+7PPbgAAeGdvgHzjf60mvGRR4MEkrPagTeMXQaOgVm8PrmM5bFhJQLAYD8E4e0Kw4 RI/gAYtKefNMhfoyyd3XKLjMExjCdxF+RjF5LNA2yL5P9fCYwG1qBLbx5eSUoxU8jLnC FMZW3xCetzly/2UMGnWW7BjONgClhXhafcxkOE8ULMDaxeoQVwBxaJWXfeinjAz+iWpr 10geALi3YWslzWxbF51fV2cdnR6ZPAtDrNbPg3tGGmcq0IJj4TH1/NysPMJMnehEswJU sO/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=rl2ryMHKtRg5FMKlXbQ08a+V2KrKF6g8Ox6urptdp2k=; b=Ci4gE1MiiX0UZYpqLW0H9Z9Bts904H9xc9SsEImiWcpq3zgF9g7i9hHjPy+fGDnid2 AuYAgdwrzDcp7hxJKNw/qt8uQhZc299SG8YfPxlTCaBn7iijaooCnpUISD5x5OpKWwD9 XyUE1UY7CY/tWQF+haGkP098VvhABTuB/oHMsseoWKXsVzK3YFS274pukRVoKLLc5ktN P7zfsaFjYe+Yq7BAmHG2alsJkbT6qP2bVpQY8ZvJ+zlLW2Z7eUGE2kQ83Qr6i+jh7SD8 1WRNmDLlLjDWDE64V0bK5kloHFHqFYRCajoKI7bkJqbpP8/SE9CKGSi3ElmAh2xB6yNy w8yw== X-Gm-Message-State: APjAAAWYMnCqtKtQ1Ciknj7ghnOdEyzSCClatVbTGWShSpbstOvdF4Lg ac3TojfKWL7S0jDEUnnL5nk= X-Received: by 2002:a05:6000:18e:: with SMTP id p14mr18515432wrx.98.1574440031173; Fri, 22 Nov 2019 08:27:11 -0800 (PST) Received: from dell5510 ([178.21.189.11]) by smtp.gmail.com with ESMTPSA id p9sm8035601wrs.55.2019.11.22.08.27.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2019 08:27:10 -0800 (PST) Date: Fri, 22 Nov 2019 17:27:08 +0100 From: Petr Vorel To: Steve Dickson Cc: linux-nfs@vger.kernel.org, Joey Hess , Chuck Lever Subject: Re: [nfs-utils PATCH 1/1] mount: Do not overwrite /etc/mtab if it's symlink Message-ID: <20191122162708.GB4477@dell5510> Reply-To: Petr Vorel References: <20191120183529.29366-1-petr.vorel@gmail.com> <938c3cf9-0584-d6b9-b3a1-ec12795761c5@RedHat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <938c3cf9-0584-d6b9-b3a1-ec12795761c5@RedHat.com> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi Steve, > On 11/20/19 1:35 PM, Petr Vorel wrote: > > From: Joey Hess > > Some systems have /etc/mtab symlink to /proc/mounts. In that case > > mount.nfs complains: > > Can't set permissions on mtab: Operation not permitted > > See https://bugs.debian.org/476577 > > This change makes mount.nfs handle symlinked /etc/mtab the way > > umount.nfs and util- linux handle it. > > Cc: Chuck Lever > > Signed-off-by: Joey Hess > > [ pvorel: took patch from Debian, rebased for 2.4.3-rc1 and created commit > > message. Patch is also used in Gentoo. ] > > Signed-off-by: Petr Vorel > Committed... (tag: nfs-utils-2-4-3-rc2) I'm sorry for introducing a regression. Send a patch fixing this. https://patchwork.kernel.org/patch/11258155/ > steved. Kind regards, Petr