Your message dated Sun, 21 Nov 2021 16:19:10 +0000
with message-id <[email protected]>
and subject line Bug#996487: fixed in nbd 1:3.23-1
has caused the Debian Bug report #996487,
regarding nbd-client: connects to localhost instead of the requested server
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 [email protected]
immediately.)


-- 
996487: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996487
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nbd-client
Version: 1:3.22-1
Severity: important

Hi!
Since a few days ago (ie, since 1:3.22-1 upload), nbd-client stopped working
for me.  stracing it shows:

[pid  4166] socket(AF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP) = 3
[pid  4166] connect(3, {sa_family=AF_INET6, sin6_port=htons(10809), 
sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "::1", &sin6_addr), 
sin6_scope_id=0}, 28) = 0
[pid  4166] getsockname(3, {sa_family=AF_INET6, sin6_port=htons(53150), 
sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "::1", &sin6_addr), 
sin6_scope_id=0}, [28]) = 0
[pid  4166] connect(3, {sa_family=AF_UNSPEC, 
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0
[pid  4166] connect(3, {sa_family=AF_INET, sin_port=htons(10809), 
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
[pid  4166] getsockname(3, {sa_family=AF_INET6, sin6_port=htons(50006), 
sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "::ffff:127.0.0.1", &sin6_addr), 
sin6_scope_id=0}, [28]) = 0
[pid  4166] close(3)                    = 0
[pid  4166] socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP) = 3
[pid  4166] connect(3, {sa_family=AF_INET6, sin6_port=htons(10809), 
sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "::1", &sin6_addr), 
sin6_scope_id=0}, 28) = -1 ECONNREFUSED (Connection refused)
[pid  4166] close(3)                    = 0
[pid  4166] socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
[pid  4166] connect(3, {sa_family=AF_INET, sin_port=htons(10809), 
sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refused)

ie, it tries to connect to the localhost via various means, instead of the
server specified in /etc/nbdtab (2001:470:64f4::90).

And indeed, if I set up a tunnel from localhost:10809 to the server, the
connection succeeds.

Downgrading to 1:3.21-1 fixes the issue.


Meow!
-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 5.14.0-2-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: OpenRC (via /run/openrc), PID 1: init
LSM: AppArmor: enabled

Versions of packages nbd-client depends on:
ii  debconf [debconf-2.0]  1.5.77
ii  libc6                  2.32-4
ii  libgnutls30            3.7.2-2
ii  libnl-3-200            3.4.0-1+b1
ii  libnl-genl-3-200       3.4.0-1+b1

nbd-client recommends no packages.

nbd-client suggests no packages.

-- Configuration Files:
/etc/nbdtab changed:
nbd0 2001:470:64f4::90 cacodemon persist,timeout=3600
nbd1 2001:470:64f4::90 mancubus swap,persist,timeout=3600


-- debconf information:
  nbd-client/no-auto-config:
  nbd-client/killall_set:

--- End Message ---
--- Begin Message ---
Source: nbd
Source-Version: 1:3.23-1
Done: Wouter Verhelst <[email protected]>

We believe that the bug you reported is fixed in the latest version of
nbd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Wouter Verhelst <[email protected]> (supplier of updated nbd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 21 Nov 2021 18:13:36 +0200
Source: nbd
Architecture: source
Version: 1:3.23-1
Distribution: unstable
Urgency: medium
Maintainer: Wouter Verhelst <[email protected]>
Changed-By: Wouter Verhelst <[email protected]>
Closes: 996487
Changes:
 nbd (1:3.23-1) unstable; urgency=medium
 .
   * New upstream release
     - Fixes hostname resolving issues; closes: #996487.
Checksums-Sha1:
 907628c388f7c199ae60ce911e0d36ab57b34bd6 1775 nbd_3.23-1.dsc
 46e71cc8ef6a51e1b5cb4299371a4fa95cba66b3 756320 nbd_3.23-1.tar.gz
 adaea6fe55c6a4d6ae6c142a77670e232bef3749 10898 nbd_3.23-1_source.buildinfo
Checksums-Sha256:
 ac4c916dd748167c9da4fd2723ffb8f95e64d57db0ef37b8251de7416fea1bed 1775 
nbd_3.23-1.dsc
 e57669a42bbe8f303c50f21c563dda4fd7e0fedef2a3983395cdadad521a742e 756320 
nbd_3.23-1.tar.gz
 07057fda1d6e0ffa9659eeab5dba4b0404804730755df312c783213e6f0a3833 10898 
nbd_3.23-1_source.buildinfo
Files:
 72f4ac1986fe4e7d67d7f9dc41b35bd1 1775 admin optional nbd_3.23-1.dsc
 b120cdd1ee73563a53c9758c12e5aa31 756320 admin optional nbd_3.23-1.tar.gz
 6035550c60de55c9ac08658e4ed04e45 10898 admin optional 
nbd_3.23-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEm2n98/DaCUgGYSn3LfxRmVQYEpYFAmGacGcSHHdvdXRlckBk
ZWJpYW4ub3JnAAoJEC38UZlUGBKWxc8P+gNkmpcn5X89OxpV5aQllcwfMUJzWviF
5t75PE35ElB2vHFXLB+fvWr0cmdFJVGLQj1qdJAsK5VEktFziCVeBwHPA2J1UMeo
aNYPbsmVv3h6irH4JApfd0eMNr54o7flcDiPEW13m0Pvf1Z4aqdx5P9rrVhenH97
ISTI27CFIi/ftcMI1kUFUA41jwS+enIpYfeC/5A+M6K/nl4N4Bkw008YY/OOxFVZ
2BfEW9yNBDtEvscTrHq5NemAV119nE2GsvuhNuLOoMQtD6eoasOo5zNX2SUWugAY
E2PtIwyXKgTbLQBpuRJg1WCt408RB/IZQwMNzxcDUguSfHYhHBwZ10EKEMOXDR24
LawZTTktFlefv6OQJeHGfhVMdruXFKosXnMPgLHOWcL46p1gl33H7EeEzkSfRa36
KSGSbqxe/O0V+NLDsUmfzMztWBD1GnBmU4j4LjLeRhoM+5S3IBcSHu6TvYBqTnVo
isKCWU45Ymd/hkjXO/R4BUrlV0i7KORHhnKzs3aakOi+IF1MPxXOLpKLctsnIlGN
9x+EBq/sOWAHXRKaT4CM4D1KBTUedlBpoHgb3iy0pppCSqBJd5xOsSHLzPhRUGzr
3N8D9OkYO+nO3oCmCiLU/ZIHlYfu9qm5ilPMImI0tl+UnEqrbJAuXs0ESog1NBlP
Tq/y3+sMBqxA
=K9pZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to