[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NBD 3.23

On Tue, Nov 16, 2021 at 12:09:28PM +0200, Wouter Verhelst wrote:
> Hi,
> There was a small but crucial bug in NBD 3.22, which meant that the
> client would only connect to localhost (🤦). I've uploaded a new version
> of NBD to the usual spot to fix that issue.
> If anyone can come up with a good way to test that nbd-client actually
> connects to a host that is *not* localhost which we can add to the test
> suite, that'd be nice :) otherwise, I'll try to remember to test this
> manually from now on.

If you don't mind another dependency (which I think is probably OK for
tests, but make it optional!) then cwrap can do this, specifically I
think you need nss_wrapper.


Fedora package:

Debian package:

(This is assuming you are really testing name resolution, rather than
wanting to test that it can actually connect to a remote host, which
is not going to be easy without using VMs or something like that.)


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch

Reply to: