** Description changed:
[impact]
bug 1592853 patches python command detection but is an incomplete
backport, resulting in failure to correctly detect the python command,
which causes sshuttle to fail if --python is not provided.
[test case]
- run sshuttle without --python to any remote system
+ run sshuttle without --python to any remote system:
+
+ root@lp1896299-x:~# sshuttle -r lp1896299-x.lxd 1.2.3.4/24
+ Traceback (most recent call last):
+ File "/usr/bin/sshuttle", line 9, in <module>
+ load_entry_point('sshuttle==0.76', 'console_scripts', 'sshuttle')()
+ File "/usr/lib/python3/dist-packages/sshuttle/cmdline.py", line 226, in main
+ opt.daemon, opt.pidfile)
+ File "/usr/lib/python3/dist-packages/sshuttle/client.py", line 701, in main
+ seed_hosts, auto_nets, daemon)
+ File "/usr/lib/python3/dist-packages/sshuttle/client.py", line 408, in _main
+ options=dict(latency_control=latency_control))
+ File "/usr/lib/python3/dist-packages/sshuttle/ssh.py", line 112, in connect
+ "exec \"$P\" -c %s") % quote(pyscript)
+ NameError: name 'quote' is not defined
+
[regression potential]
regressions would likely cause the initial connection to fail
[scope]
this is needed only for x
the backport missed upstream commit 3541e4bd which was included first in
v0.78.0 so this is fixed already in b and later.
** Tags added: regression-proposed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1897961
Title:
python command detection fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1897961/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs