[GH-ISSUE #1254] LiveCD/NetInstall/Utility boot fails due to writing resolv.conf to wget race condition #1906

Open
opened 2026-03-01 18:37:14 +03:00 by kerem · 3 comments
Owner

Originally created by @celesrenata on GitHub (Jun 4, 2023).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1254

Describe the bug
Bootup is failing due to trying to wget right after /etc/resolv.conf and failing to lookup host

To Reproduce
Steps to reproduce the behavior:

  1. Using VMWare Fusion 13.0.2
  2. Enable PXE boot
  3. Boot Debian or Ubuntu LiveCD/NetInstall/Clonezilla images
  4. Observe dns failure when attempting to download the squashfs during boot.
  5. rerun the command from the (initramfs) console successfully

Expected behavior
Expected wget to find host and continue.

Screenshots
Screenshot 2023-06-04 at 10 42 29 AM

Originally created by @celesrenata on GitHub (Jun 4, 2023). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1254 **Describe the bug** Bootup is failing due to trying to wget right after /etc/resolv.conf and failing to lookup host **To Reproduce** Steps to reproduce the behavior: 1. Using VMWare Fusion 13.0.2 2. Enable PXE boot 3. Boot Debian or Ubuntu LiveCD/NetInstall/Clonezilla images 4. Observe dns failure when attempting to download the squashfs during boot. 5. rerun the command from the (initramfs) console successfully **Expected behavior** Expected wget to find host and continue. **Screenshots** <img width="491" alt="Screenshot 2023-06-04 at 10 42 29 AM" src="https://github.com/netbootxyz/netboot.xyz/assets/29245045/ef0ba143-aa4b-49b7-8ace-73161ae17411">
Author
Owner

@kaechele commented on GitHub (Jun 6, 2023):

Can you try passing fixrtc as an option to the kernel? If that fixes it we could look at including it in the cmdline for Debian based distros.

<!-- gh-comment-id:1578667219 --> @kaechele commented on GitHub (Jun 6, 2023): Can you try passing `fixrtc` as an option to the kernel? If that fixes it we could look at including it in the cmdline for Debian based distros.
Author
Owner

@celesrenata commented on GitHub (Jun 7, 2023):

That modification was unsuccessful with clonezilla.ipxe line 36 updated to:

kernel ${url}vmlinuz boot=live username=user union=overlay config components noswap edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=${url}filesystem.squashfs fixrtc initrd=initrd.magic ${cmdline}

<!-- gh-comment-id:1581443448 --> @celesrenata commented on GitHub (Jun 7, 2023): That modification was unsuccessful with clonezilla.ipxe line 36 updated to: ```kernel ${url}vmlinuz boot=live username=user union=overlay config components noswap edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=${url}filesystem.squashfs fixrtc initrd=initrd.magic ${cmdline}```
Author
Owner

@kaechele commented on GitHub (Jun 8, 2023):

I'm stupid. Had too many tabs open and replied to the wrong bug. This should have gone in #1253.
I'm terribly sorry that I wasted your time trying this.

<!-- gh-comment-id:1582507022 --> @kaechele commented on GitHub (Jun 8, 2023): I'm stupid. Had too many tabs open and replied to the wrong bug. This should have gone in #1253. I'm terribly sorry that I wasted your time trying this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#1906
No description provided.