From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nam Nguyen Subject: bug#32855: sshuttle /usr/bin/env Date: Thu, 27 Sep 2018 11:23:23 -0700 Message-ID: <20180927182323.GA30836@antelope> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5b0F-0000fy-7P for bug-guix@gnu.org; Thu, 27 Sep 2018 14:27:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5b0B-0004IX-1W for bug-guix@gnu.org; Thu, 27 Sep 2018 14:27:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g5b0A-0004Ht-Ta for bug-guix@gnu.org; Thu, 27 Sep 2018 14:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g5b0A-0007v5-Md for bug-guix@gnu.org; Thu, 27 Sep 2018 14:27:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5axg-0000U1-O9 for bug-guix@gnu.org; Thu, 27 Sep 2018 14:24:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5axc-0001Bh-MX for bug-guix@gnu.org; Thu, 27 Sep 2018 14:24:28 -0400 Received: from mail-lj1-f179.google.com ([209.85.208.179]:46597) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g5axc-0001AM-DV for bug-guix@gnu.org; Thu, 27 Sep 2018 14:24:24 -0400 Received: by mail-lj1-f179.google.com with SMTP id 203-v6so3320575ljj.13 for ; Thu, 27 Sep 2018 11:24:24 -0700 (PDT) Received: from antelope ([24.5.139.14]) by smtp.gmail.com with ESMTPSA id b6-v6sm566447ljb.53.2018.09.27.11.24.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 11:24:21 -0700 (PDT) Content-Disposition: inline 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: 32855@debbugs.gnu.org sshuttle is a python program that uses /usr/bin/env at line 196 of: /gnu/store/...-sshuttle-0.78.4/lib/python3.6/site-packages/sshuttle/client.py ['sudo', '-p', '[local sudo] Password: ', '/usr/bin/env', Trying to run sshuttle on GuixSD results in: $ sshuttle -r user@server.com 0/0 -x server.com sudo: /usr/bin/env: command not found Here is a potential fix that I recycled from sshoot's recipe. I tested it, and it works. $ diff ~/.config/guix/current/share/guile/site/2.2/gnu/packages/vpn.scm ~/vpn.scm 349a350,357 > (arguments > '(#:phases > (modify-phases %standard-phases > (add-after 'unpack 'patch-paths > (lambda _ > (substitute* "sshuttle/client.py" > (("/usr/bin/env") (which "env"))) > #t))))) Cheers, Nam