Package: dracut Version: 113-1 Severity: important Tags: patch Forwarded: https://github.com/dracut-ng/dracut/pull/2845 User: ubun…@lists.ubuntu.com Usertags: origin-ubuntu tenacious ubuntu-patch Dear Maintainer, The 61-chrony autopkgtest added in dracut 112-8 / 113-1 fails on Debian unstable and Ubuntu tenacious with a chrony-wait.service timeout (upstream issue https://github.com/dracut-ng/dracut/issues/2541, Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2178220). Root cause: On Debian and Ubuntu, dracut-network uses the 11systemd-networkd module by default: 1. modules.d/11systemd-networkd/module-setup.sh does not install libnss_dns.so.* into the initramfs (unlike 35network-manager and 35network-legacy). 2. modules.d/11systemd-networkd/networkd-config.sh does not register an initqueue/finished hook when rd.neednet=1 is set, so dracut-initqueue exits immediately when the root filesystem is local without executing initqueue/settled/99-networkd-run.sh. 3. modules.d/11systemd-networkd/networkd-run.sh does not write DHCP DNS servers (or kernel command-line nameserver= options) into /etc/resolv.conf, so chronyd cannot resolve pool.ntp.org. The attached patch fixes all three issues in 11systemd-networkd and makes debian/tests/61-chrony and debian/tests/50-network pass. Upstream PR: https://github.com/dracut-ng/dracut/pull/2845