Debdiff for tenacious (dracut 113-1ubuntu1)

** Patch added: "dracut 113-1ubuntu1 debdiff for tenacious"
   
https://bugs.launchpad.net/bugs/2178220/+attachment/6021526/+files/dracut_113-1ubuntu1.debdiff

** Description changed:

- Package: dracut
- Version: 113-1
- Series: tenacious
+ 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).
  
- [ 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]
+ [ 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 ]
- 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.
+ 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.
  
  [ 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.
+ 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.
  
  [ 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

** 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.
  
  [ 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.
  
  [ 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

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