From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 31 02:48:42 2024 Received: (at submit) by debbugs.gnu.org; 31 Jan 2024 07:48:42 +0000 Received: from localhost ([127.0.0.1]:37375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rV5Kr-0006ZF-Tn for submit@debbugs.gnu.org; Wed, 31 Jan 2024 02:48:42 -0500 Received: from lists.gnu.org ([2001:470:142::17]:51082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rV5Kp-0006YR-Lm for submit@debbugs.gnu.org; Wed, 31 Jan 2024 02:48:40 -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 1rV5Ka-0005zo-TW for bug-guix@gnu.org; Wed, 31 Jan 2024 02:48:24 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV5KY-0002l3-MR for bug-guix@gnu.org; Wed, 31 Jan 2024 02:48:24 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 679F53200AFD; Wed, 31 Jan 2024 02:48:20 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 31 Jan 2024 02:48:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm3; t=1706687299; x=1706773699; bh=M8OHpVBz0eCnItAelfGCinuhFH4YTroD qQH4SOoTs3A=; b=nQKi63RBm3UX7W1aGaG7m+xvGNJBo77Ftqwod5pdV6RQry76 ekJxmnIMzbecAZwSO8STVJ2RuD9B2Gw0ytIXBdmKsepr8Wd/EyUOI3JScr+HwrMQ M6txPZM1TRwkzC290CaKwZaf86egXRz6t3Xq4j1ypXQ0DOMEa3QHkxqePZOnodvL qCGJ4TWzNxaOeIs/GIsRMsQE4MZvtyRNYHOc00W17LbhhWoqJAUEKs9mHjtqVyIq pf8itMwwd+9274BLXv5fAC6yyNUo8AuqM7wYc8n+a/7hrqHuBTjAmsPUfx81lCa8 GlGcm6VyKET6BPj2OHZbahUq4FfJVrFy4Nz0+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1706687299; x=1706773699; bh=M8OHpVBz0eCnItAelfGCinuhFH4YTroDqQH 4SOoTs3A=; b=k7D0J7Og9UOgW9se3OWj7ox/7gGlcAHyY/ESJ7bgjqLOq7xel+x lE4KusKIKN0Lf/+TndjynM5S+Rcs7bFMlI0RP4roD+3jAC8JYjVzmbO4PVKvBKlO NVjkhW2u5PRymyMUCfaHC/oS0qVT3/lXapKnchgS9LpvEVE1LcNn1qTfsamNFlGh iL20JIGASNGKPbruffWryv1ud+x8QyjQATVZixumNiWLxfY2IBG4Aldk2IYYaLqB /YGY86sUZxsOVLhWfIYfYk4EKBq0mhXzci36T8D97wIzC6JnxlgPKssOrf/PVdPU E+K9xgCnEkOIugTxv10ElGdmW3EumDwctLw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedtkedguddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttd dttdenucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhs vghnsehfrghsthhmrghilhdrnhgvtheqnecuggftrfgrthhtvghrnhepveefveeutdeitd ettefggeehvdduieelkefgheekheduteevheegueetueevjeehnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepkhhonhhrrggurdhhihhnshgvnh esfhgrshhtmhgrihhlrdhnvght X-ME-Proxy: Feedback-ID: i184641e2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 31 Jan 2024 02:48:19 -0500 (EST) From: Konrad Hinsen To: bug-guix@gnu.org Subject: guix pack -f squashfs silently ignores symlinks Date: Wed, 31 Jan 2024 08:48:17 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.20; envelope-from=konrad.hinsen@fastmail.net; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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.0 (+) X-Debbugs-Envelope-To: submit 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: -0.0 (/) Let's make a basic Singularity file system containing certificates at the place many programs expect them to be, i.e. /etc/ssl: $ guix pack -S /etc/ssl=etc/ssl --format=squashfs bash nss-certs /gnu/store/mxyc56nsrcgcclvm5qsz5c9fkqwdswpw-bash-nss-certs-squashfs-pack.gz.squashfs There is no error message concerning the symlink, but it's not recorded either: $ guix shell squashfs-tools -- unsquashfs -l /gnu/store/mxyc56nsrcgcclvm5qsz5c9fkqwdswpw-bash-nss-certs-squashfs-pack.gz.squashfs | grep -v /gnu/store squashfs-root squashfs-root/.empty squashfs-root/.empty_1 squashfs-root/.singularity.d squashfs-root/.singularity.d/actions squashfs-root/.singularity.d/env squashfs-root/.singularity.d/env/90-environment.sh squashfs-root/bin squashfs-root/dev squashfs-root/gnu squashfs-root/gnu/.empty squashfs-root/home squashfs-root/proc squashfs-root/sys What *does* work is: $ guix pack -S /etc=etc --format=squashfs bash nss-certs which makes me suspect that linking /etc/ssl fails because there is no /etc in the file system, but I don't much about squashfs, so maybe I am wrong. Cheers, Konrad