Re: NBD 3.23
On Tuesday, November 16, 2021 3:41:44 PM CET Richard W.M. Jones wrote:
> 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.
>
> https://cwrap.org/
> https://lwn.net/Articles/594863/
>
> Fedora package:
> https://src.fedoraproject.org/rpms/nss_wrapper
>
> Debian package:
> https://packages.debian.org/sid/libnss-wrapper
I think you want socket_wrapper and nss_wrapper. socket_wrapper is the tool to
create the network, nss_wrapper for name resolution :-)
Best regards
Andreas
Reply to:
- References:
- NBD 3.23
- From: Wouter Verhelst <w@uter.be>
- Re: NBD 3.23
- From: "Richard W.M. Jones" <rjones@redhat.com>