From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GLG/K+d+N2e4DAAAqHPOHw:P1 (envelope-from ) for ; Fri, 15 Nov 2024 17:03:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GLG/K+d+N2e4DAAAqHPOHw (envelope-from ) for ; Fri, 15 Nov 2024 18:03:35 +0100 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=pc+vBtPq; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=cy4W24ln; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731690215; a=rsa-sha256; cv=none; b=iKKNtSV4SqfxKe5bBp7YMKqyjMkFlmSvKfRN18I9jcL6U3BFo6Gcry4ZK+G4CLlYCo2F6a dgGxSvc9SF8CmwgVCIFJFcEx566UlG50Anj+VFe/PJ/xwOJQdPTwnGi3fDvbbMn4SdRS8b nLLK8w6YCiVSjwhw52IC40uwLzWhsMdcrziXXHkNNxOtFBhNs2jjZfcdkvz1pQuRt99Xdz yBSoWCJeLuy2vEDs+n7TvrfJk0YGvNJnYKT4aCeeUKkk5TetDLt8PfKt5YJFtvavVTX2K9 kGi1QjItmnNWfwekP9O6Yz5SbbW6xRI3KraabiszhlEmB6JFQRgdUlKAGN8BQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=pc+vBtPq; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=cy4W24ln; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731690215; 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=NyoMzOU6JYzwP4gQzeSDBk/J/6NvcydJAC0DVgi2oM4=; b=RkZQYPhw4Qp+Ojr5G+b5S5XgZ8n4wAF8SZG/E/O5cDvY7MxKEpYG6VXPtOdpEGbDUC+mAF sh8LFp9Z32qwki2ts4CnwhVroYHPdt9EXMYBE/uwRmgii6OmpqA43/3az1PaP/s6F2YrdZ nfcxdmQZGvLfvs9cl9oaaWyPtf6X8mqUM1IRfUhiQkpqkJubnYn4aMfGySZq73SJengU0m W9ljOnuHInkMjW0dUGdLeFZU83i9YLIYpR81L3AcidzBvEcx2NhYDYe+ov3UDLHoIlXCcZ KCkxFv4lIvKc/1bdNA4qx34kBDw/TdCeBcPEcFgUVzCDiaTi8QC4FjFmTyPp3Q== 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 E5EFF1D9BF for ; Fri, 15 Nov 2024 18:03:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBzj0-000563-Dk; Fri, 15 Nov 2024 12:03:14 -0500 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 1tBzip-0004uz-5S for guix-patches@gnu.org; Fri, 15 Nov 2024 12:03:07 -0500 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 1tBzio-0005FR-Dq for guix-patches@gnu.org; Fri, 15 Nov 2024 12:03:02 -0500 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=NyoMzOU6JYzwP4gQzeSDBk/J/6NvcydJAC0DVgi2oM4=; b=pc+vBtPqeos2MUC/Dh+NWuSJx4o9RkkSbEO2r/tqNPutnGIB42UvUgUwl5ff2qqfqKOQYuu27uqxYHu7ZdVchlld64Lsg9ZwSXpT7Z7sH46dtXomh4zVimRiy3nkO41J8TUeHZxM8ZBy1ZLtOJ4H8NlGbfCQTYj6inA0uRtq/2WYHiP0Ki9HivoeJYKB+6hr/2QDSdQ12qlHt2fABOng/1vY1IQN3s63M79bEIaPP4xh7/7UfLCMDhhuYT/QIBz6H9vXz3wPbSiuoU3FftjKYBRs425IzWyGFQ71H1SE3Y7Lkg9bHH62GlT2sNLpnloztDChWr1LZC8G++bJWb8myw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBzin-0006Fe-Vo for guix-patches@gnu.org; Fri, 15 Nov 2024 12:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73842] [PATCH v5 2/3] pack: Add support for AppImage pack format. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Nov 2024 17:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73842 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?No=C3=A9?= Lopez Cc: Josselin Poiret , 73842@debbugs.gnu.org, Maxim Cournoyer , Simon Tournier , Mathieu Othacehe , =?UTF-8?Q?No=C3=A9?= Lopez , Tobias Geerinckx-Rice , pelzflorian , Sebastian =?UTF-8?Q?D=C3=BCmcke?= , Christopher Baines Received: via spool by 73842-submit@debbugs.gnu.org id=B73842.173169014323976 (code B ref 73842); Fri, 15 Nov 2024 17:03:01 +0000 Received: (at 73842) by debbugs.gnu.org; 15 Nov 2024 17:02:23 +0000 Received: from localhost ([127.0.0.1]:50700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBziA-0006Ee-H9 for submit@debbugs.gnu.org; Fri, 15 Nov 2024 12:02:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBzi8-0006ER-HH for 73842@debbugs.gnu.org; Fri, 15 Nov 2024 12:02:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBzhz-000596-Ds; Fri, 15 Nov 2024 12:02:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=NyoMzOU6JYzwP4gQzeSDBk/J/6NvcydJAC0DVgi2oM4=; b=cy4W24lnC3PejL+yopsB MWC/Tq1gYy9gwS8OiZ7z05Q36A1Z4KkVM/aWYO0U0KKY+QiTcMXQ2QeQqEiVROrFAewBcLrIwLvPE qt7F18RgWiwJznzW18+fMgwdXm4iUw+pdY2czs+mbLNQ43wvJaciqu32Smy7xiJszkjI5B5W01BXT eCYp5Muzkqj268nOhEI8Ew1eFL2HF2VQYWPaYwyDiRngFI6VqNAsMhVHo9ZEbmfm8F75p9FT+7wcM MHiMTi1hSAH7bz9YojhOnC8WpwQUqbLj4ECiQZWWEa9V5hLUUwmm0XmJuh9weWNSLZIvONbuIVKmD TXmQzNJ5e566ug==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <7507b2c56ffbbd8bc051937c5c88bb8c0e3ae8f3.1730998051.git.noelopez@free.fr> ("=?UTF-8?Q?No=C3=A9?= Lopez"'s message of "Thu, 7 Nov 2024 17:50:04 +0100") References: <4a7795be82c20d9476dbefcbaf3c380dcb61581e.1730998051.git.noelopez@free.fr> <7507b2c56ffbbd8bc051937c5c88bb8c0e3ae8f3.1730998051.git.noelopez@free.fr> Date: Fri, 15 Nov 2024 18:02:07 +0100 Message-ID: <87h688l9bk.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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.19 X-Spam-Score: 0.19 X-Migadu-Queue-Id: E5EFF1D9BF X-Migadu-Scanner: mx12.migadu.com X-TUID: A7ndcgveJeAh Hello No=C3=A9, The patch series LGTM, and tests pass: we=E2=80=99re all set! But=E2=80=A6 one thing I noticed when trying it out is that the resulting AppImage would fail to run on relatively bare-bones non-Guix systems: --8<---------------cut here---------------start------------->8--- $ ./2i2l6irl2n8q24aimfmidvlglllc4s8z-hello-appimage-pack.AppImage=20 fuse: failed to exec fusermount3: No such file or directory Cannot mount AppImage, please check your FUSE setup. You might still be able to extract the contents of this AppImage=20 if you run it with the --appimage-extract option.=20 See https://github.com/AppImage/AppImageKit/wiki/FUSE=20 for more information open dir error: No such file or directory --8<---------------cut here---------------end--------------->8--- I wonder if there=E2=80=99s something that can be done on our side about it= or if it=E2=80=99s a limitation of the approach (I expect the latter: =E2=80= =98fusermount=E2=80=99 has to be available and setuid root), in which case we could just add a warning in the manual. WDYT? Interestingly, it works on my Guix System laptop, except if I strace it: --8<---------------cut here---------------start------------->8--- $ /gnu/store/2i2l6irl2n8q24aimfmidvlglllc4s8z-hello-appimage-pack.AppImage= =20 Hello, world! $ strace -f -o /tmp/log.strace -s 500 /gnu/store/2i2l6irl2n8q24aimfmidvlgll= lc4s8z-hello-appimage-pack.AppImage=20 fusermount3: mount failed: Operation not permitted Cannot mount AppImage, please check your FUSE setup. You might still be able to extract the contents of this AppImage=20 if you run it with the --appimage-extract option.=20 See https://github.com/AppImage/AppImageKit/wiki/FUSE=20 for more information open dir error: No such file or directory $ grep 'mount(' /tmp/log.strace=20 17569 mount("2i2l6irl2n8q24aimfmidvlglllc4s8z-hello-appimage-pack.AppImage"= , "/tmp/.mount_2i2l6iLZ8WYZ", "fuse.2i2l6irl2n8q24aimfmidvlglllc4s8z-hello-= appimage-pack.AppImage", MS_RDONLY|MS_NOSUID|MS_NODEV, "fd=3D5,rootmode=3D4= 0000,user_id=3D1000,group_id=3D998") =3D -1 EPERM (Operation not permitted) 17570 mount("2i2l6irl2n8q24aimfmidvlglllc4s8z-hello-appimage-pack.AppImage"= , ".", "fuse.2i2l6irl2n8q24aimfmidvlglllc4s8z-hello-appimage-pack.AppImage"= , MS_RDONLY|MS_NOSUID|MS_NODEV, "fd=3D6,rootmode=3D40000,user_id=3D1000,gro= up_id=3D998") =3D -1 EPERM (Operation not permitted) 17571 mount("/dev/fuse", ".", "fuse", MS_RDONLY|MS_NOSUID|MS_NODEV, "fd=3D6= ,rootmode=3D40000,user_id=3D1000,group_id=3D998") =3D -1 EPERM (Operation n= ot permitted) --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.