Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp264597rdb; Thu, 30 Nov 2023 04:26:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IGs3gde4iL71yPVmhrsmByckeWzZiQJd/eMi1NXsif8cDafk0j+V64khEHA9djUad706O6d X-Received: by 2002:aa7:c608:0:b0:54a:f1db:c2b4 with SMTP id h8-20020aa7c608000000b0054af1dbc2b4mr15817226edq.12.1701347212486; Thu, 30 Nov 2023 04:26:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701347212; cv=none; d=google.com; s=arc-20160816; b=eAcYJpHNsE3GFkNj58UwecX+rBluAjt+ESWnrW0e84rtlMMEmnCza2a4bPU9aVses/ urgF36adi/2RTpUP47qYIWig+7VMJC3AelopdCndP30OMJ3cp7Wnh0TciEGgc+OCOe9F L1bsMdvgqgB7Slg90paamvGAAUnD1Gz3v7pL5GU191zbIglPPmMy7ozCG6i7cQymOpPx v+bYQJoQlCueo1j8LvjFRad4TK3X2q/BoLEhKCnMWzl5eaL4Jehd2aG/kewdc04rWZVQ UQ8iXatPrGZEWV7XWh6YS31LUm+yrE2V2VNIDHUFQxUfarg0aPT+oLTBHfP4/5t8DhYZ dMqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=y8tEhpp6179rqqcTcAZ+nOKXUtgfEYtRgYCZ9Fv9kcU=; fh=sNPrBjA++yHSLwvfVTpITizLEq/w9O7gi5qJ/WgO1Ko=; b=fyJVpnoAPgZKPJlNaxjCOYkzkkmu7JGgzpQdK8HvukaSyxM/zws1wkcnfJ8hQUyryh JLYwZPxUV709bgPkXaSd4AGP/mIKQkUoo20EDa4J3TIJ5yjOaEYcH8PPOzO39n3tZb4P gTMnxWMzR6kyZ1b64KFpInWDAyX/oALyAdYdT/8szH3f8NznPrXoujRnM0sE0wUnKEhI R1Wwyj2aODVfYIH7wApqbsPGbvKfKvASjmRR0zCT162SzIYborwBi6rypu0gfFwOOSuj z1XtiF8XkRw0+OPm5Wgd0UiScOJ1sz7RV4qjaOE4F7OAL42tbND/R99Ran48JGC9rEh1 c+HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LF2ixhV9; spf=pass (google.com: domain of linux-nfs+bounces-199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-199-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id m6-20020a056402430600b0054b7bd0e1c4si508205edc.540.2023.11.30.04.26.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 04:26:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LF2ixhV9; spf=pass (google.com: domain of linux-nfs+bounces-199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-199-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 235F71F20F1A for ; Thu, 30 Nov 2023 12:26:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5FBF24776B; Thu, 30 Nov 2023 12:26:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="LF2ixhV9" X-Original-To: linux-nfs@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8807810DB for ; Thu, 30 Nov 2023 04:26:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701347205; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y8tEhpp6179rqqcTcAZ+nOKXUtgfEYtRgYCZ9Fv9kcU=; b=LF2ixhV9+KYZHfsdRkdNyUJ0yrJfGN3503HpTWnAM3+orICt1pt7w6mO1f5mYzI6yWpazA V6nFuOySZ/HuLv62zDIX9L7lKidmeRHwBP/fkj1jNC44DGwZUDBE+QoIzDsgCifOmV4Vry 23TVTmSynQ0crGD5HaNWHEmk9cx6Q6M= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-26-kep8ImsCPJeJK0YSQ6CZ7A-1; Thu, 30 Nov 2023 07:26:43 -0500 X-MC-Unique: kep8ImsCPJeJK0YSQ6CZ7A-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 384621C0690F; Thu, 30 Nov 2023 12:26:43 +0000 (UTC) Received: from [192.168.37.1] (unknown [10.22.48.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B465A112130A; Thu, 30 Nov 2023 12:26:42 +0000 (UTC) From: Benjamin Coddington To: Martin Wege Cc: Linux NFS Mailing List Subject: Re: umount.nfs: /mnt: block devices not permitted on fs Date: Thu, 30 Nov 2023 07:23:41 -0500 Message-ID: <7849E95F-603B-49B8-B251-73CAB4811E48@redhat.com> In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 On 29 Nov 2023, at 22:45, Martin Wege wrote: > ? > > On Fri, Nov 24, 2023 at 9:57 AM 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. Maybe you can run the umount in gdb with a breakpoint on umount_error() and send along the stack. Ben