** Bug watch added: Debian Bug tracker #1155542
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1155542

** Changed in: dracut (Debian)
 Remote watch: None => Debian Bug tracker #1155542

** Description changed:

  Package: dracut
  Version: 113-1
  Series: tenacious
  
  [ Problem ]
  In Ubuntu 27.04 (tenacious), dracut 113-1 is blocked in tenacious-proposed by 
the 61-chrony autopkgtest failing across amd64, amd64v3, arm64, and ppc64el 
with a chrony-wait.service timeout:
  
  [   26.347] Starting chronyd.service...
  [   27.726] chronyd[306]: Added source 2606:4700:f1::1
  [   27.726] chronyd[306]: Added pool pool.ntp.org
  [   40.888] systemd-networkd[298]: enp0s5: DHCPv4 address 10.0.2.15/24, 
gateway 10.0.2.2 acquired from 10.0.2.2
  [   42.836] systemd[1]: Finished systemd-networkd-wait-online.service.
  [   44.460] chronyd[306]: Can't synchronise: no selectable sources (9 
unreachable sources)
  [   87.981] systemd[1]: chrony-wait.service: start operation timed out. 
Terminating.
  CLIENT TEST END: Fetch file from HTTPS after sync time via NTP [FAILED]
  
  [ Cause ]
  On Debian and Ubuntu, dracut-network defaults to the 11systemd-networkd 
module instead of 35network-manager or 35network-legacy:
  1. modules.d/11systemd-networkd/module-setup.sh does not install 
libnss_dns.so.* into the initramfs.
  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 
before running initqueue/settled/99-networkd-run.sh when the root device is 
local.
  3. modules.d/11systemd-networkd/networkd-run.sh does not write DHCP or kernel 
command-line DNS servers into /etc/resolv.conf, leaving chronyd unable to 
resolve pool.ntp.org in the initramfs.
  
  [ Fix ]
  1. Install libnss_dns.so.* in modules.d/11systemd-networkd/module-setup.sh.
  2. Register $hookdir/initqueue/finished/networkd.sh when rd.neednet=1 in 
modules.d/11systemd-networkd/networkd-config.sh.
  3. Populate /etc/resolv.conf from kernel command-line nameserver= arguments 
and /run/systemd/netif/state DNS options in 
modules.d/11systemd-networkd/networkd-run.sh.
  
  [ 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

-- 
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

Reply via email to