python command detection fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sshuttle (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Dan Streetman |
Bug Description
[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:
root@lp1896299-x:~# sshuttle -r lp1896299-x.lxd 1.2.3.4/24
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
opt.daemon, opt.pidfile)
File "/usr/lib/
seed_hosts, auto_nets, daemon)
File "/usr/lib/
options=
File "/usr/lib/
"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.
Changed in sshuttle (Ubuntu): | |
status: | New → Fix Released |
Changed in sshuttle (Ubuntu Xenial): | |
assignee: | nobody → Dan Streetman (ddstreet) |
importance: | Undecided → Medium |
status: | New → In Progress |
description: | updated |
description: | updated |
tags: | added: regression-proposed |
Hello Dan, or anyone else affected,
Accepted sshuttle into xenial-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ sshuttle/ 0.76-1ubuntu1. 2 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification- needed- xenial to verification- done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- xenial. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.