Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: nbd | Distribution: SUSE Linux Framework One |
Version: 3.24 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: slfo.1.1.7 | Build date: Wed Aug 21 18:02:14 2024 |
Group: Productivity/Networking/Other | Build host: h01-ch3d |
Size: 236917 | Source RPM: nbd-3.24-slfo.1.1.7.src.rpm |
Packager: https://www.suse.com/ | |
Url: https://nbd.sourceforge.io/ | |
Summary: Network Block Device Server and Client Utilities |
This package contains nbd-server. It is the server backend for the nbd network block device driver that's in the Linux kernel. nbd can be used to have a filesystem stored on another machine. It does provide a block device, not a file system; so unless you put a clustering filesystem on top of it, you can't access it simultaneously from more than one client. Use NFS or a real cluster FS (such as ocfs2) if you want to do this. nbd-server can export a file (which may contain a filesystem image) or a partition. Swapping over nbd is possible as well, though it's said not to be safe against OOM and should not be used for that case. nbd-server also has a copy-on-write mode where changes are saved to a separate file and thrown away when the connection closes. The package also contains the nbd-client tools, which you need to configure the nbd devices on the client side.
GPL-2.0-or-later
* Sun Apr 10 2022 dmueller@suse.com - update to 3.24 (bsc#1196827, bsc#1196828, CVE-2022-26495, CVE-2022-26496): * https://github.com/advisories/GHSA-q9rw-8758-hccj * Sat Dec 11 2021 andreas.stieger@gmx.de - nbd 3.23: * Don't overwrite the hostname with the TLS hostname * Sat Oct 16 2021 dmueller@suse.com - update to 3.22: - nbd-server: handle auth for v6-mapped IPv4 addresses - nbd-client.c: parse the next option in all cases - configure.ac: silence a few autoconf 2.71 warnings - spec: Relax NBD_OPT_LIST_META_CONTEXTS - client: Don't confuse Unix socket with TLS hostname - server: Avoid deprecated g_memdup * Thu Feb 04 2021 dmueller@suse.com - update to 3.21: - Fix --disable-manpages build - Fix a bug in whitespace handling regarding authorization files - Support client-side marking of devices as read-only - Support preinitialized NBD connection (i.e., skip the negotiation). - Fix the systemd unit file for nbd-client so it works with netlink (the more common situation nowadays) * Fri Sep 18 2020 mrostecki@suse.com - Remove firewalld service file - it's in the main firewalld package now. * Fri Sep 11 2020 fbui@suse.com - Drop use of DISABLE_RESTART_ON_UPDATE=yes This interface is deprecated and %service_del_postun_without_restart should be preferred. However the variable was misused as DISABLE_RESTART_ON_UPDATE=yes was not supposed to be used with %service_add_post in %post but with %service_del_postun in %postun section. Given that no one noticed that for years let's just drop it. * Thu Aug 20 2020 dimstar@opensuse.org - Fix typo in previous commit (%{prefix/lib} ->%{_prefix}/lib). * Tue Aug 18 2020 dimstar@opensuse.org - Fix wrong usage of %{_libexecdir} for systemd/firewalld owned paths. * Wed Mar 18 2020 info@paolostivanin.com - Update to 3.20.0 (no changelog) * Wed May 29 2019 mpluskal@suse.com - Update to version 3.19.0: * Better error messages in case of unexpected disconnects * Better compatibility with non-bash sh implementations (for configure.sh) * Fix for a segfault in NBD_OPT_INFO handling * The ability to specify whether to listen on both TCP and Unix domain sockets, rather than to always do so * Various minor editorial and spelling fixes in the documentation. * Tue Jan 15 2019 mpluskal@suse.com - Update to version 1.18.0: * Client: Add the "-g" option to avoid even trying the NBD_OPT_GO message * Server: fixes to inetd mode * Don't make gnutls and libnl automagic. * Server: bugfixes in handling of some export names during verification. * Server: clean supplementary groups when changing user. * Client: when using the netlink protocol, only set a timeout when there actually is a timeout, rather than defaulting to 0 seconds * Improve documentation on the nbdtab file * Minor improvements to some error messages * Improvements to test suite so it works better on non-GNU userland environments - Refresh 0001_fix_setgroup.patch * Fri Sep 07 2018 olaf@aepfle.de - Provide %_fillupdir in case it is not defined * Tue Jul 24 2018 luizluca@gmail.com - Add firewalld service file - Fix some rpmlint warnings: * 0001_fix_setgroup.patch (gh#NetworkBlockDevice/nbd#79) * Workaround macro-in-comment (rpmlint bug) * Mon Jul 09 2018 mpluskal@suse.com - Update to version 1.17.0: * proto: add xNBD command NBD_CMD_CACHE to the spec * server: do not crash when handling child name * server: Close socket pair when fork fails * Fri Jan 05 2018 mpluskal@suse.com - Update to version 1.16.2: * Make the test suite less chatty * Various build system improvements * Fixes to the systemd unit to make it work again with recent systemd * Point to the nbd mailinglist, rather than to the maintainer's personal email address, for bug reports. * Thu Nov 23 2017 rbrown@suse.com - Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468) * Fri Oct 13 2017 olaf@aepfle.de - Disable restart on update to keep existing client connections alive (bsc#1063135) * Thu Sep 07 2017 olaf@aepfle.de - Add nbd-client.service which will provide a nbd@.service to allow other units to require a nbd@nbd0.service if /etc/nbdtab is configured accordingly * Thu Jun 08 2017 mpluskal@suse.com - Update to version 3.16.1: * Only change is a minor bugfix from 3.16, so that - -enable-syslog is unbroken. - Changes for version 3.16.0: * Implement the NBD_OPT_GO and NBD_OPT_INFO negotiation options in both the client and the server, and use them in preference over NBD_OPT_EXPORT_NAME (but fall back to the latter in case the serverdoesn't support NBD_OPT_GO). * Make sure we still run the postrun command, even if the connection was closed improperly. * Add a new "waitfile" parameter. * Make sure that nbd compiles on non-Linux platforms again, in the face of all variants of the GnuTLS options. * Various fixes for issues found by Coverity * Fri Mar 24 2017 mpluskal@suse.com - Update to version 3.15.2: * Fix the copyonwrite situation with multiple threads. This has been broken since nbd 3.12, where multiple outstanding writes could corrupt the copyonwrite diff file. * Build system improvements so that things work again if nbd-client isn't buildable while GnuTLS is enabled * Documentation updates * Fixes to the GnuTLS usage, and the ability to configure the priority string for that library - Changes for version 3.15.1: * minor but crucial fix in the handling of the WRITE_ZEROES command, which would otherwise not work in cooperation with TLS. - Changes for version 3.15.0: * Implement NBD_CMD_WRITE_ZEROES, for efficiently writing large numbers of zeroes (server side implementation only) * (optional) support for NBD_OPT_STARTTLS, using GnuTLS. * Support for multiplexing commands over multiple connections, for improving performance (requires Linux 4.10 or above). * Support for using splice(), also for improving performance * Protocol errors during negotiation now are accompanied by a human-readable error string. * Fix the handling of maxconnections, so that it is not a global setting (over all exports) but rather a per-export setting. * Fix handling of unknown options sent to the server. Previously we would desync from the protocol, causing another error and a disconnect. * Produce a log message when the address family of the client socket does not match the expected address family in the authfile handling. A proper fix would convert IPv4 sockets to v6-mapped v4 sockets, but that's much more complicated. * and various other minor fixes too small to mention here; see the changelog - Changes for version 3.14.0: * Major review of doc/proto.md, with many clarifications. * Some bug fixes for nbd-server that were discovered during the extensive updates to proto.md * Some fixes for non-Linux platforms, * Some minor incremental improvements to the new nbdtab functionality, * Fix the way we tell the kernel about really small exports, * Removal of references to the no longer supported oldstyle from all documentation * Minor updates, clarifications, and syntax fixes for man pages and other documentation * Addition of a systemd unit file for nbd-client. This requires a kernel which issues change events upon disconnect (commit 37091fdd83), and a udev which correctly sets SYSTEMD_READY - Drop init.nbd-server and support for non systemd distributions - Drop patches: * nbd-2.9.25-close.diff (upstreamed) * nbd-2.9.25-doxyfile.diff (no longer needed) - Do not build doc subpackage * Mon Feb 08 2016 dmueller@suse.com - autoload nbd module * Fri Feb 05 2016 dmueller@suse.com - nbd-server.service: implement reload * Sat Jan 23 2016 mpluskal@suse.com - Update to 3.13 * This is mainly a bugfix release, containing fixes found in 3.12.1 by compiling on different architectures, submitting the build to Coverity Scan, and some analysis of intermittent failures that found a race condition. * Tue Dec 01 2015 p.drouand@gmail.com - Update to version 3.12.1 * ensures the source to the "nbdtab" man page is correctly shipped with the rest of the source. - Changes from version 3.12 * inetd mode should work again, now using the default export name in the newstyle protocol * when specifying an export on the server command line or not specifying a name on a client command line, the newstyle protocol is used with the default export name (but a warning will be produced stating that oldstyle is no longer supported) * All traces of oldstyle (except a few error messages) have been removed * We now listen on IPv4 and IPv6 by default, regardless of what the system's configuration is like, by explicitly listening both on 0.0.0.0 and ::. * Some bugs in the handling of the TRIM command have been removed * nbd *client now uses readit() in the negotiation, rather than plain non *retrying read(). * It is now possible to listen on multiple addresses; the "listenaddr" parameter has been changed into a comma *separated list of addresses to listen on * nbd *client now supports an nbdtab file, which allows connecting a device by just using the device name * nbd *server now uses a GThreadPool to implement asynchronous handling of requests * Punching holes on files is now supported on cygwin, too. - Remove no-return-nonvoid.patch; fixed on upstream release * Thu May 28 2015 mpluskal@suse.com - Update to 3.11 * nbd-server: fix unsafe signal handling * define error values as part of the protocol * docs/proto: clarify NBD_CMD_FLUSH - Drop nbd_signaling_CVE-2015-0847.patch as fix is included in upstream * Mon May 11 2015 mpluskal@suse.com - Fix CVE-2015-0847 * nbd_signaling_CVE-2015-0847.patch * Fri Apr 17 2015 mpluskal@suse.com - Update to 3.10 * There really is only one change since 3.9: drop of the "oldstyle" support from nbd-server and nbd-client. * Thu Mar 05 2015 mpluskal@suse.com - Cleanup spec-file with spec-cleaner - Do not generate config.example from README * add config.example as source - Add unit file (nbd-server.service) - Add sysconfig template (nbd-server.sysconfig) - Add no-return-nonvoid.patch - Update requirements - Update to 3.9 * AF_UNIX support * Fixed test suite on non-GNU getopt() implementations * New "treefiles" mode, which exports a gazillion of page-sized files; useful for exporting things which are stored on an SSHFS or amazon AWS (trough FUSE) or similar, where every write causes an upload to the backend storage * New "cowdir" option, allowing to specify where copy-on-write files are written. * Minor changes so that nbd-client can now also be compiled for the Android platform. This required removal of the -swap command line option, which requires the mlockall() system call, unavailable on Android. * Protocol update: a reserved bit is used to avoid sending the 124 bytes of useless data at the beginning of the negotiation. The change is implemented so that things will still work with clients not supporting this option, however. * gznbd is now built by the same build system, rather than a separate one. Note however that gznbd is still unmaintained; it should be considered a "contrib" feature. * "nbd-server -V" will now output the nbd-server version number. * Various fixes found through Coverity and the clang static analyzer, and lots of other minor things too small to mention here. * Sun Nov 09 2014 ledest@gmail.com - fix bashisms in pre script * Thu Apr 18 2013 dmueller@suse.com - update to 3.3: * and various bugfixes, upgrading is strongly recommended * Fix various nbd-server misbehave bugs * Tue Jul 10 2012 aj@suse.de - Fix restart_on_update usage. * Fri May 18 2012 tabraham@novell.com - Update to nbd-3.1 * minor bug fixes * new feature: ability for the client to list the exports a server supports * Wed Feb 29 2012 tabraham@novell.com - Update to nbd-3.0 * minor bug fixes - removed obsolete nbd-2.9.25-have_falloc_ph.diff - compile with -fno-strict-aliasing to prevent breakage with new gcc * Thu Jan 05 2012 tabraham@novell.com - Update to nbd-2.9.25 * TRIM now uses FALLOC_FL_PUNCH_HOLE * minor bug fixes - removed obsolete nbd-2.9.20-bigendian.diff - refreshed nbd-2.9.20-close.diff * Fri Sep 16 2011 rfno@fietze-home.de - Install nbd-server.5 man page * Mon Apr 04 2011 ms@suse.de - socklen_t is always 32bit, size_t is 64bit. so a classical big endian 64bit error (bnc #674281) * Fri Feb 25 2011 ms@suse.de - Update to nbd-2.9.20: * Documentation update * Fix buffer size checking (bnc #674281) * Extend test suite and fix named exports * Wed Aug 05 2009 ms@suse.de - fixed missing close to open (bnc #528272) * Thu Jul 09 2009 ms@suse.de - Update to nbd-2.9.13: * Documentation update * Don't try working on partitions When a partition is given to the -d or -c command line options, reduce it to the master device instead. This assumes udev-style naming of device entries, though. * Fix autodetection Everything else in nbd-server was already 64bit-clean, but this part, where the size of a block device is autodected, wasn't. Replace the ioctl() to BLKGETSIZE with its 64bit version, so that trying to detect the size of a multi-terabyte block device does not fail. * Avoid unaligned access * Actually go daemon just doing chdir("/") leave file descriptors open, which is not ideal. Doing it this way closes everything, including any system-specific things we're not aware of. * Remove support for timeout option * Mon May 04 2009 ms@suse.de - Update to nbd-2.9.12: * use atoll instead of atol ... so that multi-terabyte exports work, too * Change meaning of -swap option: rather than trying to use a kernel patch which has been effectively dead since sometime around 2.1.something, do an mlockall() so that the kernel won't throw us out. The MCL_CURRENT | MCL_FUTURE bit might prove to be problematic, but if so, we'll deal with it when we get there * Use right printf() format string * Wed Aug 20 2008 garloff@suse.de - Update to nbd-2.9.11: * nbd-client: new option -c to check for connection, -d to drop connection, -persist to infinitely retry connections dropped by server. timeout= setting * nbd-server: drop autoreadonly option * Thu Nov 15 2007 garloff@suse.de - Update to nbd-2.9.9: * Document -C option of nbd-server. * Fix name of /var/run/ file. * Wed Nov 07 2007 garloff@suse.de - Split nbd into nbd and nbd-doc packages. - Update to nbd-2.9.8: * nbd-server can now setuid to specified user and group. * prerun and postrun scripts can be specified. * IP address to bind to (listenaddress) can be configured. * Socket Direct Protocol (sdp) -- not enabled. * server exits now after connection has gone (oops!). * nbd-client: timeout parameter. * Mon Jul 30 2007 garloff@suse.de - Convert options from old nbd-server.conf to new nbd-server/config on update and drop support for old config file syntax. - Fix daemonize(0) segfault and pid filename. - Fix compiler warnings. - Fix /dev filename docu. - Use startproc, killproc, checkproc in init script - nbd-server does not support SIGHUP, fix init script accordingly. * Mon Jul 16 2007 garloff@suse.de - Update to nbd-2.9.5: * Support for more platforms, pkgconfig, debug build. * -o option to convert cmdline options to config file. * Fix duplication in handling nonblocking server socket. * Mon Mar 12 2007 garloff@suse.de - Update to 2.9.2: * make child socket nonblocking * Reintegrate fix for 64bit on looking for file size. * Fix cross-compiling * Search for libraries to allow linking on Solaris - Update to 2.9.1: * A fix for a piece of code following a null pointer, and one for a memory leak (if only minor). - Update to 2.9.0: * * Configuration file support * The ability to server multiple nbd-server exports from one server * Better multiple-file support (files can now be of any random size) * Better support for virtualizing servers (in addition to replacing %s with the client's IP address, it is now also possible to use other options which allow for hashed directories) * Support for changing uid and gid after startup * The ability to do the copy-on-write stuff with a sparse file rather than a mapped file (specified by a config file option), which may be slightly faster. * Sat Nov 18 2006 garloff@suse.de - Add nbd-server init script (parses /etc/nbd-server.conf). * Thu Oct 19 2006 garloff@suse.de - Update to nbd-2.8.7: * A fix for build against nbd.h for kernel 2.6.18 (and above, presumably) * Thu Oct 12 2006 ro@suse.de - include linux/types.h before linux/nbd.h * Mon Aug 07 2006 garloff@suse.de - Update to nbd-2.8.6: * performance/reliability improvements: Use select() rather than accept() and waitpid() with WNOHANG rather than wait(). - Update to nbd-2.8.5: * -persist option. * Add export verification. * Make sure queue is empty for write requests to read-only export. - Update to nbd-2.8.4: * Includes the previous fix (closing server socket) * Mon Mar 06 2006 garloff@suse.de - Make sure children quit when they finish serving, rather than trying to do stuff with a server socket that they've closed already in a loop. Whoops. (Fix from nbd-2.8.4.) * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Jan 23 2006 garloff@suse.de - Enable -fstack-protector. * Mon Jan 09 2006 garloff@suse.de - Update to nbd-2.8.3: * CVE-2005-3534. * A fix for 64bit systems regarding the BLKGETSIZE ioctl(). * Better handling of SIGCHLD. * Mon Dec 19 2005 garloff@suse.de - Update to nbd-2.8.2: * Enable LFS by default. * Wed Nov 02 2005 dmueller@suse.de - don't build as root * Fri Oct 28 2005 garloff@suse.de - Update to version 2.8.1. - Documentation added. * Mon Jul 04 2005 garloff@suse.de - Initial creation of package. Mon Jul 4 18:24:39 CEST 2005 -
/etc/nbd-server /etc/nbd-server/allow /etc/nbd-server/config /etc/nbd-server/config.example /usr/bin/nbd-server /usr/bin/nbd-trdump /usr/bin/nbd-trplay /usr/lib/modules-load.d /usr/lib/modules-load.d/nbd.conf /usr/lib/systemd/system/nbd-server.service /usr/lib/systemd/system/nbd@.service /usr/sbin/min-nbd-client /usr/sbin/nbd-client /usr/sbin/rcnbd-server /usr/share/doc/packages/nbd /usr/share/doc/packages/nbd/README.md /usr/share/fillup-templates/sysconfig.nbd-server /usr/share/man/man1/nbd-server.1.gz /usr/share/man/man1/nbd-trdump.1.gz /usr/share/man/man1/nbd-trplay.1.gz /usr/share/man/man5/nbd-server.5.gz /usr/share/man/man5/nbdtab.5.gz /usr/share/man/man8/nbd-client.8.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Nov 12 00:02:43 2024