unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32855: sshuttle /usr/bin/env
@ 2018-09-27 18:23 Nam Nguyen
  2018-09-27 19:11 ` Tobias Geerinckx-Rice
  2018-09-27 19:22 ` Nam Nguyen
  0 siblings, 2 replies; 9+ messages in thread
From: Nam Nguyen @ 2018-09-27 18:23 UTC (permalink / raw)
  To: 32855

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-10-06 14:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-27 18:23 bug#32855: sshuttle /usr/bin/env Nam Nguyen
2018-09-27 19:11 ` Tobias Geerinckx-Rice
2018-09-27 19:22 ` Nam Nguyen
2018-09-27 22:04   ` Tobias Geerinckx-Rice
2018-09-29 22:40     ` Nam Nguyen
2018-09-30 11:52       ` Tobias Geerinckx-Rice
2018-09-30 14:45         ` Nam Nguyen
2018-10-06 14:19         ` Marius Bakke
2018-10-06 14:49           ` Tobias Geerinckx-Rice

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).