From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nam Nguyen Subject: bug#32855: sshuttle /usr/bin/env Date: Sat, 29 Sep 2018 15:40:01 -0700 Message-ID: <20180929224001.GA10179@antelope> References: <20180927182323.GA30836@antelope> <20180927192218.GA11125@antelope> <87o9ciha1x.fsf@tobias.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6Nv7-0007qU-GK for bug-guix@gnu.org; Sat, 29 Sep 2018 18:41:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6Nv4-000069-7m for bug-guix@gnu.org; Sat, 29 Sep 2018 18:41:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54996) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g6Nv4-00005w-3U for bug-guix@gnu.org; Sat, 29 Sep 2018 18:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g6Nv3-0003cV-Px for bug-guix@gnu.org; Sat, 29 Sep 2018 18:41:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87o9ciha1x.fsf@tobias.gr> 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.org@gnu.org Sender: "bug-Guix" To: Tobias Geerinckx-Rice Cc: 32855@debbugs.gnu.org Hi Tobias, After testing, I think the /bin/sh substitution introduced a regression. Lines in question: (substitute* "sshuttle/ssh.py" ;; Perhaps this is unreachable, but don't let's take risks. (("/bin/sh") (which "sh"))) $ sshuttle -r user server.com 0/0 -x server.com ksh: /gnu/store/rb...-bash-minimal-4.4.19/bin/sh: not found client: fatal: server died with error code 127 The server I am sshing to is not running GuixSD. It is trying to find /gnu/store/.../bin/sh but it doesn't exst. My local client is running GuixSD. The only requirements on the server side should be Python. Should those lines should be removed? I tested without, and it seems to work okay, at least for my particular setup: GuixSD client --> non-GuixSD server. I suppose we have to state the assumptions of whether the client and server are running Guix or not, and arrive at good defaults.