From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WIyUO7SUIV8mGgAA0tVLHw (envelope-from ) for ; Wed, 29 Jul 2020 15:24:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wBNjN7SUIV80NwAAB5/wlQ (envelope-from ) for ; Wed, 29 Jul 2020 15:24:36 +0000 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 62CCB9400BB for ; Wed, 29 Jul 2020 15:24:36 +0000 (UTC) Received: from localhost ([::1]:48624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0nwX-0001WE-ON for larch@yhetil.org; Wed, 29 Jul 2020 11:24:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0nrD-0005oW-1D for bug-guix@gnu.org; Wed, 29 Jul 2020 11:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0nrC-0002Je-OG for bug-guix@gnu.org; Wed, 29 Jul 2020 11:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k0nrC-0005eH-Iu for bug-guix@gnu.org; Wed, 29 Jul 2020 11:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42600: /etc/profile not being sourced from interactive non-login shell Resent-From: Kyle Andrews Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 29 Jul 2020 15:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42600 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42600@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159603588721646 (code B ref -1); Wed, 29 Jul 2020 15:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jul 2020 15:18:07 +0000 Received: from localhost ([127.0.0.1]:33489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0nqI-0005d4-PV for submit@debbugs.gnu.org; Wed, 29 Jul 2020 11:18:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:42040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0nqF-0005cv-K5 for submit@debbugs.gnu.org; Wed, 29 Jul 2020 11:18:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0nqF-0005kM-Ew for bug-guix@gnu.org; Wed, 29 Jul 2020 11:18:03 -0400 Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]:36821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0nqD-0002FQ-7j for bug-guix@gnu.org; Wed, 29 Jul 2020 11:18:03 -0400 Received: by mail-io1-xd36.google.com with SMTP id t15so15977167iob.3 for ; Wed, 29 Jul 2020 08:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=KXv4Ep/AqMPMNd9rRbm/i7INsU/nxqtLo75MSNssZiQ=; b=gU0wWYjkvgNFxZMXZf7bOowmTnXhIic/At6xu8QMp2FDLS6bJi+gJMpr2RQuGFCjTJ g/zDJ8FgklNsmDK9PdOrLHVYiOTqX/SlmeUhRj/N6u2Lrp/yOtXtVhg3jAgUacmmQ6Ms iNAJk7YGlEcGDnal8a/Wdy3M58zTHHpyME4rE1yRqLj8829ztOENOlLko7AZCatNhdqF a04M9/prx5UIFekRoV/UqPGNkLhkzol8aM2O8WNEcPek0laesb1QPS1Gyt3NEFFoZVkf UygTySLks2X25UW7/JdtUgjwvdLVfw/NpiUJYPAmacxqHPikdTx0sOaRTfnX8cJfyhgJ sMTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=KXv4Ep/AqMPMNd9rRbm/i7INsU/nxqtLo75MSNssZiQ=; b=H4ogHBh1m6oGyveSAfCIrKavV17W9bcElz58E7PdS5o3/5fptI9SYBVEBwTq7cLz1v L9aTIwx3KJwyLJ8unzwFrZL3qHZKPCjtGE8qOG2jRDDbgA65vhFt4dQh3f3pIlC3pem6 w5K4RsFSjPsi4M6YkdqH84B0t5Msq2N1c2lxThe+6ZbnyBlxQMSkOi27JWkiDVPalEe1 bOt7ousWQG73RjVE9wNM7s8JS6efxa3LuPu6GC2828EIbW/0O7pXLn4iARxlepv1LhAF 85h2cpd0WCMA0E7bnaRMcvSNbYE0Sy+LD7cJLm4i4R9iE2XjpqSubbm5YYmCxkXkIxxT QHNA== X-Gm-Message-State: AOAM530vlPBQ0PC/2E8ZXFAkcJc8VjRDcwrGHgrcy68NsKhXqUJ1qTbx QKQeGZ7vxqQOqNbRixLwOq4SQnKw X-Google-Smtp-Source: ABdhPJyJxnzpR1HZExKdPROmeXUEN756vFT5W22ldCPzP4tEdYYlsqrSvUliPNOdRcIjUb2FF1WG9A== X-Received: by 2002:a6b:5d0a:: with SMTP id r10mr11801058iob.186.1596035879378; Wed, 29 Jul 2020 08:17:59 -0700 (PDT) Received: from x1 ([2600:6c48:6d80:c6::d10]) by smtp.gmail.com with ESMTPSA id b74sm1385531ilb.64.2020.07.29.08.17.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2020 08:17:58 -0700 (PDT) User-agent: mu4e 1.4.10; emacs 26.3 From: Kyle Andrews Date: Wed, 29 Jul 2020 11:17:58 -0400 Message-ID: <87eeouuz89.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::d36; envelope-from=kyle.c.andrews@gmail.com; helo=mail-io1-xd36.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=gU0wWYjk; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: cgwrCbzfiQkV Despite what it says in my ~.bashrc~, if I start a shell from Emacs with the elisp below, then `guix describe` does not work: (let ((default-directory "/ssh:me@remote:/home/me")) (shell "*shell*")) Of course, if I start a shell normally with ~M-x shell~ in Emacs, then type out the ssh command, ~/etc/profile~ does get sourced. I learned about this by following the advice of nckx from IRC, placing `set -x` in my .bash_profile. Following the former routine in Emacs I see nothing, but with the explicit ssh call I do see all the commands echo'd. Is this a bug in Guix or Emacs? In other words, should the Bash configuration files be extended to handle this case? I thought my system might be broken, but nckx showed me that I could just `. /etc/profile` and then guix describe started working again. Best Regards, Kyle