From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2Ov9M25bDmcYPgAA62LTzQ:P1 (envelope-from ) for ; Tue, 15 Oct 2024 12:09:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2Ov9M25bDmcYPgAA62LTzQ (envelope-from ) for ; Tue, 15 Oct 2024 14:09:18 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="hVO8nkz/"; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=naAp7JBr; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728994158; 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:dkim-signature; bh=kbAtMvlNnESVF3/TUIwRqfE4lFv2w/T1widswNoN/zg=; b=pU/sbSkQyLz/RQTj/09mXH3fySMOqL5bLpJGYM8E44oIdLGYJ7Wh9vmM4O4bIsUPGh3MHF 4EmAjUQwCobCr3CqsAyTS4EOJcKYcq/LXTK47I4xCY+IFxpcMZz81V/vH/k8SlV7X+IVUE r4XLSp5kGiSMIZOjGDZ66cNfrskSzgGILudAv169RU5b9JRxu6WFCO0EAohNRIjeIIBiGC EnA7f4rSoLG9Kda+UnnaQx08qAo0b9OulHcbgi6KyZMH88Blnx14FKJziE1MlX1FfdOrod Sxeoh+7V1jkdphsk4zXuivccHC1mxNsM5D7OLGc9z3BOzy0bFEQ+oAprJpgU/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="hVO8nkz/"; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=naAp7JBr; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728994158; a=rsa-sha256; cv=none; b=e9XmCW6pGAs1LLJ5n9aqse9Kr+JhzDere1n6msm6J3g53xldqwN1b4NAX6cvLiNcsPKuSk 4/3+Fr1hBBVquyP8SArMx3amrQu8tZmzrt8HxckZO+WgKNGiJ1jr4SRBaHuthJGi4jYAOc 90Wz5yvOnwDRCmgCg7wG3xmwj0y4vPm2YbS9OR9kj1H6NfwXLRiBgZUW2eKHIQINbHjtWe srpsQtfDkVKDTytRTI0e1TA6sinaB4G6kKYBWHJUX0hgX7iKQfuDuuF6gawLGVw9ZO4i1Y ZwdodSTeh1eX9ZzOoPfJFNr6j784QYWRtV0oF4PzjGW2ODYI4p0noYwIIBlGHQ== 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 2BA1F43ADA for ; Tue, 15 Oct 2024 14:09:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0gM3-0001Dr-1q; Tue, 15 Oct 2024 08:08:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0gM0-0001DM-VM for bug-guix@gnu.org; Tue, 15 Oct 2024 08:08:45 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t0gM0-00015W-LO for bug-guix@gnu.org; Tue, 15 Oct 2024 08:08:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=kbAtMvlNnESVF3/TUIwRqfE4lFv2w/T1widswNoN/zg=; b=hVO8nkz/Jer/+jB5PHa/QGW8s7gjmDvlgVJ268h01TnnJIdP2IPA7AOzaHaWfKjtJblyWZMTACD3glvgCxhDnVEQ91ArLbdSbPG+AIAk3QILKb+2rQUZb+bVrJ/RRN6Uum85P7iDtrHKPmVBXkJfvh7wPmub7OB/UJijIaVcBnWqLoji5Q5ICEaXteHwb6kllNQrEhK2OqyYFPq1cQC8wPM/2L/YPAZ83dvD6jC37bvC6hY4HXBA6FmKEYUzsT9WVM7ar+z4+574XB141vcYBmUISlvfUwX+vUamjrRphBvtGyBBa6sTbA1vk+n0wgztHAxQ+B8f8zvYGfYduBZA8w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t0gMI-0007Rj-Gv for bug-guix@gnu.org; Tue, 15 Oct 2024 08:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#71226: =?UTF-8?Q?=E2=80=98guix?= shell =?UTF-8?Q?-C=E2=80=99_?= =?UTF-8?Q?doesn=E2=80=99t?= work on Ubuntu 24.04 Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 15 Oct 2024 12:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71226 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: 71226@debbugs.gnu.org Received: via spool by 71226-submit@debbugs.gnu.org id=B71226.172899409828558 (code B ref 71226); Tue, 15 Oct 2024 12:09:02 +0000 Received: (at 71226) by debbugs.gnu.org; 15 Oct 2024 12:08:18 +0000 Received: from localhost ([127.0.0.1]:54356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0gLZ-0007QX-Hb for submit@debbugs.gnu.org; Tue, 15 Oct 2024 08:08:17 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:3965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0gLW-0007QH-TH for 71226@debbugs.gnu.org; Tue, 15 Oct 2024 08:08:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=kbAtMvlNnESVF3/TUIwRqfE4lFv2w/T1widswNoN/zg=; b=naAp7JBrcwZiS+Z40uv4Gy24olKljZd0FtyRatbLtkh/3qylI4xjDhgJ h15Q82XPP9WevOYGXFAdAW/76mpsyfLDhWi2oE1nTQ9CdeK7uOJem/QFT RUfTJuoOaL8/QdxPl1NwgcRWdbp4vXrb+VEFsptd0HdLvQePMYDD5K6qI 4=; X-IronPort-AV: E=Sophos;i="6.11,205,1725314400"; d="scan'208";a="188928221" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2024 14:07:51 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87plrttiia.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 04 Jul 2024 15:05:17 +0200") References: <87wmnfxq2c.fsf@inria.fr> <87plrttiia.fsf@elephly.net> Date: Tue, 15 Oct 2024 14:07:50 +0200 Message-ID: <87sesxzi09.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 3.15 X-Spam-Score: 3.15 X-Migadu-Queue-Id: 2BA1F43ADA X-TUID: aTU4PGhcyaNA Hi Ricardo and all, Ricardo Wurmus skribis: > On Ubuntu 24.04 I created /etc/apparmor.d/guix-shell-container with the > following contents: [...] > I then loaded the profile with "sudo apparmor_parser -qr > /etc/apparmor.d/guix-shell-container". "guix shell -C hello" and "guix > shell -CN hello" worked fine. This issue is informally reported quite frequently these days. Can someone on Ubuntu having this problem confirm that it works for them? And then, bonus points if you can create a patch against Guix that (1) adds the file above under etc/ in the source tree, and (2) changes =E2=80=98etc/guix-install.sh=E2=80=99 to perform the above setup step on Ap= parmor distros, similar to how SELinux is handled. That=E2=80=99d be a much appreciated contribution! Thanks, Ludo=E2=80=99.