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

Reply via email to