Received: by 2002:a05:7412:b112:b0:f9:3106:f1c0 with SMTP id az18csp121430rdb; Mon, 18 Dec 2023 00:38:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IGKaQ/I+3N4WnrErnrApDnpC8SJiKUCxNEYfozZczrg4Fhq4YSI6g2zt+gPI1lVkD2LnhNv X-Received: by 2002:a05:6808:6541:b0:3ba:1042:aef2 with SMTP id fn1-20020a056808654100b003ba1042aef2mr16115534oib.92.1702888690686; Mon, 18 Dec 2023 00:38:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702888690; cv=none; d=google.com; s=arc-20160816; b=L0w0znOnco73bg+CoNYCYQIFwtZ/t6kv3HbxDyMNJELm1w/7Crw7PNz/pwWosLdDiz A0IWsDTmQKVS7nudiwGTLMyZXao/lbhZR7TIzg4WNaxOjWAd4U+5tU0G0hPjS1rS1v2M RJ35eMFv6G6yyi5kmDSjTcFobzUyZ/hsJTkQVadUi/zYoPvRQpH3QqWskHv6E5knsA5W jXu5fBFZbhiXN4d8gV7u2bK22VwM4cG2wRmUDDnh/QshR7lX21dp0UQUu/HnBlrwgwt2 6tqsku76fMzKzMuy0uHrKOP5opBXQlGOBERIoWtnbhFbcHWKycw8jtfzO219U1Oz96Iu +13g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=eszLuNjms6tr4O+Nl3mn+J0D5b9pCOuMSNU3grI+Y0I=; fh=A3pMOUK00huGibGCZBFsLekFLVbB5hHGKjUNNKwO+5E=; b=FQiBwhGjtPHZL0YU+FCVRPcNtnJUxgK3W4ozDi5bjnJD19HpfYYwqAURQ4lVM4LI4Q 4Y3bbc09FGQb+wS28pGMiv62E04VscXaSFeOQ5avddDOguxEpeEGrQ3YnFAHHiCqOSaw 0BU/X7HJ/2oSmE7B9133fDp0oO04mw7eVwQ8WMKXLZiE+1WV/YlwnMZnfO+zxQs9nNdj pGSF2YAtm5KrFvMb38hCZj+ochu6q96sqwaWa0ZR6UOQud2DeJBVGkDmHG8ClVG9aYca Xp5oSwyiMre+fc0zc5jM1fMmyYTwLPzdmdk1HYAOgq298qCsmCdJxQIDpYvVYmbgbArF KeyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RQ73+Hsx; spf=pass (google.com: domain of linux-nfs+bounces-684-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-684-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d13-20020a0ce44d000000b0067f0cf9a77asi5885280qvm.77.2023.12.18.00.38.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 00:38:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-684-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RQ73+Hsx; spf=pass (google.com: domain of linux-nfs+bounces-684-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-684-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6C6871C22235 for ; Mon, 18 Dec 2023 08:38:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 49E551078B; Mon, 18 Dec 2023 08:37:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RQ73+Hsx" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-oa1-f48.google.com (mail-oa1-f48.google.com [209.85.160.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03168107B0 for ; Mon, 18 Dec 2023 08:37:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-1f060e059a3so2429929fac.1 for ; Mon, 18 Dec 2023 00:37:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702888638; x=1703493438; darn=vger.kernel.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=eszLuNjms6tr4O+Nl3mn+J0D5b9pCOuMSNU3grI+Y0I=; b=RQ73+HsxoYzQZAsyb9wj2IFQdU52tpTjKUdX0pEJQs7aAKQ5yPPv9R4JDpJ3NEpjVP H0m/QBD7QUgTSp2CAg1E4e5ynusi21PbCyP5gAG5ecjgbMCl618Wnjk9HqGCeu9DBUxR Un31Zc8zsUJEFXT7NOJf5h+3oHi4A4PBhS+Cah65q3iGtH9gnE3gtH9D6k5I38E8UMdE 0h9iNKJt/CH0ZdU7Pd8jKCT0jY3vxbhndYonVMkg/shpYecacPV0HsG51ruX5QpijBvF eZcnRT7TlqSZYcGrlnaQzK01RAWzR+CTFmk+XbvsH/mKJw5Lb6ArC3O6H2urJko/sQD7 MTAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702888638; x=1703493438; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eszLuNjms6tr4O+Nl3mn+J0D5b9pCOuMSNU3grI+Y0I=; b=olOeKh4Mz+31OrgZsAZWobq03PYj25kgx+/kw0/vWvW96VGI56ndVQLgEUV58+qE6z zvpC7Q2f4YF0lwVp3X11rf5rYLrRa47FWwisQybcxZzB/neDM2DtH8J+LxJBRvQvsN3k 7sqD1pj2eZ/pttS9/N4oCzszoKmjwq4Iuja6qvjXqJFFRCWcxyxuEDHx1AQRO+RFKxt9 mg41XAEaeWBZjgHoN5KX041GYQXW1m5Y5SJQMHwqe7l1wnLJg97Pbe6bS0kfj1BBLZfc pctZAmpKLkXyI0+m7BgNVX9f39e+Aizj/ZzlvJYsTQwX+gs3tppywE8koYd7i1QF60mq n/qw== X-Gm-Message-State: AOJu0YxZtxTO3zY7fvllDHECyHMrH/sDqDUMEFlOnmCwVnmjmJNmZDdm 15mJ+y4JaoYuCGiJ764i+vF5KUXR3DbqSDWDU6j5Svlx X-Received: by 2002:a05:6870:e40c:b0:203:d998:2041 with SMTP id n12-20020a056870e40c00b00203d9982041mr183137oag.116.1702888637835; Mon, 18 Dec 2023 00:37:17 -0800 (PST) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <7849E95F-603B-49B8-B251-73CAB4811E48@redhat.com> In-Reply-To: <7849E95F-603B-49B8-B251-73CAB4811E48@redhat.com> From: Martin Wege Date: Mon, 18 Dec 2023 09:37:06 +0100 Message-ID: Subject: Re: umount.nfs: /mnt: block devices not permitted on fs To: Linux NFS Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Nov 30, 2023 at 1:26=E2=80=AFPM Benjamin Coddington wrote: > > On 29 Nov 2023, at 22:45, Martin Wege wrote: > > > ? > > > > On Fri, Nov 24, 2023 at 9:57=E2=80=AFAM Martin Wege wrote: > >> > >> Hello, > >> > >> We get a umount.nfs: /mnt: block devices not permitted on fs in a snap > >> container on Ubuntu. > >> > >> Can anyone explain what is going wrong? > > Something in umount is calling umount_error() with -EACCES. I admit that > error message makes no sense, it seems to be cruft. Can this be fixed, please? > > Maybe you can run the umount in gdb with a breakpoint on umount_error() a= nd > send along the stack. This is much more difficult than I expected - the target system is a Ubuntu Core system, which uses SNAPs, and debugging there is a disaster. Does umount have an extended debug output? Thanks, Martin