- 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 OBS-URL: https://build.opensuse.org/package/show/network:utilities/nbd?expand=0&rev=62
This commit is contained in:
parent
145626ddd0
commit
96c7154348
@ -16,14 +16,14 @@ Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
|
||||
nbd-server.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/nbd-server.c b/nbd-server.c
|
||||
index 1d1f4c8d..b0720ea1 100644
|
||||
--- a/nbd-server.c
|
||||
+++ b/nbd-server.c
|
||||
@@ -3470,6 +3470,7 @@ void dousers(const gchar *const username, const gchar *const groupname) {
|
||||
str = g_strdup_printf("Invalid user name: %s", username);
|
||||
Index: nbd-3.18/nbd-server.c
|
||||
===================================================================
|
||||
--- nbd-3.18.orig/nbd-server.c
|
||||
+++ nbd-3.18/nbd-server.c
|
||||
@@ -3471,6 +3471,7 @@ void dousers(const gchar *const username
|
||||
err(str);
|
||||
}
|
||||
setgroups(0, NULL);
|
||||
+ setgroups(0, NULL);
|
||||
if(setuid(pw->pw_uid)<0) {
|
||||
err("Could not set UID: %m");
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d95c6bb1a3ab33b953af99b73fb4833e123bd25433513b32d57dbeb1a0a0d189
|
||||
size 511224
|
3
nbd-3.18.tar.xz
Normal file
3
nbd-3.18.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d83762cefc3e87171283652b71595e5d01a54f95d912315b823a49b0a3d46031
|
||||
size 527436
|
19
nbd.changes
19
nbd.changes
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 15 15:09:19 UTC 2019 - Martin Pluskal <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 7 08:08:46 UTC 2018 - olaf@aepfle.de
|
||||
|
||||
|
13
nbd.spec
13
nbd.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package nbd
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,21 +12,20 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%if ! %{defined _fillupdir}
|
||||
%define _fillupdir /var/adm/fillup-templates
|
||||
%endif
|
||||
|
||||
%if ! %{defined _fillupdir}
|
||||
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%define use_firewalld 1
|
||||
%else
|
||||
%define use_firewalld 0
|
||||
%endif
|
||||
|
||||
Name: nbd
|
||||
Version: 3.17
|
||||
Version: 3.18
|
||||
Release: 0
|
||||
Summary: Network Block Device Server and Client Utilities
|
||||
License: GPL-2.0-or-later
|
||||
|
Loading…
Reference in New Issue
Block a user