Your message dated Sat, 14 Jan 2017 12:37:03 +0000
with message-id <1484397423.1091.25.ca...@adam-barratt.org.uk>
and subject line Closing requests included in today's point release
has caused the Debian Bug report #823517,
regarding jessie-pu: package nbd/1:3.8-4+deb8u3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
823517: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823517
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian....@packages.debian.org
Usertags: pu

Hi,

There is a forward-compatibility bug in nbd-client <= 3.9, in that it
incorrectly merges two flags fields when sending flags to the kernel.
The result of this bug is that all exports exported by nbd-server >= 3.9
and connected to by nbd-client <= 3.9 are all marked as read-only on the
client side.

I would like to update the package in Jessie to remedy the issue, so
that upon the release of Stretch, clients running Jessie can still talk
to servers running Stretch.

diff -u nbd-3.8/debian/changelog nbd-3.8/debian/changelog
--- nbd-3.8/debian/changelog
+++ nbd-3.8/debian/changelog
@@ -1,3 +1,11 @@
+nbd (1:3.8-4+deb8u3) jessie; urgency=medium
+
+  * nbd-client.c: stop mixing global flags into the flags field that
+    gets sent to the kernel, so that connecting to nbd-server >= 3.9
+    does not cause every export to be (incorrectly) marked as read-only.
+
+ -- Wouter Verhelst <wou...@debian.org>  Thu, 05 May 2016 16:26:48 +0200
+
 nbd (1:3.8-4+deb8u2) jessie; urgency=low
 
   * Cherry-pick two commits from 3.10 to fix authfile parsing.
only in patch2:
unchanged:
--- nbd-3.8.orig/nbd-client.c
+++ nbd-3.8/nbd-client.c
@@ -320,7 +320,7 @@
        } else {
                if(read(sock, &tmp, sizeof(tmp)) < 0)
                        err("Failed/4: %m\n");
-               *flags |= (uint32_t)ntohs(tmp);
+               *flags = (uint32_t)ntohs(tmp);
        }
 
        if (read(sock, &buf, 124) < 0)

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unreleased'), (500, 'unstable'), 
(500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, m68k, arm64

Kernel: Linux 4.5.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Version: 8.7

Hi,

Each of these bugs refers to an update that was included in today's 8.7
point release.

Regards,

Adam

--- End Message ---

Reply via email to