From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikael Djurfeldt Subject: bug#40125: Problem with guix offload: Remote channel closed Date: Sun, 22 Mar 2020 23:44:28 +0100 Message-ID: References: <87eetl1zce.fsf@gnu.org> <87pnd5wdyq.fsf@gnu.org> <8736a0uni2.fsf@gnu.org> <87d0943tuy.fsf@devup.no> Reply-To: mikael@djurfeldt.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000898d1e05a1794360" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57071) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jG9L5-0006CA-Uw for bug-guix@gnu.org; Sun, 22 Mar 2020 18:45:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jG9L4-0008Qs-Vp for bug-guix@gnu.org; Sun, 22 Mar 2020 18:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45153) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jG9L4-0008Qo-T8 for bug-guix@gnu.org; Sun, 22 Mar 2020 18:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jG9L4-0000fl-PV for bug-guix@gnu.org; Sun, 22 Mar 2020 18:45:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87d0943tuy.fsf@devup.no> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Marius Bakke Cc: 40125@debbugs.gnu.org --000000000000898d1e05a1794360 Content-Type: text/plain; charset="UTF-8" On Sun, Mar 22, 2020 at 11:30 PM Marius Bakke wrote: > Mikael Djurfeldt writes: > > > The PATH of the build machine user is: > > > > > /home/guix/.guix-profile/bin:/home/guix/.config/guix/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/opt/thinlinc/bin > > Do you get the same result if you run: > > ssh wand 'echo $PATH' > > ? > > It might be .bashrc is configured not to source the relevant scripts > when being invoked non-interactively, and/or through an SSH session. > You're right. It doesn't source the scripts. The PATH only becomes /usr/local/bin:/usr/bin:/bin:/usr/games in this case. --000000000000898d1e05a1794360 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Mar 22, 2020 at 11:30 PM Marius B= akke <mbakke@fastmail.com>= wrote:
Mikael Djurfeldt <mikael@djurfeldt.com> writes:

> The PATH of the build machine user is:
>
> /home/guix/.guix-profile/bin:/home/guix/.config/guix/current/bin:/usr/= local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/lib/jvm/java-8-ora= cle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bi= n:/opt/thinlinc/bin

Do you get the same result if you run:

=C2=A0 ssh wand 'echo $PATH'

?

It might be .bashrc is configured not to source the relevant scripts
when being invoked non-interactively, and/or through an SSH session.

You're right. It doesn't source the s= cripts. The PATH only becomes /usr/local/bin:/usr/bin:/bin:/usr/games in th= is case.
=C2=A0
--000000000000898d1e05a1794360--