From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cB8aM/emt2VKNwEA62LTzQ:P1 (envelope-from ) for ; Mon, 29 Jan 2024 14:24:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cB8aM/emt2VKNwEA62LTzQ (envelope-from ) for ; Mon, 29 Jan 2024 14:24:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fastmail.net header.s=fm3 header.b=Wv2xevjB; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="l Ik05tC"; dmarc=pass (policy=none) header.from=fastmail.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706534646; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=w+XUyM/UdndF7/7Op4vCJ8YG8qtkqxxdzOINApm1jVQ=; b=pEURTxTQxswDLVHDCYtvEIh7Qlm1g/cnNVWTg49Luij/mB/C9m20SGBXuaIGO+2n6nGmGv rQ068Vvb0iA3Uf9UeXzyHZ6jysELe80bMi1dOTEHGv/MLe/6LNLeM6hBcxPpdLBmS5JayB bisUovBjOdRkspkrCyR52DzRHurE/Uld6NjAk1UVw9gMsHOnhYczfgmmHFWDXhuqtikaba QWama7177Sq80v+ari0sNto9L3fmmdR/3lHN5Mr5IabnhXVoRI+qa0Cn6DY33pVky9PfGK JotXF+NxvuEWsLillPulQDpROp43TGF2PO8nuxYaRDA3dAe2QHxpXQSJWjB0lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fastmail.net header.s=fm3 header.b=Wv2xevjB; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="l Ik05tC"; dmarc=pass (policy=none) header.from=fastmail.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706534646; a=rsa-sha256; cv=none; b=AOaCSlybF+ij+tueSExW0Qb6cvUUV0QNabRAAtfRzsjcCJwNnsw1bfKQOYf3T3UfnVmAX0 GAu6lPWBCI0r/piEnoJAfy4gPo+CiNzaiidaBD3gBDtq4o4gL9Xe+EhqLQC5qw7pwjfxYh 3Mv0L2GNON7OwmesgrWycvn5XSB11/iKYQqOFK19nBARo3GsgzrHnmHAPAtcuIoYjxd6Lb hq3t+9KywwRoTRGuEg6ucAbmoXhRnp5/MEViiCF4Qjlzf0+OZVmigynEiEhAJVqK95G4Sv k9gdFIza2aMyzDMRWD6BBuVXnLjyc3pY8V9ykzfVyKMhqKXJMr6VcCZBrRgKZQ== 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 BEA933688A for ; Mon, 29 Jan 2024 14:24:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rURbr-000862-6J; Mon, 29 Jan 2024 08:23:35 -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 1rURbp-00085e-3s for guix-devel@gnu.org; Mon, 29 Jan 2024 08:23:33 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rURbn-0004Qt-14 for guix-devel@gnu.org; Mon, 29 Jan 2024 08:23:32 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.west.internal (Postfix) with ESMTP id 317353200AEC; Mon, 29 Jan 2024 08:23:28 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Mon, 29 Jan 2024 08:23:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1706534607; x=1706621007; bh=w+XUyM/UdndF7/7Op4vCJ8YG8qtkqxxdzOINApm1jVQ=; b= Wv2xevjBxi9IoTeSmzXE0qWpWEGOdr3BnVGDWxxdqymlYyGGncpfZaxp+z0vKVWg 0dfbzcDHKxuNvxR+Lrl+c4u1KDOuajq9BUOY3aRnLHmqw+4l/Y9s/x1E1Y9gleXr RjIKDkxKXv8TSzjIbGtBsje9yA2wd6N5KVN/XuyNG6pENe8NEcQ3tykmmzxCfmWV 0bRPpEY9c1wdNA1hO3PjSOLF/5byOHfQRFXDax8gBH0bKTWbGcVhqYg6OSdkVel+ 4o1Qp3aydunPbd5pW1PwEJSXJkrVE23vXKvc1+j5iTFPvs5EcOfvFcw9gHSCcsvy 2GNtRZOZQwz+5L3KnEmwng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1706534607; x= 1706621007; bh=w+XUyM/UdndF7/7Op4vCJ8YG8qtkqxxdzOINApm1jVQ=; b=l Ik05tCEg1N5HfDbYhbYoeHduxN73Fp2/Dp+3OSKAEW+yr5gUhGFEDVVOD+IFVTsR DhSViGjJW0ec6arMAZJoc3yUTW4CIzpa7K2TSEK35fFqno4eFzCm5jLmAWxyvvtr oVh9qCOdSEO0o98kNTvwlgTiOcDKHq8H7873wJ9zdQ7sAb28bu464vF6GQAY51cc giDnwFWRp5k4ZLvpVX9bC+K3w7+I25n3NQbDHkF1wPYj/vwexeRFwVcux6aQGcN2 uBCiwkKBOJDYlwCXerYqkhG6EJd6LDrDDdLNJwamgcFOSg6JYFor/n61/6Bcnlah Dc13dI5jwEZge/v1owvYQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedtgedggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkgggtgfesthhqredttddtjeenucfhrhhomhepmfhonhhr rgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnh gvtheqnecuggftrfgrthhtvghrnhepueduheehteegheehheetgefhveeileekheehteek vdekveegvdejudetkeduheelnecuffhomhgrihhnpegtohguvggsvghrghdrohhrghdpgh hnuhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehkohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvth X-ME-Proxy: Feedback-ID: i184641e2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 29 Jan 2024 08:23:26 -0500 (EST) From: Konrad Hinsen To: Tomas Volf <~@wolfsden.cz> Cc: Guix Devel Subject: Re: Symlinks in "guix pack" and "guix shell" In-Reply-To: References: Date: Mon, 29 Jan 2024 14:23:24 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=64.147.123.19; envelope-from=konrad.hinsen@fastmail.net; helo=wout3-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-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -10.26 X-Spam-Score: -10.26 X-Migadu-Queue-Id: BEA933688A X-Migadu-Scanner: mx12.migadu.com X-TUID: yVWtZES2rT2B Hi Tomas, Thanks for your reply! > I think the relevant part is whether some certificate package is installe= d (via > propagated inputs) or not. If I explicitly add nss-certs to the command = above, > it starts to work: Sorry, I forgot to add that I always have nss-certs among my packages when I try this symlink. Otherwise I get an error message as well. > Could you please share some examples where you get no error, but it has no > effect? Maybe they really are bugs (and should be reported). Here is my most recent experiment: $ guix time-machine --url=3Dhttps://codeberg.org/khinsen/guix.git --commit= =3D615023ddc9407f27ec7c04060fb520a4cbb3b03f --disable-authentication -- pa= ck -S /etc/ssl=3Detc/ssl -S /etc/protocols=3Detc/protocols --format=3Dsquas= hfs --save-provenance snakemake bash git git-annex coreutils wget python ns= s-certs net-base guix time-machine: warning: channel authentication disabled guix pack: warning: ambiguous package specification `python' guix pack: warning: choosing python@3.10.7 from gnu/packages/python.scm:610= :2 /gnu/store/psq0bqcsnbk7p5w1m2771mlilyikicp6-snakemake-bash-git-git-annex-co= reutils-squashfs-pack.gz.squashfs $ singularity exec /gnu/store/psq0bqcsnbk7p5w1m2771mlilyikicp6-snakemake-ba= sh-git-git-annex-coreutils-squashfs-pack.gz.squashfs bash WARNING: passwd file doesn't exist in container, not updating WARNING: group file doesn't exist in container, not updating Singularity> ls /etc hosts localtime resolv.conf Singularity> exit Neither /etc/ssl nor /etc/protocols are present in the container. On the other hand, the same packages exported for Docker: $ guix time-machine --url=3Dhttps://codeberg.org/khinsen/guix.git --commit= =3D615023ddc9407f27ec7c04060fb520a4cbb3b03f --disable-authentication -- pa= ck -S /etc/ssl=3Detc/ssl -S /etc/protocols=3Detc/protocols --format=3Ddocke= r --save-provenance snakemake bash git git-annex coreutils wget python nss-= certs net-base guix time-machine: warning: channel authentication disabled guix pack: warning: ambiguous package specification `python' guix pack: warning: choosing python@3.10.7 from gnu/packages/python.scm:432= :2 /gnu/store/90ylyh60vvi2inqg9i8wlcfbv8m2px89-snakemake-bash-git-git-annex-co= reutils-docker-pack.tar.gz $ docker load -i /gnu/store/90ylyh60vvi2inqg9i8wlcfbv8m2px89-snakemake-bash= -git-git-annex-coreutils-docker-pack.tar.gz Loaded image: snakemake-bash-git-git-annex-coreutils:latest $ docker run -it snakemake-bash-git-git-annex-coreutils:latest bash bash-5.1# ls /etc ls /etc hostname hosts mtab protocols resolv.conf ssl Both links are present. Finally, "guix shell" now works (I hadn't tried for a few months): $ guix time-machine --url=3Dhttps://codeberg.org/khinsen/guix.git --commit= =3D615023ddc9407f27ec7c04060fb520a4cbb3b03f --disable-authentication -- sh= ell -C -N -S /etc/ssl=3Detc/ssl -S /etc/protocols=3Detc/protocols snakemake= bash git git-annex coreutils wget python nss-certs net-base guix time-machine: warning: channel authentication disabled guix shell: warning: ambiguous package specification `python' guix shell: warning: choosing python@3.10.7 from gnu/packages/python.scm:43= 2:2 [env]$ ls /etc group hosts nsswitch.conf passwd protocols resolv.conf services ssl For this example, the only failure is for "pack =E2=80=93format=3Dsquashfs". But the very same command line applied to a different commit (a few weeks earlier) worked fine. In case you wonder why I use a personal fork of Guix: For Singularity export to be usable, I need a patch that is on core-updates (https://git.savannah.gnu.org/cgit/guix.git/commit/?h=3Dcore-updates&id=3Dd= 8875d76555faf1a11f6838312bfe4b7f6121d2c). In the meantime, I added a graft version of this patch to my personal fork. Finally, I cleaned up the output of the above commands by removing the usual messages from the build process, keeping only the messages that are specific to my example. Cheers, Konrad.