libnbd-release-notes-1.2(1)

πŸ’– libnbd-release-notes-1.2(1) β€” the LIBNBD glow-up diary πŸ’–

okay bestie, so this page lives in the LIBNBD manual, and it's literally the receipts for libnbd stable release 1.2 β€” page name libnbd-release-notes-1.2. grab a lil snack, we're going through the whole glow-up πŸŽ€


✨ NAME ✨

libnbd-release-notes-1.2 β€” no cap, these are the release notes for libnbd 1.2 πŸ¦‹


🌸 DESCRIPTION 🌸

These are the release notes for libnbd stable release 1.2, and they describe the major changes since 1.0. it's giving growth arc, honestly πŸ’…

libnbd 1.2.0 was released on 14th November 2019. mark your calendars, iconic date πŸ—“οΈβœ¨

πŸ”’ Security πŸ”’

so during development of libnbd 1.2, two security problems were found. both were backported to the 1.0 stable branch. upgrading is highly advisable β€” like, please bestie, do it πŸ™ˆ

⚠️ these are real-deal security issues, not vibes. both got backported to 1.0, and yes, upgrading is highly advisable. periodt.

πŸ‘‘ New APIs πŸ‘‘

πŸ¦‹ New features πŸ¦‹

  • new tool nbdfuse(1) lets you create a loop-mounted file backed by an NBD server without needing root β€” literally no root required, ate πŸ’…
  • AF_VSOCK is now a supported protocol (thanks Stefan Hajnoczi and Stefano Garzarella 🫢)
  • support for the FAST_ZERO flag (Eric Blake) ⭐
  • allow disabling certain protocol features, so testing servers is way easier (Eric Blake) ✨
  • stack-allocated Variable Length Arrays (VLAs) are now banned throughout the library, which makes the library easier to consume from threads and other small stack situations 🌸
  • reproducible builds (Chris Lamb) πŸŽ€
  • support for filtering potentially dangerous or undesirable NBD URI features πŸ”’

πŸ“š Documentation πŸ“š

many improvements to the generated manual pages, including:

  • separate "RETURN VALUE" and "ERRORS" sections for each API function
  • example code
  • relevant links can be added to the "SEE ALSO" section
  • link to the NBD URI specification where relevant, plus improved docs around what URIs libnbd supports
  • document the libnbd version number scheme
  • document limits on export name length, encoding etc.

plus a brand-new libnbd-security(3) man page listing past security issues and remediations (Eric Blake) πŸ‘‘

🧰 Tools 🧰

  • nbdsh(1) has a new --base-allocation option which can be used to request the base:allocation metadata context πŸ“
  • new nbdsh(1) --uri (-u) option to connect to URIs 🌈

πŸ§ͺ Tests πŸ§ͺ

  • you can now fuzz libnbd using either American Fuzzy Lop or clang's libFuzzer πŸ’€βœ¨
  • add unit tests for nbdsh(1) (Eric Blake)
  • improved interop testing with various NBD servers and features πŸ”₯

πŸ› οΈ Other improvements and bug fixes πŸ› οΈ

  • nbd_connect_tcp(3) now tries to return the correct errno(3) from the underlying connect(2) call when that fails πŸ™ˆ
  • the nbd-protocol.h header file is now shared between libnbd and nbdkit πŸŽ€
  • better fork-safety in nbd_connect_* APIs 🫢
  • the code was analyzed with Coverity and various problems were identified and fixed πŸ‘‘

🌟 SEE ALSO 🌟

libnbd(3). go read it bestie, iykyk πŸ’œ


πŸ’œ AUTHORS πŸ’œ

Eric Blake

Richard W.M. Jones


Copyright Red Hat


πŸ“œ LICENSE πŸ“œ

okay so this part is the legal bit, and legal bits deserve to be quoted exactly, so here it is word-for-word 🫢

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA


and that's the whole page, bestie πŸ’– this one shipped in the libnbd-1.25.8 package, dated 2026-10-13, and yep β€” it's libnbd-release-notes-1.2(1) in the LIBNBD manual. slay, go upgrade πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from