From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0PIPMhep6mOsmQAAbAwnHQ (envelope-from ) for ; Mon, 13 Feb 2023 22:18:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0McrMhep6mNuWAEA9RJhRA (envelope-from ) for ; Mon, 13 Feb 2023 22:18:15 +0100 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 A4CD912EDA for ; Mon, 13 Feb 2023 22:18:15 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=sEBwFywW; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676323095; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=ceDWD2sAwSXtfKdyJgbSgEhny6NJ42kHJWV3FL7O6k0=; b=n3KdwkKW+boI7DSYNr3H32Sm815Zt5xqI0GsTut7ai5MvagwYmt0YMQzHfBqk7GDFRVflD nZMsuJDzyEGqzK3BlRhhuXiIDY86zMjKiobU1ZSRvpbe4XriHyO+FmU+YzNJasAi6IU0SU GCTTvmXGJ7hojmBQuoCWsc919vulFu6nD8cjyJKQD5yg4pZA6y6eAc5ar4hV4cHgWQqFy2 5mOkz6kriXNnC7kEpdOatN6Av3JvVbsdswDYZwPGQ7bUeubcD0eky6LxyTHa5rhxZjtj09 stUM0R2fQii4bS8Yc74eZSUXPFLfW9RAuWhHzLKRkjNHhzKt8AKisRZIyrhnfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=sEBwFywW; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676323095; a=rsa-sha256; cv=none; b=hrKFQg4wPuEvC2bqxXcc6rAO1sM89Rm0nsJ8JlcrJ+OoNBgQoOsPmKRxBbcEVgYcSDhJAh ldzPXydb/6ak8y2kDDm+RYey0LZZfg6n4tRGvvwEvdauF9l/ELqbbAIoehADmTT8mFnQRn Ft8TAO9KL0UYEjWJ7jo6aYYjs8u+U2gmEKpCuxtm42vgojV1RpGO18YUfEoKDwOIIVzjBZ oP3vGgdbL7BlDL0eBEjZL6bOSI86s6AfWo0objR7JejeKL1a9XHAaAkfQViFj0nivjlp63 VOsGo/3nXqq0YIr1cvRqe2SlltRNI1cC2QBUKBPHeif6DpinFGqR9mQBd4xV6Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRgD9-0000Qo-Ch; Mon, 13 Feb 2023 16:18:07 -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 1pRgD4-0000On-OO for bug-guix@gnu.org; Mon, 13 Feb 2023 16:18:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRgD4-0002oh-G8 for bug-guix@gnu.org; Mon, 13 Feb 2023 16:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRgD4-0008Dd-0J for bug-guix@gnu.org; Mon, 13 Feb 2023 16:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46782: guix environment --expose options cannot be layered onto $PWD Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 13 Feb 2023 21:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46782 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: bokr@bokr.com, Maxim Cournoyer Cc: 46782@debbugs.gnu.org, bbb ee , Simon Tournier Received: via spool by 46782-submit@debbugs.gnu.org id=B46782.167632304131536 (code B ref 46782); Mon, 13 Feb 2023 21:18:01 +0000 Received: (at 46782) by debbugs.gnu.org; 13 Feb 2023 21:17:21 +0000 Received: from localhost ([127.0.0.1]:51827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRgCP-0008Ca-Ke for submit@debbugs.gnu.org; Mon, 13 Feb 2023 16:17:21 -0500 Received: from jpoiret.xyz ([206.189.101.64]:40948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRgCN-0008CR-Qy for 46782@debbugs.gnu.org; Mon, 13 Feb 2023 16:17:20 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 1B0AD184F0F; Mon, 13 Feb 2023 21:17:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1676323036; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ceDWD2sAwSXtfKdyJgbSgEhny6NJ42kHJWV3FL7O6k0=; b=sEBwFywWp3yc5F5Q6q+w/lb5Hi7ADDXPx0xrCmjRlGejj0FE3OBER3LOtcRo0W2G6UVGtZ i7z7hXvCCvs+7A7ns/iUWM4kq7gH3QaKsndkNSF8cT8MM2lA2OJ6E8W6q9aDK6Lqw3JJQe ij5lshHzVETgrEjDj68IlEPdNXN2GU0C7gLSL9upLBqoSr+L1mjVhL0AJMJ3SUee1xr+eA XhoEspCsBEnn4ny9yeapqiX6Ps+u4303V9kAZLGEe5/aMlnUeRAQzcuHpL7LsRKOZ+HLYW rFMjWhqT+fzaFqLMTDgALs+1Deue91fqIxgmGVOu2UAHGepss0GEutW+VckHCA== In-Reply-To: <20230207012404.GA3706@LionPure> References: <87blc797i5.fsf@gmail.com> <877cx8x84p.fsf_-_@gmail.com> <87pmazopdx.fsf@gmail.com> <87r0v2lasz.fsf@gmail.com> <20230207012404.GA3706@LionPure> Date: Mon, 13 Feb 2023 22:17:09 +0100 Message-ID: <875yc5clka.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spamd-Bar: ++ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Migadu-Queue-Id: A4CD912EDA X-Spam-Score: -3.02 X-Migadu-Spam-Score: -3.02 X-Migadu-Scanner: scn0.migadu.com Reply-to: Josselin Poiret From: Josselin Poiret via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: +Ehl0JQnmojO --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello everyone, A quick strace shows that it's actually an ordering issue: /home/user is mounted in the container after /home/user/tmp. The fix is pretty simple, moving the cwd first, before the explicit --expose arguments. I'm noticing that the --expose option creates an empty tmp folder in the user's home in that case though, which I don't like, however I don't think there's any better option. Patch following. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmPqqNYQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5Fhcaih1lC/42qXLnoCWuewbdVApP5tjrCFhpeHCoMOpr 7LO4c89GMxgFsDa7+PrBamtTY3AmK5tCb3V6FTagB5gUNz4ejPHJVfJY9YXuJ4UW uyFOWGrsKjzZI/Wys0SoaXLMri9CIre+awdyGnu8J+BPMhRcZOuLRq5Sqn1ImQAW ntbSk07MdEIF4NVxEKlX5r//kYZEsY1aPB2+dFFkEi49fgUZusgeG0K31aHpaXNk /wysK6wEtUEeNvdOIwG/KuuaY8wFFaU/cMGXHw4qRww0Fzv9R7/VT7vr3ebYTk3f jkyaPdtoWIP4HRT8q8TLLnWTkohKl1O90sMqpC+91wp8o/l2nqVWY0pIAH30emRx /5fBgUGG0AaQrUG9A8/XFRNTQcoGFKqv7T15IRfYDl5xJqR+OGcYpf8i9D/sVh0v ak02mxrERD0By6MUKZYdtkbAj/NmVRLV53sNxB0W/bzIw1mIlHJi9W7OFqc36U/Q 8EWfmVfv0niVEKdU2FWA0Bj7ybUxq6U= =m4H8 -----END PGP SIGNATURE----- --=-=-=--