From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yF5XE3JxR2DLKgAA0tVLHw (envelope-from ) for ; Tue, 09 Mar 2021 13:00:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kIoID3JxR2DmXgAAbx9fmQ (envelope-from ) for ; Tue, 09 Mar 2021 13:00:34 +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 aspmx1.migadu.com (Postfix) with ESMTPS id 14AB42E0AD for ; Tue, 9 Mar 2021 14:00:33 +0100 (CET) Received: from localhost ([::1]:36528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJbyR-0002wx-24 for larch@yhetil.org; Tue, 09 Mar 2021 08:00:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJbKI-0004oS-5p for bug-guix@gnu.org; Tue, 09 Mar 2021 07:19:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34316) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJbKH-0002QE-Uh for bug-guix@gnu.org; Tue, 09 Mar 2021 07:19:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJbKH-0000gI-Q9 for bug-guix@gnu.org; Tue, 09 Mar 2021 07:19:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#47007: dcb640f02b broke guix environment --container Resent-From: Jelle Licht Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Mar 2021 12:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 47007-submit@debbugs.gnu.org id=B47007.16152922902558 (code B ref 47007); Tue, 09 Mar 2021 12:19:01 +0000 Received: (at 47007) by debbugs.gnu.org; 9 Mar 2021 12:18:10 +0000 Received: from localhost ([127.0.0.1]:45862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJbJR-0000fC-Pe for submit@debbugs.gnu.org; Tue, 09 Mar 2021 07:18:10 -0500 Received: from mail1.fsfe.org ([217.69.89.151]:45714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJbJP-0000f3-Ji for 47007@debbugs.gnu.org; Tue, 09 Mar 2021 07:18:08 -0500 From: Jelle Licht In-Reply-To: <87wnug8tvs.fsf@gnu.org> References: <86a6rdg45p.fsf@fsfe.org> <87wnug8tvs.fsf@gnu.org> Date: Tue, 09 Mar 2021 13:18:04 +0100 Message-ID: <867dmgfrlv.fsf@fsfe.org> 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: 47007@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615294834; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=fByBMCgeYHtdAHz96Z0laqvMytKRa8lNjIqD+zrTbqw=; b=LKHskDKvraEd7rF8Zx9WEO9QcF+OPF5dDbFYCVuZ70nbI75pYEaDtOxSjN3xVcX7pghynl PIVzYuWHJiMhi2Cm1d5NG2avFneqYKH7vOSDIZW0TX0tbmvnro9smMtUrJ6MsyYUNMPieF hVBxZEuwf/9aNX1J01T13nVjF1ZSbnY8trS15Ki6vWEv+rVntjG5JhFAMGg4xYqs02PA3m J9qIDWFDecHeZ5WdgS8qHwBeuP8IMsgyhCdvXUoAzXdxBPkr49r/YFxPaZwDdPWLO5Tkio j7ierRsWx+rvjvgWSeusjMrxFPPRwJelj4iyrDfuSMj3HSY5hOQO+ajpoqmXEw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615294834; a=rsa-sha256; cv=none; b=BrZa+nP8Fp42YGAty532HDAIUjYZqaXIH9Kvl6R9MXV1rOC1uS/4oXHKv4CNFz2dEU2tcF ccOh6Y7grYsTS+97mAGfTR4ygh5tC2Y1Y8+jykwnyrPKvST+ksH+AtUqSH5PyAcLmH5EQO DF87+MCcYdYbafNBgoL7TdOQMO4kZfqtRiNQs9Yg2FfM4zmfh4UDi5nhF6O32FpDki0x6T eu6xbxtJc7yxb7gH5olw6IK6YaPiA3cyfRQ86yi0+WMbFNccm1b1JK0u3QCjeoKPpTKXEe egvHXaVblZ0QTN9fcI4WrXgJaYX2ROrdDTm97rSjvwZpMUf3xmXpKnjgjXf02g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=fsfe.org (policy=none); spf=pass (aspmx1.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-Spam-Score: -2.28 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=fsfe.org (policy=none); spf=pass (aspmx1.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: 14AB42E0AD X-Spam-Score: -2.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7SV1YC1NSk2D Ludovic Court=C3=A8s writes: > Hi, > > Jelle Licht skribis: > >> I only tried this on x86_64 guix systems, one with Linux kernel 5.11.2, >> and also on a Linux-libre kernel 4.14.223. >> >> Running the equivalent of a `git bisect' starting some months back to >> today's master, and with the following test to select bad/good bisect re= visions: >> >> `./pre-inst-env guix environment --ad-hoc --container --no-cwd --network= hello' This was intended to be, in case that was unclear: `./pre-inst-env guix environment --ad-hoc --container --no-cwd --network he= llo -- hello' >> [snip] >> guix environment: error: mount: mount "/gnu/store/mmhimfwmmidf09jw1plw3a= w1g1zn2nkh-bash-static-5.0.16" on "/tmp/guix-directory.Ji7KNW//gnu/store/mm= himfwmmidf09jw1plw3aw1g1zn2nkh-bash-static-5.0.16": Operation not permitted > > Could you run: > > ./pre-inst-env strace -f -o log guix environment --container > > and send the =E2=80=98log=E2=80=99 file (or the bits around the mount(2) = calls)? I ran it using a `guix pull'ed guix on the master branch, commit c4195a10783. I hope that's fine. There you go: --8<---------------cut here---------------start------------->8--- 26123 stat("/gnu/store/mmhimfwmmidf09jw1plw3aw1g1zn2nkh-bash-static-5.0.16"= , {st_mode=3DS_IFDIR|0555, st_size=3D4096, ...}) =3D 0 26123 mkdir("/tmp", 0777) =3D -1 EEXIST (File exists) 26123 mkdir("/tmp/guix-directory.9IH6jJ", 0777) =3D -1 EEXIST (File exists) 26123 mkdir("/tmp/guix-directory.9IH6jJ/gnu", 0777) =3D 0 26123 mkdir("/tmp/guix-directory.9IH6jJ/gnu/store", 0777) =3D 0 26123 mkdir("/tmp/guix-directory.9IH6jJ/gnu/store/mmhimfwmmidf09jw1plw3aw1g= 1zn2nkh-bash-static-5.0.16", 0777) =3D 0 26123 mount("/gnu/store/mmhimfwmmidf09jw1plw3aw1g1zn2nkh-bash-static-5.0.16= ", "/tmp/guix-directory.9IH6jJ//gnu/store/mmhimfwmmidf09jw1plw3aw1g1zn2nkh-= bash-static-5.0.16", 0x15a2060, MS_RDONLY|MS_BIND|MS_RELATIME, NULL) =3D 0 26123 mount("/gnu/store/mmhimfwmmidf09jw1plw3aw1g1zn2nkh-bash-static-5.0.16= ", "/tmp/guix-directory.9IH6jJ//gnu/store/mmhimfwmmidf09jw1plw3aw1g1zn2nkh-= bash-static-5.0.16", 0x15a20f0, MS_RDONLY|MS_REMOUNT|MS_BIND|MS_RELATIME, N= ULL) =3D -1 EPERM (Operation not permitted) --8<---------------cut here---------------end--------------->8--- > Could you also show /proc/mounts? --8<---------------cut here---------------start------------->8--- none /proc proc rw,relatime 0 0 none /dev devtmpfs rw,relatime,size=3D3944948k,nr_inodes=3D986237,mode=3D75= 5 0 0 none /sys sysfs rw,relatime 0 0 /dev/sda1 / ext4 rw,relatime,data=3Dordered 0 0 none /dev/pts devpts rw,relatime,gid=3D996,mode=3D620,ptmxmode=3D000 0 0 none /sys/kernel/debug debugfs rw,relatime 0 0 tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0 /dev/sda1 /gnu/store ext4 ro,noatime,data=3Dordered 0 0 none /run/systemd tmpfs rw,nosuid,nodev,noexec,relatime,mode=3D755 0 0 none /run/user tmpfs rw,nosuid,nodev,noexec,relatime,mode=3D755 0 0 cgroup /sys/fs/cgroup tmpfs rw,relatime 0 0 cgroup /sys/fs/cgroup/elogind cgroup rw,relatime,name=3Delogind 0 0 cgroup /sys/fs/cgroup/cpuset cgroup rw,relatime,cpuset 0 0 cgroup /sys/fs/cgroup/cpu cgroup rw,relatime,cpu 0 0 cgroup /sys/fs/cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0 cgroup /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0 cgroup /sys/fs/cgroup/devices cgroup rw,relatime,devices 0 0 cgroup /sys/fs/cgroup/freezer cgroup rw,relatime,freezer 0 0 cgroup /sys/fs/cgroup/blkio cgroup rw,relatime,blkio 0 0 cgroup /sys/fs/cgroup/perf_event cgroup rw,relatime,perf_event 0 0 cgroup /sys/fs/cgroup/pids cgroup rw,relatime,pids 0 0 none /var/cache/fontconfig tmpfs ro,relatime 0 0 cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsde= legate 0 0 tmpfs /run/user/1001 tmpfs rw,nosuid,nodev,relatime,size=3D790824k,mode=3D7= 00,uid=3D1001,gid=3D997 0 0 --8<---------------cut here---------------end--------------->8--- FWIW, I only have this issue on Guix System: on my Ubuntu 20.04.2 things JustWork(tm) Thanks for taking a look, - Jelle