From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sADpLki9DmVDPwAAauVa8A:P1 (envelope-from ) for ; Sat, 23 Sep 2023 12:26:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sADpLki9DmVDPwAAauVa8A (envelope-from ) for ; Sat, 23 Sep 2023 12:26:16 +0200 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 8909635141 for ; Sat, 23 Sep 2023 12:26:16 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=a35rGOs9; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695464776; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=RsK+vewdcLQk+FDTp+pdGLom3k3FoC9MMvjVp9taJ74=; b=q4eo/NvxDk7ZtHs9xRknfJXMYM8mJX7rvp6p8/7Q3054qHQPrHd3cxLIXV/KXBvA2VOBY+ tuQ45ZjTfX6GE1EtJRU1AyIiDnvxadPcuV33hU1Y3y5+1ch7IeLj6azMy8CU7zxGLmZYpK 6+h8YnQAdzU15W2wpTZwFjbfbbc//K9pGR/blUxJ7NbhlOCqlla1yEyEzJ3kHoA3G7G3Fp 9AIfNRMwfLAip8OeFFS7vyjzup36SLmcCXob2ZCZTivDLuZenD6U7HzI2lFYUchBlyZyRK 8pK1FlEHDxv6OMQWgE/63PqU78b+VYYBycS9UmQvqs8wjHq2mYFfk0tUqr5KOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=a35rGOs9; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695464776; a=rsa-sha256; cv=none; b=VosOG0m5yd3PmNC6VrJcsQJVjGeuhzM8qMYYM2LXLsicj7PjE3MTIbksjAReoNl1plDFbw f5YewX/gKmjfHpWxGx3ychZ/5nte/jR7TAGY4qO3GVCpmlOrqIMYv2SSysY7IIiyX821CS BDnpdSY+IeOEbX10fFs7lHfZdxLsgj6ihyFSJzshiR6HYMWBhfnJ20jfzXcxn3TMqoZo/y nSK1bkIS/nwLMwzxKYcFMm4jdKID7bLjBqNjxFKEGUujDfi5F4i75b3aB2Yp/ZEPDY0L+m sqP+Holj9PIR39M1rOEGdjRfUx46NyVxO8SjD89LvLOwAeP6YDRWRRoDhq8JDg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjzpq-0000iI-1P; Sat, 23 Sep 2023 06:26:02 -0400 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 1qjzph-0000hF-8I for bug-guix@gnu.org; Sat, 23 Sep 2023 06:25:55 -0400 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 1qjzpf-0001Rt-EI for bug-guix@gnu.org; Sat, 23 Sep 2023 06:25:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjzpq-0006Q4-Gs for bug-guix@gnu.org; Sat, 23 Sep 2023 06:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66168: zsh home service breaks guix shell via ssh Resent-From: Malte Frank Gerdes Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 23 Sep 2023 10:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66168 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66168@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169546471624492 (code B ref -1); Sat, 23 Sep 2023 10:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Sep 2023 10:25:16 +0000 Received: from localhost ([127.0.0.1]:37842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjzp6-0006LW-6S for submit@debbugs.gnu.org; Sat, 23 Sep 2023 06:25:16 -0400 Received: from lists.gnu.org ([2001:470:142::17]:55780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjzp2-0006I5-VN for submit@debbugs.gnu.org; Sat, 23 Sep 2023 06:25:14 -0400 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 1qjzom-0000c9-7M for bug-guix@gnu.org; Sat, 23 Sep 2023 06:24:56 -0400 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjzok-0000zw-RT for bug-guix@gnu.org; Sat, 23 Sep 2023 06:24:55 -0400 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-52f3ba561d9so8501146a12.1 for ; Sat, 23 Sep 2023 03:24:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695464693; x=1696069493; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:user-agent:from:to:cc:subject:date:message-id:reply-to; bh=RsK+vewdcLQk+FDTp+pdGLom3k3FoC9MMvjVp9taJ74=; b=a35rGOs9pRE3kUCU8IxkfW4vbwNNGwNMixwRb14f1bjGNyOev50d9DcNlByB5JBQiU oLTDUhafE6DrrBr8qWzlnx6yyAKvkfqifOh2AtYo23INaxqxL0q436oriZxPKuZ9xW+z cnSZKcwmLU+2a+n131a4okefeXtF4k3V2FshTQwWbwwOEMsu214ZYmeIqMis2OiFHHBV SXVNEKNuCI+O1AACLVr830QXSAwAdzZa75bbojtVaU9pqMnXGP/9XtMZxrq9/H0OUSRb s94jJzYOno+JmfnKrIQX7aomlvtB/w1jVpb4jy6bncwaN4gNIzjO2T4sma2e6iopqODJ FqDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695464693; x=1696069493; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:user-agent:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RsK+vewdcLQk+FDTp+pdGLom3k3FoC9MMvjVp9taJ74=; b=u0ESamM5dIfBXRZb9u7hsdSkacsNyDcKXkgNqk2PdtxNEwx/KNMKA9ycCzzVOvmZjO Zro/kwPZ3PXbo1ZLSpxgmPqbDsXgKH6KC+UpL70pjcXW1YQQTiffj2aXbbg09dPLYuJu gFe9hq/km4WqXYrYcz4kuK1vUao/Rw2ngib+zWONBigo1eHlANWjhyQenIH0gycA+fzh lU2u+qOl0GFtU3Qx2SgGpExfePrqWN3Os1Rah4nx+mWk6h3C8Y66Xre1hASM7y2bOrZ9 p1IsV5wgMrPyEm7jVgf1i4mtn6c1PwKE5mOfpMbSaS0WhVFadh9yVzWPAJ/i2jEXNxtp +QdQ== X-Gm-Message-State: AOJu0YxGjMFKpwqL7rG9R/lyfjSfh/ibwSb364AXAxI/1UNcshUOShTM Y9/EVjd5ko0vVFMRwteGjQH4yKPFuI8= X-Google-Smtp-Source: AGHT+IEq+ayoDlyIdhKMvMUVEPjQ4nwrTJJBsk4u7hU2dYKREg2nRjJDV3sQbFMdomM79wQD2j9+sw== X-Received: by 2002:aa7:c914:0:b0:522:b876:9ef5 with SMTP id b20-20020aa7c914000000b00522b8769ef5mr3022390edt.8.1695464692675; Sat, 23 Sep 2023 03:24:52 -0700 (PDT) Received: from Methadon ([2a02:908:d13:e3e0:6a54:5aff:fe66:a805]) by smtp.gmail.com with ESMTPSA id be25-20020a0564021a3900b00530c81ad54asm3253252edb.41.2023.09.23.03.24.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 03:24:52 -0700 (PDT) User-agent: mu4e 1.10.7; emacs 29.0.92 From: Malte Frank Gerdes Date: Sat, 23 Sep 2023 12:19:10 +0200 Message-ID: <868r8xrxu4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=malte.f.gerdes@gmail.com; helo=mail-ed1-x529.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.08 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 8909635141 X-Spam-Score: -5.08 X-TUID: 0l9JQCKwJU5F Hi, i set up a new system last weekend and am connecting to it via ssh. I also just recently started using guix home. I noticed that after connecting via ssh the profile that gets created when doing `guix shell' is not sourced, therefore the environment variables are not correct. This seems to be because guix home inserts "[ -n \"$SSH_CLIENT\" ] && source /etc/profile" into the zshenv file. I assume this is meant to ensure that /etc/profile is sourced because ssh does not start a login shell? Anyway, removing that line makes everything work normally. So am i doing it wrong or is this actually unnecessary? mfg=C2=B2