Activity log for bug #2064926

Date Who What changed Old value New value Message
2024-05-06 13:51:35 Stefano bug added bug
2024-05-06 13:51:35 Stefano attachment added /run/initramfs/initramfs.debug https://bugs.launchpad.net/bugs/2064926/+attachment/5775477/+files/initramfs.debug
2024-05-06 13:52:41 Stefano attachment added dmesg https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2064926/+attachment/5775478/+files/dmesg.debug
2024-05-06 13:56:16 Stefano tags boot clevis dhcpcd initramfs luks boot clevis cryptsetup dhcpcd initramfs luks
2024-05-06 17:08:38 Stefano attachment added Updated /run/initramfs/initramfs.debug with set -x in dhcpcd Script https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2064926/+attachment/5775551/+files/initramfs_v2.debug
2024-05-06 17:16:31 Benjamin Drung bug task added dhcpcd (Ubuntu)
2024-05-06 21:20:59 Stefano attachment added initramfs_v3.debug https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2064926/+attachment/5775623/+files/initramfs_v3.debug
2024-05-06 21:24:55 Stefano attachment removed initramfs_v3.debug https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2064926/+attachment/5775623/+files/initramfs_v3.debug
2024-05-06 21:25:16 Stefano attachment added initramfs_v3.debug https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2064926/+attachment/5775624/+files/initramfs_v3.debug
2024-05-07 08:39:49 Stefano attachment added initramfs_v4.debug https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2064926/+attachment/5775771/+files/initramfs_v4.debug
2024-05-07 08:39:59 Stefano attachment added dmesg_v4.debug https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2064926/+attachment/5775772/+files/dmesg_v4.debug
2024-05-07 10:27:56 Benjamin Drung initramfs-tools (Ubuntu): status New Invalid
2024-05-07 10:28:01 Benjamin Drung nominated for series Ubuntu Noble
2024-05-07 10:28:01 Benjamin Drung bug task added dhcpcd (Ubuntu Noble)
2024-05-07 10:28:01 Benjamin Drung bug task added initramfs-tools (Ubuntu Noble)
2024-05-07 10:28:11 Benjamin Drung initramfs-tools (Ubuntu Noble): status New Invalid
2024-05-07 10:28:16 Benjamin Drung dhcpcd (Ubuntu): importance Undecided Medium
2024-05-07 10:28:24 Benjamin Drung dhcpcd (Ubuntu): status New Fix Committed
2024-05-07 10:36:08 Benjamin Drung description This is a long-lingering issue, probably affecting Ubuntu 23.04, surely Ubuntu 23.10 and now surely Ubuntu 24.04. Due to other Priorities I kept having my PC on Standby/Sleep instead of turning it off all the time, since I would incur in 5 Minutes (300 Seconds) Boot being frozen. I also thought it was due to Clevis LUKS Autounlock at first: https://github.com/latchset/clevis/issues/289#issuecomment-1322633750 But according to the messages I see on the Screen during boot (if I see them !), it seems this is purely a dhcpcd Issue. On one workstation the Screen is completely frozen, but boot Process continues normally after 5 Minutes have elapsed. This BUG Report is based on the Machine that shows *some* Output while being Stuck. Looks Similar to this one, but I do NOT have aoetools installed https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2062501 List of Initramfs Scripts Installed in the system: /usr/share/initramfs-tools/scripts/init-bottom/udev /usr/share/initramfs-tools/scripts/init-bottom/lvm2 /usr/share/initramfs-tools/scripts/init-bottom/plymouth /usr/share/initramfs-tools/scripts/panic/console_setup /usr/share/initramfs-tools/scripts/panic/plymouth /usr/share/initramfs-tools/scripts/nfs /usr/share/initramfs-tools/scripts/functions /usr/share/initramfs-tools/scripts/zfs /usr/share/initramfs-tools/scripts/init-premount/brltty /usr/share/initramfs-tools/scripts/init-premount/plymouth /usr/share/initramfs-tools/scripts/local-bottom/cryptgnupg-sc /usr/share/initramfs-tools/scripts/local-bottom/ntfs_3g /usr/share/initramfs-tools/scripts/local-bottom/clevis /usr/share/initramfs-tools/scripts/local-bottom/cryptroot /usr/share/initramfs-tools/scripts/local-bottom/cryptopensc /usr/share/initramfs-tools/scripts/local-premount/fixrtc /usr/share/initramfs-tools/scripts/local-premount/resume /usr/share/initramfs-tools/scripts/local-premount/ntfs_3g /usr/share/initramfs-tools/scripts/local /usr/share/initramfs-tools/scripts/local-block/cryptroot /usr/share/initramfs-tools/scripts/local-top/cryptopensc /usr/share/initramfs-tools/scripts/local-top/clevis /usr/share/initramfs-tools/scripts/local-top/cryptroot /usr/share/initramfs-tools/scripts/local-top/zfs /usr/share/initramfs-tools/scripts/init-top/all_generic_ide /usr/share/initramfs-tools/scripts/init-top/brltty /usr/share/initramfs-tools/scripts/init-top/udev /usr/share/initramfs-tools/scripts/init-top/framebuffer /usr/share/initramfs-tools/scripts/init-top/console_setup /usr/share/initramfs-tools/scripts/init-top/blacklist A possible workaround would be to manually edit /usr/share/initramfs-tools/scripts/functions Changing this: `for ROUNDTTT in 30 60 90 120; do` To this: `for ROUNDTTT in 15 15 15 15; do` However it's really a last resort Workaround. Any hope of a proper Fix ? Possible mentions based on the logs output: ``` enp0s25: ignoring offer of 192.168.3.61 from 192.168.1.8 enp0s25: probing address 192.168.3.61/20 ``` This might be due to High-Availability Configured in my OPNSense Router. There is a Master (192.168.1.7) and a Slave (192.168.1.8). VLAN should be ENABLED, but right now ALL traffic flows on VLAN 1 / default VLAN (untagged), so this shouldn't be an issue IMHO. Didn't have time to setup VLANs yet. Why does dhcpcd exit like this? What is the Error ? ``` script_status: /usr/lib/dhcpcd/dhcpcd-run-hooks: WEXITSTATUS 1 ``` [ Impact ] Systems that use clevis will have a 5 minutes boot delay, because dhcpcd fails and retries until the retry loop exits. [ Test Plan ] Use a system with clevis and zfs where /etc/hostname is set and differs from the hostname reported by the DHCP server. Install the update and measure the boot time. It should be way shorter than five minutes. I'll add a test case for initramfs-tools in oracular to cover this case. [ Where problems could occur ] The fix only touches a dhcpcd hook. [ Original report ] This is a long-lingering issue, probably affecting Ubuntu 23.04, surely Ubuntu 23.10 and now surely Ubuntu 24.04. Due to other Priorities I kept having my PC on Standby/Sleep instead of turning it off all the time, since I would incur in 5 Minutes (300 Seconds) Boot being frozen. I also thought it was due to Clevis LUKS Autounlock at first: https://github.com/latchset/clevis/issues/289#issuecomment-1322633750 But according to the messages I see on the Screen during boot (if I see them !), it seems this is purely a dhcpcd Issue. On one workstation the Screen is completely frozen, but boot Process continues normally after 5 Minutes have elapsed. This BUG Report is based on the Machine that shows *some* Output while being Stuck. Looks Similar to this one, but I do NOT have aoetools installed https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2062501 List of Initramfs Scripts Installed in the system: /usr/share/initramfs-tools/scripts/init-bottom/udev /usr/share/initramfs-tools/scripts/init-bottom/lvm2 /usr/share/initramfs-tools/scripts/init-bottom/plymouth /usr/share/initramfs-tools/scripts/panic/console_setup /usr/share/initramfs-tools/scripts/panic/plymouth /usr/share/initramfs-tools/scripts/nfs /usr/share/initramfs-tools/scripts/functions /usr/share/initramfs-tools/scripts/zfs /usr/share/initramfs-tools/scripts/init-premount/brltty /usr/share/initramfs-tools/scripts/init-premount/plymouth /usr/share/initramfs-tools/scripts/local-bottom/cryptgnupg-sc /usr/share/initramfs-tools/scripts/local-bottom/ntfs_3g /usr/share/initramfs-tools/scripts/local-bottom/clevis /usr/share/initramfs-tools/scripts/local-bottom/cryptroot /usr/share/initramfs-tools/scripts/local-bottom/cryptopensc /usr/share/initramfs-tools/scripts/local-premount/fixrtc /usr/share/initramfs-tools/scripts/local-premount/resume /usr/share/initramfs-tools/scripts/local-premount/ntfs_3g /usr/share/initramfs-tools/scripts/local /usr/share/initramfs-tools/scripts/local-block/cryptroot /usr/share/initramfs-tools/scripts/local-top/cryptopensc /usr/share/initramfs-tools/scripts/local-top/clevis /usr/share/initramfs-tools/scripts/local-top/cryptroot /usr/share/initramfs-tools/scripts/local-top/zfs /usr/share/initramfs-tools/scripts/init-top/all_generic_ide /usr/share/initramfs-tools/scripts/init-top/brltty /usr/share/initramfs-tools/scripts/init-top/udev /usr/share/initramfs-tools/scripts/init-top/framebuffer /usr/share/initramfs-tools/scripts/init-top/console_setup /usr/share/initramfs-tools/scripts/init-top/blacklist A possible workaround would be to manually edit /usr/share/initramfs-tools/scripts/functions Changing this: `for ROUNDTTT in 30 60 90 120; do` To this: `for ROUNDTTT in 15 15 15 15; do` However it's really a last resort Workaround. Any hope of a proper Fix ? Possible mentions based on the logs output: ``` enp0s25: ignoring offer of 192.168.3.61 from 192.168.1.8 enp0s25: probing address 192.168.3.61/20 ``` This might be due to High-Availability Configured in my OPNSense Router. There is a Master (192.168.1.7) and a Slave (192.168.1.8). VLAN should be ENABLED, but right now ALL traffic flows on VLAN 1 / default VLAN (untagged), so this shouldn't be an issue IMHO. Didn't have time to setup VLANs yet. Why does dhcpcd exit like this? What is the Error ? ``` script_status: /usr/lib/dhcpcd/dhcpcd-run-hooks: WEXITSTATUS 1 ```
2024-05-07 10:40:44 Benjamin Drung attachment added dhcpcd_10.0.6-1ubuntu3.1.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2064926/+attachment/5775841/+files/dhcpcd_10.0.6-1ubuntu3.1.debdiff
2024-05-07 12:22:40 Ubuntu Foundations Team Bug Bot tags boot clevis cryptsetup dhcpcd initramfs luks boot clevis cryptsetup dhcpcd initramfs luks patch
2024-05-10 09:34:58 Timo Aaltonen dhcpcd (Ubuntu Noble): status New Fix Committed
2024-05-10 09:35:03 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2024-05-10 09:35:05 Timo Aaltonen bug added subscriber SRU Verification
2024-05-10 09:35:07 Timo Aaltonen tags boot clevis cryptsetup dhcpcd initramfs luks patch boot clevis cryptsetup dhcpcd initramfs luks patch verification-needed verification-needed-noble
2024-05-10 13:15:34 Stefano attachment added dmesg_proposed_testing.debug https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2064926/+attachment/5776984/+files/dmesg_proposed_testing.debug
2024-05-10 13:15:44 Stefano attachment added initramfs_proposed_testing.debug https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2064926/+attachment/5776985/+files/initramfs_proposed_testing.debug
2024-05-10 13:41:32 Benjamin Drung tags boot clevis cryptsetup dhcpcd initramfs luks patch verification-needed verification-needed-noble boot clevis cryptsetup dhcpcd initramfs luks patch verification-done verification-done-noble
2024-05-18 10:14:25 Launchpad Janitor dhcpcd (Ubuntu): status Fix Committed Fix Released
2024-05-22 01:16:48 Launchpad Janitor initramfs-tools (Ubuntu): status Invalid Fix Released
2024-05-23 17:40:51 Andreas Hasenack removed subscriber Ubuntu Stable Release Updates Team
2024-05-23 17:40:50 Launchpad Janitor dhcpcd (Ubuntu Noble): status Fix Committed Fix Released