Subject: bug#32855: closed (Re: bug#32855: sshuttle /usr/bin/env)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 27 Sep 2018 22:05:02 +0000

Your bug report

#32855: sshuttle /usr/bin/env

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
32855: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32855
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#32855: sshuttle /usr/bin/env
From: Tobias Geerinckx-Rice <[email-masked]>
To: Nam Nguyen <[email-masked]>
Cc: [email-masked]
Date: Fri, 28 Sep 2018 00:04:10 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Nam Nguyen wrote:
> Yes, feel free to mention my name and e-mail.

Pushed as 6a6f7488df1794828e1845eaaf2c1c911c8e3e54.

Kind regards,

T G-R

Subject: sshuttle /usr/bin/env
From: Nam Nguyen <[email-masked]>
To: [email-masked]
Date: Thu, 27 Sep 2018 11:23:23 -0700
List-Id: <debbugs-submit.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 [email-masked] 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