I see no ip parameter on the kernel cmdline. So dhcpcd should not run in the initramfs at all. Can you boot with `debug` and share the /run/initramfs/initramfs.debug then?
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/2062501 Title: Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5 min boot delay Status in initramfs-tools package in Ubuntu: New Bug description: After upgrading to Ubuntu 24.04, dhcpcd spends over five minutes trying to obtain a DHCP lease for an unconnected LAN adapter during startup. Only after this process times out, the boot process resumes. Consequently, startup works flawlessly, if the laptop is connected to the LAN, but takes five additional minutes, if that's not the case. Please find below the console output (obtained by pressing "ESC" during bootup) Setting ip link enp0s... up Setting ip link enx0... up dhcpcd-10.0.6 starting dev: loaded udev no interfaces have a carrier exiting due to oneshot Sleeping 30 seconds before retrying getting a DHCP lease dhcpcd-10.0.6 starting dev: loaded udev no interfaces have a carrier exiting due to oneshot Sleeping 60 seconds before retrying getting a DHCP lease ... dhcpcd-10.0.6 starting dev: loaded udev no interfaces have a carrier exiting due to oneshot Sleeping 120 seconds before retrying getting a DHCP lease After multiples tries to obtain a DHCP lease (which take approximately five minutes) the standard boot process resumes. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: initramfs-tools 0.142ubuntu25 ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1 Uname: Linux 6.8.0-22-generic x86_64 ApportVersion: 2.28.1-0ubuntu1 Architecture: amd64 CasperMD5CheckMismatches: ./preseed/ubuntu.seed ./pool/restricted/n/nvidia-graphics-drivers-535/nvidia-firmware-535-535.113.01_535.113.01-0ubuntu3_amd64.deb ./pool/restricted/n/nvidia-graphics-drivers-535/xserver-xorg-video-nvidia-535_535.113.01-0ubuntu3_amd64.deb ./pool/restricted/n/nvidia-graphics-drivers-535/nvidia-compute-utils-535_535.113.01-0ubuntu3_amd64.deb ./pool/restricted/n/nvidia-graphics-drivers-535/nvidia-kernel-source-535_535.113.01-0ubuntu3_amd64.deb ./pool/restricted/n/nvidia-graphics-drivers-535/nvidia-driver-535_535.113.01-0ubuntu3_amd64.deb ./pool/restricted/n/nvidia-graphics-drivers-535/nvidia-utils-535_535.113.01-0ubuntu3_amd64.deb ./pool/restricted/n/nvidia-graphics-drivers-535/nvidia-kernel-common-535_535.113.01-0ubuntu3_amd64.deb ./pool/restricted/n/nvidia-graphics-drivers-535/libnvidia-gl-535_535.113.01-0ubuntu3_i386.deb CasperMD5CheckResult: fail CurrentDesktop: ubuntu:GNOME Date: Fri Apr 19 07:40:31 2024 InstallationDate: Installed on 2023-12-03 (138 days ago) InstallationMedia: Ubuntu Legacy 23.10 "Mantic Minotaur" - Release amd64 (20231010) PackageArchitecture: all SourcePackage: initramfs-tools UpgradeStatus: Upgraded to noble on 2024-04-18 (1 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2062501/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp