[Bug 2062501] Re: Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5 min boot delay

2024-04-20 Thread Benjamin Drung
Thanks. Then I mark this bug as Invalid for initramfs-tools.

** Changed in: initramfs-tools (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2062501

Title:
  Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5
  min boot delay

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aoetools/+bug/2062501/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2062501] Re: Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5 min boot delay

2024-04-20 Thread Albert Weichselbraun
Thank you for helping debug this issue. I concur with your assessment.
- this should be handled by aoetools (probably similar to the way nfs versus 
nfsroot is handled).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2062501

Title:
  Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5
  min boot delay

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aoetools/+bug/2062501/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2062501] Re: Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5 min boot delay

2024-04-19 Thread Benjamin Drung
Thanks for the analysis. My conclusion is: initramfs-tools works as
designed. The culprit is aoetools here.

Uninstalling aoetools would be one option. If that is not an option,
aoetools should become smarter and only call `configure_networking` in
case it needs an ATA over Ethernet device for booting. If the root UUID
can be found locally, no network configuration is needed.

** Also affects: aoetools (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2062501

Title:
  Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5
  min boot delay

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aoetools/+bug/2062501/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2062501] Re: Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5 min boot delay

2024-04-19 Thread Albert Weichselbraun
** Attachment added: "initramfs.debug"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2062501/+attachment/5768166/+files/initramfs.debug

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2062501

Title:
  Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5
  min boot delay

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2062501/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2062501] Re: Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5 min boot delay

2024-04-19 Thread Albert Weichselbraun
Sure - please find enclosed /run/initramfs/initramfs.debug

It looks like the problem is caused by `configure_networking` from
`/usr/share/initramfs-tools/scripts/functions` which is called due to
the installed `aoetools` package (which calls `configure_networking` in
`/usr/share/initramfs-tools/scripts/local-top/aoe`).


** Attachment added: "initramfs.debug"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2062501/+attachment/5768165/+files/initramfs.debug

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2062501

Title:
  Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5
  min boot delay

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2062501/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2062501] Re: Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5 min boot delay

2024-04-19 Thread Benjamin Drung
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2062501

Title:
  Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5
  min boot delay

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2062501/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2062501] Re: Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5 min boot delay

2024-04-19 Thread Albert Weichselbraun
The machine has a Wifi and a LAN adapter:


00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-LM 
(rev 21)
01:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)



Kernel cmdline parameters:


BOOT_IMAGE=/vmlinuz-6.8.0-22-generic 
root=UUID=50fe4fec-39c1-4ec0-8401-328516b4fa86 ro quiet splash i915.enable_psr=0


-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2062501

Title:
  Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5
  min boot delay

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2062501/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2062501] Re: Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5 min boot delay

2024-04-19 Thread Benjamin Drung
Thank you for taking the time to report this bug and contributing to
Ubuntu. Is the LAN adapter the only network device on your machine? What
are you kernel cmdline parameters?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2062501

Title:
  Dhcpcd prioritizes (unconnnected) LAN adapter over WLAN, causing a 5
  min boot delay

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2062501/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs