From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QAYMF699M2C7PwAA0tVLHw (envelope-from ) for ; Mon, 22 Feb 2021 09:47:27 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YL3UEq99M2DLMwAAbx9fmQ (envelope-from ) for ; Mon, 22 Feb 2021 09:47:27 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 8DAF182DA for ; Mon, 22 Feb 2021 10:47:26 +0100 (CET) Received: from localhost ([::1]:39870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE7oL-000353-9c for larch@yhetil.org; Mon, 22 Feb 2021 04:47:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lE7ny-00032E-6P for bug-guix@gnu.org; Mon, 22 Feb 2021 04:47:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44121) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lE7nx-0000lh-VK for bug-guix@gnu.org; Mon, 22 Feb 2021 04:47:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lE7nx-000657-Rp for bug-guix@gnu.org; Mon, 22 Feb 2021 04:47:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46292: =?UTF-8?Q?=E2=80=98guix?= environment =?UTF-8?Q?-C=E2=80=99?= fails with Linux 4.19 (Debian) Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 Feb 2021 09:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46292 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Lucas Nussbaum Received: via spool by 46292-submit@debbugs.gnu.org id=B46292.161398720423352 (code B ref 46292); Mon, 22 Feb 2021 09:47:01 +0000 Received: (at 46292) by debbugs.gnu.org; 22 Feb 2021 09:46:44 +0000 Received: from localhost ([127.0.0.1]:55667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE7nf-00064a-VE for submit@debbugs.gnu.org; Mon, 22 Feb 2021 04:46:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE7nd-00064M-Vc for 46292@debbugs.gnu.org; Mon, 22 Feb 2021 04:46:42 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51420) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE7nY-0000bX-1F; Mon, 22 Feb 2021 04:46:36 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42332 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lE7nW-000154-TM; Mon, 22 Feb 2021 04:46:35 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87h7ms8658.fsf@inria.fr> <20210210060403.GA15175@xanadu.blop.info> <877dn5sj14.fsf_-_@gnu.org> <20210218132334.GC20744@xanadu.blop.info> Date: Mon, 22 Feb 2021 10:46:33 +0100 In-Reply-To: <20210218132334.GC20744@xanadu.blop.info> (Lucas Nussbaum's message of "Thu, 18 Feb 2021 14:23:34 +0100") Message-ID: <871rd8e8p2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 46292@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.87 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx2.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 8DAF182DA X-Spam-Score: -2.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: rXTZOMdp0YNY Hi Lucas, Lucas Nussbaum skribis: > On 18/02/21 at 12:38 +0100, Ludovic Court=C3=A8s wrote: [...] >> I tried grabbing mount options from there and reapplying them to the >> MS_REMOUNT call (patch below). However, that still doesn=E2=80=99t work: >>=20 >> --8<---------------cut here---------------start------------->8--- >> 14273 mount("/gnu/store/mmhimfwmmidf09jw1plw3aw1g1zn2nkh-bash-static-5.0= .16", "/tmp/guix-directory.Plgkgt//gnu/store/mmhimfwmmidf09jw1plw3aw1g1zn2n= kh-bash-static-5.0.16", 0x236a4b0, MS_RDONLY|MS_REMOUNT|MS_BIND, "rw,nosuid= ,nodev,relatime") =3D -1 EPERM (Operation not permitted) >> --8<---------------cut here---------------end--------------->8--- > > That's strange: it worked in my manual tests. I investigated some more and can=E2=80=99t get it to work. Do you happen to have a working invocation or C snippet? Thanks, Ludo=E2=80=99.