This is fixed in dc00a45a068f6520d554bcaf9bb61f52d7044e74

Don't look it up. Please don't look it up.

😬

On Thu, Oct 14, 2021 at 07:59:27PM +0200, Adam Borowski wrote:
> 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:
> 

-- 
     w@uter.{be,co.za}
wouter@{grep.be,fosdem.org,debian.org}

Reply via email to