From unknown Fri Jun 20 19:45:57 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#71552 <71552@debbugs.gnu.org> To: bug#71552 <71552@debbugs.gnu.org> Subject: Status: [PATCH] pack: Create /tmp in Apptainer images. Reply-To: bug#71552 <71552@debbugs.gnu.org> Date: Sat, 21 Jun 2025 02:45:57 +0000 retitle 71552 [PATCH] pack: Create /tmp in Apptainer images. reassign 71552 guix-patches submitter 71552 Lars Bilke severity 71552 normal tag 71552 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 14 09:24:34 2024 Received: (at submit) by debbugs.gnu.org; 14 Jun 2024 13:24:35 +0000 Received: from localhost ([127.0.0.1]:40137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sI6uw-0005CS-IP for submit@debbugs.gnu.org; Fri, 14 Jun 2024 09:24:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:41494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sI6us-0005CG-Dz for submit@debbugs.gnu.org; Fri, 14 Jun 2024 09:24:32 -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 1sI6us-000498-09 for guix-patches@gnu.org; Fri, 14 Jun 2024 09:24:30 -0400 Received: from mailgate4.ufz.de ([141.65.7.211] helo=mailgate.ufz.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sI6up-0000Tc-Nk for guix-patches@gnu.org; Fri, 14 Jun 2024 09:24:29 -0400 Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135]) by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id B42D316002E for ; Fri, 14 Jun 2024 15:24:16 +0200 (CEST) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: TEXT/PLAIN Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) id <0SF200A00NT27R00@imap.intranet.ufz.de> for guix-patches@gnu.org; Fri, 14 Jun 2024 15:24:16 +0200 (CEST) Received: from smtp2.ufz.de ([141.65.7.217]) by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) with ESMTPS id <0SF2005Y9NWG3O40@imap.intranet.ufz.de> for guix-patches@gnu.org; Fri, 14 Jun 2024 15:24:16 +0200 (CEST) Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp2.ufz.de (smtp2-UFZ) with ESMTPSA id 1F085E0053; Fri, 14 Jun 2024 15:24:16 +0200 (CEST) Date: Fri, 14 Jun 2024 15:23:48 +0200 From: Lars Bilke Subject: [PATCH] pack: Create /tmp in Apptainer images. To: guix-patches@gnu.org Message-id: X-Mailer: git-send-email 2.44.0 X-Debbugs-Cc: Christopher Baines , Josselin Poiret , Ludovic Court**s , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received-SPF: pass client-ip=141.65.7.211; envelope-from=lars.bilke@ufz.de; helo=mailgate.ufz.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Lars Bilke X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Related to and . Change-Id: I576aaa6ba8cb8478acf4c3144d492ae5caf411ca --- guix/scripts/pack.scm | 3 ++- tests/pack.scm | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm index fe4df042d7..7c5fe76fe0 100644 --- a/guix/scripts/pack.scm +++ b/guix/scripts/pack.scm @@ -493,7 +493,8 @@ (define* (squashfs-image name profile "-p" "/proc d 555 0 0" "-p" "/sys d 555 0 0" "-p" "/dev d 555 0 0" - "-p" "/home d 555 0 0")) + "-p" "/home d 555 0 0" + "-p" "/tmp d 555 0 0")) (when database ;; Initialize /var/guix. diff --git a/tests/pack.scm b/tests/pack.scm index 40897a5589..f8a9e09c28 100644 --- a/tests/pack.scm +++ b/tests/pack.scm @@ -328,6 +328,7 @@ (define rpm-for-tests (when (and (file-exists? (string-append bin "/guile")) (file-exists? "var/guix/db/db.sqlite") + (file-is-directory? "tmp") (string=? (string-append #$%bootstrap-guile "/bin") (pk 'binlink (readlink bin))) base-commit: 0beb0dbfe036763e7b5d6c999fe2b3fc89faa6cb -- 2.44.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 14 09:32:19 2024 Received: (at 71552) by debbugs.gnu.org; 14 Jun 2024 13:32:19 +0000 Received: from localhost ([127.0.0.1]:40153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sI72R-0005eE-4p for submit@debbugs.gnu.org; Fri, 14 Jun 2024 09:32:19 -0400 Received: from mailgate5.ufz.de ([141.65.7.212]:51976 helo=mailgate.ufz.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sI72L-0005dv-Ns for 71552@debbugs.gnu.org; Fri, 14 Jun 2024 09:32:17 -0400 Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135]) by mailgate.ufz.de (Mailgate5-UFZ) with ESMTP id 5AE7A1602CA for <71552@debbugs.gnu.org>; Fri, 14 Jun 2024 15:32:07 +0200 (CEST) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) id <0SF200A00NXTKK00@imap.intranet.ufz.de> for 71552@debbugs.gnu.org; Fri, 14 Jun 2024 15:32:07 +0200 (CEST) Received: from smtp1.ufz.de ([141.65.7.216]) by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) with ESMTPS id <0SF2005AVO9J3O50@imap.intranet.ufz.de> for 71552@debbugs.gnu.org; Fri, 14 Jun 2024 15:32:07 +0200 (CEST) Received: from [169.254.154.165] (unknown [141.65.34.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp1.ufz.de (smtp1-UFZ) with ESMTPSA id 360808020B for <71552@debbugs.gnu.org>; Fri, 14 Jun 2024 15:32:07 +0200 (CEST) Date: Fri, 14 Jun 2024 15:32:07 +0200 From: Lars Bilke Subject: Re: bug#71552: Acknowledgement ([PATCH] pack: Create /tmp in Apptainer images.) In-reply-to: To: 71552@debbugs.gnu.org Message-id: <4C277C99-CCF0-4B11-AB00-FB23F7300320@ufz.de> X-Mailer: MailMate (1.14r5937) References: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71552 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Partly fixes . We could add the /var/tmp mount point as well. On 14 Jun 2024, at 15:25, GNU bug Tracking System wrote: > Thank you for filing a new bug report with debbugs.gnu.org. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. > > As you requested using X-Debbugs-CC, your message was also forwarded to > Christopher Baines , Josselin Poiret , Ludovic Court**s , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice > (after having been given a bug report number, if it did not have one). > > Your message has been sent to the package maintainer(s): > guix-patches@gnu.org > > If you wish to submit further information on this problem, please > send it to 71552@debbugs.gnu.org. > > Please do not send mail to help-debbugs@gnu.org unless you wish > to report a problem with the Bug-tracking system. > > -- > 71552: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71552 > GNU Bug Tracking System > Contact help-debbugs@gnu.org with problems From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 10 10:03:19 2024 Received: (at 71552-done) by debbugs.gnu.org; 10 Jul 2024 14:03:19 +0000 Received: from localhost ([127.0.0.1]:56828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRXug-0003eE-Sb for submit@debbugs.gnu.org; Wed, 10 Jul 2024 10:03:19 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:62470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRXuc-0003dw-JZ for 71552-done@debbugs.gnu.org; Wed, 10 Jul 2024 10:03:18 -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=SDJgz5EbFnnNYdxZhgRrFD7+ILJw6HAspHbyex2+gAQ=; b=JErmTBVm95u9zBS1rSO0Q9AZD4Jtoi4uN82U0iVimYUZ+n1+l41NJVYK X57HMeeCASmd5L3tP8VT7q5UAqIcY/5jbMrg/ZGI0Z6dJVTWEZ50w36hJ JNpTzAcPixyxFs74/YNbStmVTtJb6eXnQ47x2FKVeGVy60bRZ/e0Cs+Tt U=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.09,198,1716242400"; d="scan'208";a="91847265" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jul 2024 16:03:02 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Lars Bilke Subject: Re: [bug#71552] [PATCH] pack: Create /tmp in Apptainer images. In-Reply-To: (Lars Bilke's message of "Fri, 14 Jun 2024 15:23:48 +0200") References: Date: Wed, 10 Jul 2024 16:03:00 +0200 Message-ID: <871q4173aj.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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71552-done Cc: Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Ricardo Wurmus , Christopher Baines , 71552-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Lars, Lars Bilke skribis: > Related to and > . > > Change-Id: I576aaa6ba8cb8478acf4c3144d492ae5caf411ca I tweaked the commit log to match our conventions and applied it. Thanks! I don=E2=80=99t recall having problems with images that lack /tmp (we use = =E2=80=98guix pack -f squashfs=E2=80=99 regularly at work), but I guess having it cannot = hurt. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 15 03:08:21 2024 Received: (at 71552-done) by debbugs.gnu.org; 15 Jul 2024 07:08:22 +0000 Received: from localhost ([127.0.0.1]:58895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sTFor-00082E-GG for submit@debbugs.gnu.org; Mon, 15 Jul 2024 03:08:21 -0400 Received: from mailgate4.ufz.de ([141.65.7.211]:60694 helo=mailgate.ufz.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sTFop-000822-8T for 71552-done@debbugs.gnu.org; Mon, 15 Jul 2024 03:08:20 -0400 Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135]) by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id DB8D6160280; Mon, 15 Jul 2024 09:08:11 +0200 (CEST) MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_aKOlkt24Z6YFRdVJAymJzg)" Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) id <0SGN00E00KTKD400@imap.intranet.ufz.de>; Mon, 15 Jul 2024 09:08:11 +0200 (CEST) Received: from smtp1.ufz.de ([141.65.7.217]) by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) with ESMTPS id <0SGN004AEL5MOT90@imap.intranet.ufz.de>; Mon, 15 Jul 2024 09:08:11 +0200 (CEST) Received: from [141.65.54.134] (unknown [141.65.54.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp1.ufz.de (smtp2-UFZ) with ESMTPSA id CD480E004B; Mon, 15 Jul 2024 09:08:10 +0200 (CEST) Date: Mon, 15 Jul 2024 09:08:10 +0200 From: Lars Bilke Subject: Re: [bug#71552] [PATCH] pack: Create /tmp in Apptainer images. In-reply-to: <871q4173aj.fsf@gnu.org> To: =?utf-8?q?Ludovic_Court=C3=A8s?= Message-id: X-Mailer: MailMate (1.14r5937) References: <871q4173aj.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71552-done Cc: Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Ricardo Wurmus , Christopher Baines , 71552-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --Boundary_(ID_aKOlkt24Z6YFRdVJAymJzg) Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: quoted-printable Hi Ludo, thanks a lot for merging! Without this patch I could not run OpenMPI / PETSc applications via = apptainer, I had to specify `apptainer exec --bind /tmp:/tmp ...` but I = can't recall the actual error message anymore... Sincerely, Lars On 10 Jul 2024, at 16:03, Ludovic Court=C3=A8s wrote: > Hi Lars, > > Lars Bilke skribis: > >> Related to and >> = >> . >> >> Change-Id: I576aaa6ba8cb8478acf4c3144d492ae5caf411ca > > I tweaked the commit log to match our conventions and applied it. > Thanks! > > I don=E2=80=99t recall having problems with images that lack /tmp (we u= se = > =E2=80=98guix > pack -f squashfs=E2=80=99 regularly at work), but I guess having it can= not = > hurt. > > Ludo=E2=80=99.= --Boundary_(ID_aKOlkt24Z6YFRdVJAymJzg) Content-type: text/html; charset=UTF-8 Content-transfer-encoding: QUOTED-PRINTABLE

