[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
This bug was fixed in the package bind9 - 1:9.18.1-1ubuntu1 --- bind9 (1:9.18.1-1ubuntu1) jammy; urgency=medium * Merge with Debian unstable (LP: #1965981). Remaining changes: - Don't build dnstap as it depends on universe packages: + d/control: drop build-depends on libfstrm-dev, libprotobuf-c-dev and protobuf-c-compiler (universe packages) + d/dnsutils.install: don't install dnstap + d/libdns1104.symbols: don't include dnstap symbols + d/rules: don't build dnstap nor install dnstap.proto - Add back apport: + d/bind9.apport: add back old bind9 apport hook, but without calling attach_conffiles() since that is already done by apport itself, with confirmation from the user. + d/control, d/rules: build-depends on dh-apport and use it - d/NEWS: mention some of the bigger changes in 9.16.0 packaging - d/bind9.named.service: use systemd Type=forking to signal daemon init. This fixes a regression of #900788 where services whose startup depend on name resolutions may fail due to bind9 not being ready (LP #1899902). - d/control: remove optional libjemalloc-dev Build-Depends as it is not in main. - d/NEWS: mention some of the relevant changes in 9.18.0 packaging or functionality that may affect usability. * Dropped changes: - d/p/0003-Remove-spurious-debugging-true.patch: remove development leftover debugging flag from nslookup code (LP: #1961556). [ Incorporated in 9.18.1. ] - SECURITY UPDATE: cache poisoning via bogus NS records + debian/patches/CVE-2021-25220.patch: tighten rules for acceptance of records into the cache in lib/dns/resolver.c. + CVE-2021-25220 [ Incorporated in 9.18.1. ] - SECURITY UPDATE: DoS via specially crafted TCP stream + debian/patches/CVE-2022-0396.patch: ensure correct ordering in lib/isc/netmgr/netmgr.c. + CVE-2022-0396 [ Incorporated in 9.18.1. ] - SECURITY UPDATE: DNAME insist with synth-from-dnssec enabled + debian/patches/CVE-2022-0635.patch: fix logic in lib/dns/rbtdb.c. + CVE-2022-0635 [ Incorporated in 9.18.1. ] - SECURITY UPDATE: Assertion failure on delayed DS lookup + debian/patches/CVE-2022-0667.patch: fix logic in lib/dns/resolver.c. + CVE-2022-0667 [ Incorporated in 9.18.1. ] * Added changes: - d/p/lp1964400-lp1964686-Add-digdelv-system-test-to-check-that-dig-tries-othe.patch, d/p/lp1964400-lp1964686-Add-digdelv-system-test-to-check-timed-out-result-fo.patch, d/p/lp1964400-lp1964686-Add-various-dig-host-tests-for-TCP-UDP-socket-error-.patch, d/p/lp1964400-lp1964686-After-dig-request-errors-try-to-use-other-servers-wh.patch, d/p/lp1964400-lp1964686-Fix-an-issue-in-dig-when-retrying-with-the-next-serv.patch, d/p/lp1964400-lp1964686-Fix-dig-error-when-trying-the-next-server-after-a-TC.patch, d/p/lp1964400-lp1964686-When-resending-a-UDP-request-insert-the-query-to-the.patch: Fix dig error when trying the next server after a TCP connection failure. This upstream patchset also fixes a crash when using the "host" command for numeric lookups (LP: #1964400) and an infinite hang when passing a non-existent hostname to "host" (LP: #1964686). -- Sergio Durigan Junior Wed, 23 Mar 2022 13:48:30 -0400 ** Changed in: bind9 (Ubuntu) Status: Confirmed => Fix Released ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-25220 ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-0396 ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-0635 ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-0667 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
** Merge proposal linked: https://code.launchpad.net/~sergiodj/ubuntu/+source/bind9/+git/bind9/+merge/417455 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
** Changed in: bind9 (Ubuntu) Assignee: (unassigned) => Sergio Durigan Junior (sergiodj) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
** Merge proposal linked: https://code.launchpad.net/~sergiodj/ubuntu/+source/bind9/+git/bind9/+merge/417404 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
** Changed in: bind9 (Ubuntu) Status: Incomplete => Confirmed ** Tags added: server-todo ** Changed in: bind9 (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
On Friday, March 18 2022, Romain Geissler wrote: > I could successfully validate that the fix works. I initially installed > the current official jammy package, it was hanging again, then I > installed your ppa repo and upgraded the packages, and it worked. See > the following relevant part of my testing (ran in Docker): > > Setting up liblmdb0:amd64 (0.9.24-1build1) ... > Setting up libmaxminddb0:amd64 (1.5.2-1build1) ... > Setting up libnghttp2-14:amd64 (1.43.0-1build2) ... > Setting up libuv1:amd64 (1.43.0-1) ... > Setting up libmd0:amd64 (1.0.4-1) ... > Setting up libbsd0:amd64 (0.11.5-1) ... > Setting up libjson-c5:amd64 (0.15-2build3) ... > Setting up libicu70:amd64 (70.1-2) ... > Setting up libedit2:amd64 (3.1-20210910-1) ... > Setting up libxml2:amd64 (2.9.13+dfsg-1) ... > Setting up bind9-libs:amd64 (1:9.18.0-2ubuntu2) ... > Setting up bind9-host (1:9.18.0-2ubuntu2) ... > Setting up bind9-dnsutils (1:9.18.0-2ubuntu2) ... > Setting up dnsutils (1:9.18.0-2ubuntu2) ... > Processing triggers for libc-bin (2.35-0ubuntu3) ... > root@9245c5040595:/# host some-host > (hangs forever, I interrupted the command) > > > root@9245c5040595:/# add-apt-repository ppa:sergiodj/bind9-lp1964686 > Repository: 'deb > https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu/ jammy main' > More info: https://launchpad.net/~sergiodj/+archive/ubuntu/bind9-lp1964686 > Adding repository. > Press [ENTER] to continue or Ctrl-c to cancel. > Adding deb entry to > /etc/apt/sources.list.d/sergiodj-ubuntu-bind9-lp1964686-jammy.list > Adding disabled deb-src entry to > /etc/apt/sources.list.d/sergiodj-ubuntu-bind9-lp1964686-jammy.list > Adding key to /etc/apt/trusted.gpg.d/sergiodj-ubuntu-bind9-lp1964686.gpg with > fingerprint 1D66A93D45649FD3B4319D337CD01F95D2AA1673 > Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease > Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease > Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease > Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease > Get:5 https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu jammy > InRelease [18.1 kB] > Get:6 https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu > jammy/main amd64 Packages [2214 B] > Fetched 20.3 kB in 1s (14.8 kB/s) > Reading package lists... Done > root@9245c5040595:/# apt-get upgrade > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > Calculating upgrade... Done > The following packages will be upgraded: > bind9-dnsutils bind9-host bind9-libs dnsutils libudev1 login passwd > 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > Need to get 2595 kB of archives. > After this operation, 0 B of additional disk space will be used. > Do you want to continue? [Y/n] y > Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 login amd64 > 1:4.8.1-2ubuntu2 [187 kB] > Get:2 https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu > jammy/main amd64 bind9-host amd64 1:9.18.0-2ubuntu4 [83.7 kB] > Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 libudev1 amd64 > 249.11-0ubuntu1 [77.1 kB] > Get:4 http://archive.ubuntu.com/ubuntu jammy/main amd64 passwd amd64 > 1:4.8.1-2ubuntu2 [767 kB] > Get:5 https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu > jammy/main amd64 bind9-dnsutils amd64 1:9.18.0-2ubuntu4 [189 kB] > Get:6 https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu > jammy/main amd64 bind9-libs amd64 1:9.18.0-2ubuntu4 [1248 kB] > Get:7 https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu > jammy/main amd64 dnsutils all 1:9.18.0-2ubuntu4 [43.7 kB] > Fetched 2595 kB in 1s (3081 kB/s) > ... > > root@9245c5040595:/# host some-host > Host some-host not found: 2(SERVFAIL) > root@9245c5040595:/# Thank you for verifying this. > About reproducing the original issue, I don't really know how to do > it. I tried starting the container with "--dns 8.8.8.8" and this was > enough to fix the issue with the current official jammy package. I > also tried with two DNS (8.8.8.8 and 8.8.4.4). I don't know what is so > special about our corporate DNS. Yeah; as far as I've read in the upstream's bug report, this issue can be a bit tricky to reproduce. > Since I could validate the fix on my side, will this land in an official > jammy package update before the official release of jammy in april ? This patchset also fixes another bind9 issue we're seeing (bug #1964400), so yeah, I intend to work on doing a more formal backport of the upstream patches and filing an MP for it next week. Thanks again for the help in verifying the fix. -- Sergio GPG key ID: E92F D0B3 6B14 F1F4 D8E0 EB2F 106D A1C8 C3CB BF14 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
Hi, I could successfully validate that the fix works. I initially installed the current official jammy package, it was hanging again, then I installed your ppa repo and upgraded the packages, and it worked. See the following relevant part of my testing (ran in Docker): Setting up liblmdb0:amd64 (0.9.24-1build1) ... Setting up libmaxminddb0:amd64 (1.5.2-1build1) ... Setting up libnghttp2-14:amd64 (1.43.0-1build2) ... Setting up libuv1:amd64 (1.43.0-1) ... Setting up libmd0:amd64 (1.0.4-1) ... Setting up libbsd0:amd64 (0.11.5-1) ... Setting up libjson-c5:amd64 (0.15-2build3) ... Setting up libicu70:amd64 (70.1-2) ... Setting up libedit2:amd64 (3.1-20210910-1) ... Setting up libxml2:amd64 (2.9.13+dfsg-1) ... Setting up bind9-libs:amd64 (1:9.18.0-2ubuntu2) ... Setting up bind9-host (1:9.18.0-2ubuntu2) ... Setting up bind9-dnsutils (1:9.18.0-2ubuntu2) ... Setting up dnsutils (1:9.18.0-2ubuntu2) ... Processing triggers for libc-bin (2.35-0ubuntu3) ... root@9245c5040595:/# host some-host (hangs forever, I interrupted the command) root@9245c5040595:/# add-apt-repository ppa:sergiodj/bind9-lp1964686 Repository: 'deb https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu/ jammy main' More info: https://launchpad.net/~sergiodj/+archive/ubuntu/bind9-lp1964686 Adding repository. Press [ENTER] to continue or Ctrl-c to cancel. Adding deb entry to /etc/apt/sources.list.d/sergiodj-ubuntu-bind9-lp1964686-jammy.list Adding disabled deb-src entry to /etc/apt/sources.list.d/sergiodj-ubuntu-bind9-lp1964686-jammy.list Adding key to /etc/apt/trusted.gpg.d/sergiodj-ubuntu-bind9-lp1964686.gpg with fingerprint 1D66A93D45649FD3B4319D337CD01F95D2AA1673 Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Get:5 https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu jammy InRelease [18.1 kB] Get:6 https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu jammy/main amd64 Packages [2214 B] Fetched 20.3 kB in 1s (14.8 kB/s) Reading package lists... Done root@9245c5040595:/# apt-get upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: bind9-dnsutils bind9-host bind9-libs dnsutils libudev1 login passwd 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 2595 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 login amd64 1:4.8.1-2ubuntu2 [187 kB] Get:2 https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu jammy/main amd64 bind9-host amd64 1:9.18.0-2ubuntu4 [83.7 kB] Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 libudev1 amd64 249.11-0ubuntu1 [77.1 kB] Get:4 http://archive.ubuntu.com/ubuntu jammy/main amd64 passwd amd64 1:4.8.1-2ubuntu2 [767 kB] Get:5 https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu jammy/main amd64 bind9-dnsutils amd64 1:9.18.0-2ubuntu4 [189 kB] Get:6 https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu jammy/main amd64 bind9-libs amd64 1:9.18.0-2ubuntu4 [1248 kB] Get:7 https://ppa.launchpadcontent.net/sergiodj/bind9-lp1964686/ubuntu jammy/main amd64 dnsutils all 1:9.18.0-2ubuntu4 [43.7 kB] Fetched 2595 kB in 1s (3081 kB/s) ... root@9245c5040595:/# host some-host Host some-host not found: 2(SERVFAIL) root@9245c5040595:/# About reproducing the original issue, I don't really know how to do it. I tried starting the container with "--dns 8.8.8.8" and this was enough to fix the issue with the current official jammy package. I also tried with two DNS (8.8.8.8 and 8.8.4.4). I don't know what is so special about our corporate DNS. Since I could validate the fix on my side, will this land in an official jammy package update before the official release of jammy in april ? Cheers, Romain -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
Thanks for the reply, Romain. I have prepared a PPA with the current bind9 package in Ubuntu Jammy + the patches from the MR you linked. You can find it here: https://launchpad.net/~sergiodj/+archive/ubuntu/bind9-lp1964686 Let me know if this solves the problem for you. Although it would be nice to be able to reproduce this locally, I will rely on your test results to move forward with an MP for this bug (which also seems to fix https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964400, btw). Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
Hi, I guess to reproduce this I should find my DNS configuration and be able to hardcode it in Docker so it works the same way for everyone. But my environment is a corporate one, so I don't know possible it is to reproduce this with public DNS. Anyway, https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/5954 has been merged 15 minutes ago. Is there a way I can get my hands on an upgraded jammy package containing the latest state of bind 9 (including this just merged pull request) ? If there are some test packages somewhere I can install them over the official jammy packages and re- test in my corporate environment. Cheers, Romain -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
As it turns out, the "dig" failure I mentioned in comment 2 may not be entirely related to bug #1964400. I took the liberty of repurposing one of bind9's old bugs to make sure we're also tracking those failures. It's bug #1258003, if you're interested. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
Also, please provide the version of the bind9 package you're using for tests. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
I'm marking this bug as Incomplete for now because I can't reproduce it. Feel free to set its status back to New when you provide more info. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
Athos just told me that there is already a bug filed for the problem I reported above: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964400 So now we're left to trying to reproduce the hang that Romain is seeing when using the "host" command. ** Changed in: bind9 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
Thanks for the bug report, Romain. I cannot seem to be able to reproduce it here. Here's what I'm doing: $ docker run --rm ubuntu:jammy /bin/sh -c 'apt update && apt install dnsutils -y && host -v non-existent-host-name' ... Trying "non-existent-host-name.localdomain" Trying "non-existent-host-name" Host non-existent-host-name not found: 3(NXDOMAIN) Received 115 bytes from 192.168.30.1#53 in 3 ms It's also working inside an lxd container (Jammy), and with debian:sid (both Docker and LXD containers). However, while testing the issue described in the upstream bug, I did notice a problem when using "dig": $ docker run --rm ubuntu:jammy /bin/sh -c 'apt update && apt install dnsutils -y && dig +nssearch isc.org.' ... dighost.c:1651: REQUIRE(targetp != ((void *)0) && *targetp == ((void *)0)) failed, back trace /lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(+0x32953)[0x7fb078558953] /lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(isc_assertion_failed+0x10)[0x7fb078557e40] dig(+0x16f00)[0x5630acc32f00] dig(+0xeeae)[0x5630acc2aeae] dig(+0x10061)[0x5630acc2c061] /lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(isc__nm_async_readcb+0xb1)[0x7fb078546ff1] /lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(isc__nm_readcb+0x9b)[0x7fb07854712b] /lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(+0x226a5)[0x7fb0785486a5] /lib/x86_64-linux-gnu/libuv.so.1(uv_run+0xce)[0x7fb0780596de] /lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(+0x2622e)[0x7fb07854c22e] /lib/x86_64-linux-gnu/libisc-9.18.0-2ubuntu2-Ubuntu.so(isc__trampoline_run+0x1a)[0x7fb07857f22a] /lib/x86_64-linux-gnu/libc.so.6(+0x98927)[0x7fb078115927] /lib/x86_64-linux-gnu/libc.so.6(clone+0x44)[0x7fb0781a59e4] Aborted (core dumped) Can you reproduce this bug there? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
Note: it also impacts debian:testing and debian:sid which also ship bind 9.18. Should this bug report be reported to Debian instead ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964686] Re: Command "host non-existent-host-name" hangs forever in Ubuntu jammy
** Tags added: jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964686 Title: Command "host non-existent-host-name" hangs forever in Ubuntu jammy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1964686/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs