[DRE-maint] Bug#1008541: vagrant: Cant create boxes running ssh 8.8
Antonio Terceiro
terceiro at debian.org
Fri Apr 8 14:15:58 BST 2022
Control: forcemerge 1009155 -1
Hi,
On Fri, Apr 08, 2022 at 07:41:18AM +0200, Lucas Nussbaum wrote:
> On 28/03/22 at 16:54 +0200, Arnaud Patard wrote:
> > Package: vagrant
> > Severity: normal
> >
> > Dear Maintainer,
> >
> >
> > It's not possible to start a VM on bullseye with this Vagrantfile:
> >
> > Vagrant.configure("2") do |config|
> > config.vm.box = "generic/alpine315"
> > end
> >
> > It's stuck while trying the use SSH. generic/alpine310 is fine for instance.
> > After debugging, it turns out that it's due to ssh 8.8 running inside the guest.
> >
> > It has been:
> > - fixed in ruby net-ssh:
> > https://github.com/net-ssh/net-ssh/commit/a45f54fe1de434605af0b7195dd9a91bccd2cec5
> > - workarounded in vagrant with lib/vagrant/patches/net-ssh.rb
> >
> > Doing a quick&dirty backport of sid vagrant seems to fix the issue.
> >
> > I'm not sure which package should be fixed (rubygem-net-ssh or vagrant)
> > so bugging against vagrant since it's this package not working.
> >
> > Thanks,
> > Arnaud
>
> Hi,
>
> This is #1009155 in ruby-net-ssh. I plan to backport the package to
> bullseye-backports once the fixed ruby-net-ssh package is accepted in
> testing.
>
> However, I don't know if we want to consider "use ruby-net-ssh from
> backports" a sufficient solution for this issue.
Thanks for looking into this. I backported
https://github.com/net-ssh/net-ssh/pull/838 to bullseye. It did not
apply cleanly, but that was mainly due to reformating (indentation,
spaces etc) that was done since the the version in bullseye and the one
the patch was written against.
The resulting package builds fine passing its test suite, and passes
autopkgtest as well.
However, I don't have a stable system where I can run vagrant and test
this. Would one of you be able to test the attached .deb on a stable
system, with vagrant from stable? The source is
https://salsa.debian.org/ruby-team/ruby-net-ssh/-/commit/c32bed634c25deff5837b9e43f5ee7a6b646915c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-net-ssh_6.1.0-2+deb11u1_all.deb
Type: application/vnd.debian.binary-package
Size: 107876 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20220408/76f2d49a/attachment-0001.deb>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20220408/76f2d49a/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list