Hi Ludo,

thanks a lot for merging!

Without this patch I could not run OpenMPI / PETSc ap= plications via apptainer, I had to specify = apptainer exec --bind /tmp:/tmp ... but I can't recall the act= ual error message anymore...

Sincerely,
Lars

On 10 Jul 2024, at 16:03, Ludovic Court=C3=A8s wrote:=

Ludo=E2=80=99.

--Boundary_(ID_aKOlkt24Z6YFRdVJAymJzg)-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 15 03:49:28 2024 Received: (at 71552-done) by debbugs.gnu.org; 15 Jul 2024 07:49:29 +0000 Received: from localhost ([127.0.0.1]:58956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sTGSe-0000ip-Ke for submit@debbugs.gnu.org; Mon, 15 Jul 2024 03:49:28 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:21446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sTGSc-0000iZ-NC for 71552-done@debbugs.gnu.org; Mon, 15 Jul 2024 03:49:27 -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=7iwLQGsxHPvq3k5YS/5JrZzMnlMP1FsK2aNzu0mBEb8=; b=g53Er3CXqz/ni5ZZ+G2rEKPkyHYWwdn/E6MndUlrd9LKUa0DvGJU6YI+ vPrGJOGCXnPJ0YaJA6T6WqboBNX0w6+KXWhIFTPhg0v6Vtbc1gdUmuDcj zkAGwF0Ss0vf+gaBRiwg8iagbe0DJsZ+ToYyV53E0eROZbdkOSmr0x0jI c=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.09,209,1716242400"; d="scan'208";a="175444794" Received: from unknown (HELO ribbon) ([193.50.110.239]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2024 09:49:18 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Lars Bilke Subject: Re: [bug#71552] [PATCH] pack: Create /tmp in Apptainer images. In-Reply-To: (Lars Bilke's message of "Mon, 15 Jul 2024 09:08:10 +0200") References: <871q4173aj.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 28 Messidor an 232 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour de la Vesce X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 15 Jul 2024 09:49:17 +0200 Message-ID: <87jzhn2iyq.fsf@inria.fr> 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71552-done Cc: Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Ricardo Wurmus , Christopher Baines , 71552-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Lars Bilke skribis: > Without this patch I could not run OpenMPI / PETSc applications via > apptainer, I had to specify `apptainer exec --bind /tmp:/tmp ...` but > I can't recall the actual error message anymore... OK (I believe we only used the older =E2=80=98singularity=E2=80=99 command,= which might be different in this regard). Thanks for explaining, Ludo=E2=80=99. From unknown Fri Jun 20 19:45:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 12 Aug 2024 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator