From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <guix-devel-bounces+larch=yhetil.org@gnu.org> Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sCl8BGNwt2W7TAAA62LTzQ:P1 (envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Mon, 29 Jan 2024 10:31:15 +0100 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 sCl8BGNwt2W7TAAA62LTzQ (envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Mon, 29 Jan 2024 10:31:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fastmail.net header.s=fm3 header.b=A2WRsE2t; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=q4t3zywf; 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"; dmarc=pass (policy=none) header.from=fastmail.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706520675; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hFgphkbAwb4aFghi4+cx6ntXquUzpBKbp+oxEAQAIM8=; b=Qvxx2Vib6RSprZfK8mmwriQNsTonY2YM7xO3uOoXiIuGTP+NPLO6JfsjIqpoETxHsXXUpZ WJ28OHGSbRAWyeCnQrIcSpeL5sNl+MJ+lPSnABy0psHEvlAPhQWzJ+plOxS0L4nxE5IUTv KKYlQupoJsnIMD+qBIvPUMqIPdaW7dvFi+waSfeV82nxQCWuypWANrKeyYz46bJQkPuHn+ 1XptyqChDENm8iPu1EAikuBVnaT5fIwEfMsncxZC8h4C3R7TrnePdiTMBXUCiwFy+YRYWw d4r/WlFdyyd2xeFHDdufHY52Vx/aG0wUm/gpOYJvCLVpgzjkTBFti0axutJ19w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fastmail.net header.s=fm3 header.b=A2WRsE2t; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=q4t3zywf; 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"; dmarc=pass (policy=none) header.from=fastmail.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706520675; a=rsa-sha256; cv=none; b=WJyGK9llbO2RY/Z3svJm6xZYWNChvYgN2+Oboe1Qs7GpXJLPW95SGG0mOO8ZRFs807kQHe cCCR1StGukXRIVczLc6L2rYkgho2dQ6SsZ3hl9zSQ4SURLfnhShSTDa/aiBy/eAOvwwKau KSbWm119Juj3SQ9l86KYRu7sg14lFV6OdrVkd+ERa1VrubV1By6euucWTk5zZXAEfGBzof RewjU+xdXSmmFIujYRdJHA7TMY7Y7BrBNdFIPeYiDDmbykzdxmgp/v30ff1aUZyztENDfk AHAI7nqCM1P3WigbOprbede7V4Pbyd8Z+KgCmmNTwyZ5z9Q9CvzXnyGO+aBlhg== 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 049765AC50 for <larch@yhetil.org>; Mon, 29 Jan 2024 10:31:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-devel-bounces@gnu.org>) id 1rUNyN-00006P-TV; Mon, 29 Jan 2024 04:30:36 -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 <konrad.hinsen@fastmail.net>) id 1rUNyH-0008Sf-9c for guix-devel@gnu.org; Mon, 29 Jan 2024 04:30:29 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <konrad.hinsen@fastmail.net>) id 1rUNyF-0007rH-5N for guix-devel@gnu.org; Mon, 29 Jan 2024 04:30:28 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 930B15C011A; Mon, 29 Jan 2024 04:30:23 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 29 Jan 2024 04:30:23 -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=1706520623; x=1706607023; bh=hFgphkbAwb4aFghi4+cx6ntXquUzpBKb p+oxEAQAIM8=; b=A2WRsE2t8F8YIEHN6Uvs/U2S8Ed1CI2tMayahgXjcQckXfYg jpQA4rv9aMLcKHDAksaLLdFa+I/cansZEHIH6Q53ACKTtAfTDOTi2GMCk6Eb1HgU 7adfsLo0+AGHPPfPIzoCy0SJ567WiHSZ7BeWM5697gvrYN5Y8K2BQY3P/hRb5ymh H+rZ7yYgmzFg35G7ReRDS1dyp40LtMzWfxdGVFjygrK6m/cHkG2D0UCAQIaR2K8n KOmkzSg0qUIiZTopDT40Xog/vntwxWYL4PHH4HAUaFtk9a//IUASxRslVRm425HK ry3SPzNZIQp4HDwBEOzZ0y7pDdhb8aXUC4XgRQ== 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= 1706520623; x=1706607023; bh=hFgphkbAwb4aFghi4+cx6ntXquUzpBKbp+o xEAQAIM8=; b=q4t3zywfuUzkWyH6GYfktale/co+f47Voh310heDxGEs6JpYg9I lfn5pOSdPcP8ZORGVJ2U5C3pBEHlsCpq3ZwQ5WtC6D2srFrDwLQmKjiHq4lLuNKl S1GKL7jY8zxHb1ELuuwu1LZCY9Nu7g4uqTL8fxuIMcrMZkJesK1b1J8edL/zJ35Q p9nLyiFYtXN4kqCbzRiJxYWClRzejXqXMJASp0dLoZni2PXETRPxkLwGmJksvvoo 6fP53FZr5jvJ5H3rh7Hmj5fFyWZUMt0T9kQmRuHO1Vf3aGc5tUdJJ5DWnF8qwOwe g8umHqqcZeMxajLXz3e16LSXZWd88qMsp9A== X-ME-Sender: <xms:L3C3ZfZh1908F4_wxbKuAL_EPNnj9HinihRUJBVAjfIfVl4o9s3VVQ> <xme:L3C3ZebVdeHj-xAsE2Dv2UWQJqBBEunsxlasau3O5q8mU6S1x2IMQDBgBIbbaZBUg R5B9oLAom02Z2jm> X-ME-Received: <xmr:L3C3ZR8PwXhJ5m-6vhcFXIHsCxOQYtGqCEqYjlYi_BPvuukUTpJFHEoSuU5XzcHGsPsu6V3ES60v5-GgWGBCyO66Tju3lm7sTmPXIw> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedtgedgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfggtgesthdtredttddttdenucfhrhhomhepmfhonhhrrgguucfj ihhnshgvnhcuoehkohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvtheqne cuggftrfgrthhtvghrnhepveefveeutdeitdettefggeehvdduieelkefgheekheduteev heegueetueevjeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepkhhonhhrrggurdhhihhnshgvnhesfhgrshhtmhgrihhlrdhnvght X-ME-Proxy: <xmx:L3C3ZVq2QPUETqrVdCCM-lbF4Wjv5P7ZJjSQCdz-iUEU8XbJp4ONMg> <xmx:L3C3ZapEnvO-R0fYmHCUDn4OlV-lQeFy3eeMfM8tdZaFH5LBnfP3Ag> <xmx:L3C3ZbSUsiV1TixxE0cLRi_fXHZpq3gO8Qu7HoW24nxZo2leV_iU9g> <xmx:L3C3ZRRRDxKj0XlhwGyQUtjXPyNeR_L5LyZKy-0vuQkm2ZFiUlZUMg> Feedback-ID: i184641e2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 29 Jan 2024 04:30:22 -0500 (EST) From: Konrad Hinsen <konrad.hinsen@fastmail.net> To: Guix Devel <guix-devel@gnu.org> Subject: Symlinks in "guix pack" and "guix shell" Date: Mon, 29 Jan 2024 10:30:21 +0100 Message-ID: <m1o7d41o7m.fsf@fastmail.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.25; envelope-from=konrad.hinsen@fastmail.net; helo=out1-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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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." <guix-devel.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-devel>, <mailto:guix-devel-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-devel> List-Post: <mailto:guix-devel@gnu.org> List-Help: <mailto:guix-devel-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-devel>, <mailto:guix-devel-request@gnu.org?subject=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: -7.85 X-Migadu-Queue-Id: 049765AC50 X-Spam-Score: -7.85 X-Migadu-Scanner: mx11.migadu.com X-TUID: ckQo7OBLJL5g Dear Guix experts, I am seeing inconsistent behavior with the creation of symbolic links in containers and exports, and I wonder whether this is a bug or missing documentation. According to the documentation, there are no constraints on what I can link to. In practice, some symbolic link requests have no effect, but there is no error message either. Example: I am trying to tell programs in a container to use the certificates from package nss-certs, instead of requiring the user to share /etc/ssl from the host machine. So I add -S /etc/ssl=etc/ssl to my command lines for "guix shell -C" and "guix pack" (for creating Docker or Singularity images. Sometimes this works, sometimes it doesn't. With "guix shell", I never got it to work. With "guix pack", the observed behavior is random. Adding a completely unrelated package to my container can make the difference. Can someone shed some light on this? Cheers, Konrad