initramfs-tools requires network even though root is local

Bug #2065106 reported by Igel Kun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aoetools (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am using ATA-over-Ethernet (aoe kernel module), but my root partition is local.
Still, the "aoe"-hook script of initramfs-tools will be triggered, calling "configure_networking", which fails indefinitely to get an IP-address from DHCP on my unconnected ethernet device.

initramfs-tools should detect that my root partition is local and not try to bring up the network before mounting the root partition.

Note that this bug may lock people out of their operating system!

For details, see https://askubuntu.com/questions/1513221

Revision history for this message
Igel Kun (igelkun) wrote :

oh, my /proc/cmdline contains:
BOOT_IMAGE=/boot/vmlinuz-6.5.0-28-generic root=UUID=0a928e5f-d8c1-4b2a-9d12-b6d814efcf42 ro apparmor=0

Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and contributing to Ubuntu. I am re-assigning this bug to aoetools because the aoe initramfs-tools hook should only call configure_networking in case a network configuration is needed in the initrd.

This bug could be considered a duplicate of bug #2062501.

affects: initramfs-tools (Ubuntu) → aoetools (Ubuntu)
Revision history for this message
Benjamin Drung (bdrung) wrote :

configure_networking tries to configure the network. It takes around five minutes for it to give up. So the boot will take five minutes longer but will not fail.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.