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

Re: [Nbd] NBD 3.11 crashes after negotiation



Thanks Wouter! What version of NBD would you consider to be the most stable? The latest release? We are trying to upgrade from a really old version that we have had issues with. I just kind of went off most downloads from the Sourceforge project page (https://sourceforge.net/projects/nbd/files/nbd/) and it looked to be 3.11 which also had a CVE fixed in it. Would you say the latest version? I'd like to keep the oldstyle negotiation if possible so we don't have to change many scripts that have been in place for a very long time but if we need to I will rewrite them.

On Sun, Mar 19, 2017 at 9:32 AM, Wouter Verhelst <w@...112...> wrote:
Hi Stephen,

On Fri, Mar 17, 2017 at 04:24:22PM -0400, Stephen Powers wrote:
> What am I missing here then to connect using the old-style?
>
> [root@...2869... ~]# nbd-client 10.8.0.12 1040 /dev/nbd15
> ERROR: not enough information specified

Sorry, my mistake. I thought oldstyle was dropped for 3.12, but checking
it now I notice it was dropped for 3.10 (it's been a while).

In 3.11, there were a few dead code paths that still tried to access
oldstyle negotiation, but they didn't work. So for 3.11, you can't start
nbd-server from the command line; you have to start it with a
configuration file.

Starting it from the command line (with a default export name) is
supported again in later versions, so if you want that, you can always
upgrade to a later version of NBD.

Regards,

--
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
       people in the world who think they really understand all of its rules,
       and pretty much all of them are just lying to themselves too.
 -- #debian-devel, OFTC, 2016-02-12


Reply to: