NBD 3.27.0
New features:
- nbd-client's persist mode now works with the netlink API (Wouter Verhelst)
- Encrypted communications now default to enable modern versions of TLS by
default, if supported by the installed GnuTLS. That is, TLS1.0 and 1.1 are
disabled, everything else supported by your GnuTLS is enabled. (Wouter
Verhelst) - nbd-client: Add support for setting /sys/block/nbdN/backend (Eric Blake)
- nbd-client's -c option now uses the netlink "get status" command when netlink
mode is active, rather than checking files under /sys
Bug fixes:
- nbd-client systemd service file is generated correctly again (Christian
Hesse) - nbdtab again defaults the port number to the default 10809 rather than "0"
(Dave Jones) - passing --disable-manpages to configure when docbook2man is installed now no
longer fails (Dave Jones) - Drop uses of g_key_file_free, as we chose the garbage collection mode in the
previous release. - A few fixes and refactors in treefiles mode (roker)
- Fix builds on musl with gcc14 (Khem Raj)
- nbd-client: Improve error message received when the invoker is not root and
tries to configure an NBD device - nbd-client: Improve error message received when the device is in use (Lin
Liu) - Drop use of the daemon() function which is not supported by all OSes
(Wouter Verhelst) - Fix infinite loop in TLS handling (Janis Kalofolias)
- Fix copy-on-write corruption (berend de schouwer)
Tests:
- Write a mock libnl to improve nbd-client test coverage (Wouter Verhelst)
- dup.c: Fix incorrect comparison (Baruch)
- If cwrap is installed, run the entire test suite inside socket_wrapper and
nss_wrapper (Wouter Verhelst). This requires that we change the gnutls push
and pull functions, but we do that for the test suite only.
Removed functionality:
- drop gznbd, has not been maintained for years and is not functional with
modern nbd-client, either.
Full Changelog: nbd-3.26.1...nbd-3.27.0