** Description changed: dracut 113-1 is blocked in tenacious-proposed by a 61-chrony autopkgtest failure across amd64, amd64v3, arm64, and ppc64el (also blocking network-manager 1.58.1-1ubuntu4 migration). [ Reproduction ] Run debian/tests/61-chrony on dracut 113-1 in tenacious: chrony-wait.service fails with a timeout because chronyd in the initramfs cannot resolve pool.ntp.org when 11systemd-networkd is used as the default dracut-network provider. [ Cause ] - 1. modules.d/11systemd-networkd/networkd-config.sh does not register an initqueue/finished hook when rd.neednet=1 is set (unlike 35network-manager, 35connman, and 35network-legacy). When booting with a local root device (root=LABEL=dracut), dracut-initqueue exits immediately before running initqueue/settled/99-networkd-run.sh. - 2. modules.d/11systemd-networkd/networkd-run.sh never writes /etc/resolv.conf from kernel command-line nameserver= arguments or /run/systemd/netif/state DNS= entries obtained by systemd-networkd over DHCP. + When 11systemd-networkd is used instead of 35network-manager or 35network-legacy, /etc/resolv.conf is never created in the initramfs from kernel command-line nameserver= arguments or /run/systemd/netif/state DNS= entries obtained by systemd-networkd over DHCP. [ Fix ] - 1. Register the initqueue/finished/networkd.sh check for /tmp/networkd.*.done in networkd-config.sh when rd.neednet=1 is set. - 2. Populate /etc/resolv.conf from nameserver= and /run/systemd/netif/state DNS= in networkd-run.sh if /etc/resolv.conf does not already exist. + Populate /etc/resolv.conf from nameserver= and /run/systemd/netif/state DNS= via ExecStartPost= in modules.d/11systemd-networkd/99-wait-online-dracut.conf once systemd-networkd-wait-online.service finishes. [ Links ] Upstream issue: https://github.com/dracut-ng/dracut/issues/2541 Upstream PR: https://github.com/dracut-ng/dracut/pull/2845 Debian BTS: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1155542 PPA build: https://launchpad.net/~steelf/+archive/ubuntu/ppa/+packages?field.name_filter=dracut
** Patch added: "dracut 113-1ubuntu1 debdiff for tenacious" https://bugs.launchpad.net/bugs/2178220/+attachment/6021534/+files/dracut_113-1ubuntu1.debdiff ** Patch removed: "dracut 113-1ubuntu1 debdiff for tenacious" https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2178220/+attachment/6021534/+files/dracut_113-1ubuntu1.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2178220 Title: dracut 113-1 autopkgtest 61-chrony fails in tenacious-proposed due to missing DNS resolution in 11systemd-networkd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2178220/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
