[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32855: sshuttle /usr/bin/env
From: |
Nam Nguyen |
Subject: |
bug#32855: sshuttle /usr/bin/env |
Date: |
Thu, 27 Sep 2018 11:23:23 -0700 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
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 address@hidden 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
- bug#32855: sshuttle /usr/bin/env,
Nam Nguyen <=