-
Notifications
You must be signed in to change notification settings - Fork 669
Compatibility with Ubuntu 18.04 LTS (bionic) as a host OS #331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* `-accel help` writes to stderr, not stdout * `-netdev help` is not implemented The -netdev info is only used to detect vde support, which isn't used on Linux, so this doesn't affect Lima. Signed-off-by: Jan Dubois <jan.dubois@suse.com>
The feature to add algorithms to the front of the default set by using a leading `^` has been added in OpenSSH 8.0 and cause an error on earlier versions. Specifying a different cipher is just a (minor) performance tweak, not a requirement. Signed-off-by: Jan Dubois <jan.dubois@suse.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. We should have a CI, but it can be added later
if err := cmd.Run(); err != nil { | ||
logrus.Warnf("failed to run %v: stderr=%q", cmd.Args, stderr.String()) | ||
} else { | ||
regex := regexp.MustCompile(`^OpenSSH_(\d+\.\d+)(?:p(\d+))?\b`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have unit tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for the regexp? Then yes, we can move it to a separate function that can be tested without calling ssh -V
.
What did you have in mind? Another Cirrus CI task that runs on 18.04 instead of 21.04? Testing just one of the guests, or all of them? I'm kind of wary of adding more CI platforms while the current ones are still flaky. It will just add to the frustration. |
I was thinking testing only the |
Compatibility with qemu 2.11.1
-accel help
writes to stderr, not stdout-netdev help
is not implementedThe
-netdev help
info is only used to detect vde support, which isn't used on Linux, so this doesn't affect Lima.Compatibility with OpenSSH 7.1p1
The feature to add algorithms to the front of the default set by using a leading
^
has been added in OpenSSH 8.0 and causes an error on earlier versions.Specifying a different cipher is just a (minor) performance tweak, not a requirement.
This PR also moves the SSH info gathering from the init phase to "on demand" when first used. That way the logging system is initialized when the
detect*
functions are running.