[SRU] PXE Boot contains wrong suggested link to ISO for live file system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
Low
|
Dominik Viererbe | ||
Jammy |
Fix Committed
|
Low
|
Dominik Viererbe | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
* What are the effects of the bug on users?
casper's intercative netmount fails to download the latest
Ubuntu LTS ISOs after the release of the first point release
(e.g. 22.04.1)
* What is the justification for backporting the fix to the
There are at least 2 bug reports about this problem
(LP: #1990621, #1948884) and this fix will improve the
user experience with a low probaility of side effects.
* How does the upload fix the bug?
- The patch adds a '-latest' to the download URLs (see more
details here: https:/
- Additionaly Łukasz Zemczak (sil2100) created symlinks that
(as the name of the urls imply) always points to the latest
Ubuntu ISO for a given version.
[ Test Plan ]
* How to reproduce the bug?
- Just run the failling parts of the casper script on a
22.04.1 <= x < 22.10 machine:
# would normally be set by initramfs-tools
$ DPKG_ARCH=amd64
# sets UBUNTU_
$ source /etc/os-release
# see https:/
$ server_url=https:/
# see https:/
$ wget "${server_url}" -O /dev/null
# You should observe an ERROR 404: Not Found.
* Test that the new links work:
- Test Script: https:/
- New -latest URLs
- https:/
- https:/
- http://
- http://
- http://
* Łukasz Zemczak (sil2100) tested that casper can handle
HTTP 301 redirects. (See https:/
[ Where problems could occur ]
* The Ubuntu Release Team could forget or the automation
could stop working to update the -latest links, but this
would, in the worst case, result in a not more worse
situation than the current bug.
[ Other Info ]
* Nick Rosbrook (enr0n) pointed out in comment #3 that the
script allows the user to provide their own url.
This should only be considered a temporary workaround as
a user has to be aware of this bug and has to aquire a
URL by themself. Copy & pasting URLs from the web is
potentialy error prone and unsafe.
* As far as I am aware, there was a discussion between
Łukasz Zemczak (sil2100), Brian Murray (brian-murray) and
Steve Langasek (~vorlon) about the link namining. Neither
was particularly happy about the current solution, but no
better solution was found.
* Original Bug report:
When PXE booting without pulling in squashfs correctly the system tried to be helpful (:-) and grab an ISO. The 22.04.1 Jammy release contains a link to the old version which is not present anymore.
-------
Unable to find a medium containing a live file system
Attempt interactive netboot from a URL?
yes no (default yes):
Two methods available for IP configuration:
* static: for static IP configuration
* dhcp: for automatic IP configuration
static dhcp (default 'dhcp'):
vlan id (optional):
https:/
https:/
url:
http_proxy (optional):
[ 125.454385] igb 0000:00:14.0 eno1: igb: eno1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 125.566067] IPv6: ADDRCONF(
Begin: Trying netboot from 10.0.~.1: ... Begin: Trying to download and mount https:/
BusyBox v1.30.1 (Ubuntu 1:1.30.1-7ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) Connecting to releases.ubuntu.com (185.125.
wget: server returned error: HTTP/1.1 404 Not Found
done.
Unable to find a medium containing a live file system
Related branches
- Łukasz Zemczak (community): Approve
- Ubuntu Stable Release Updates Team: Pending requested
-
Diff: 35 lines (+10/-4)2 files modifieddebian/changelog (+6/-0)
scripts/casper (+4/-4)
- Łukasz Zemczak (community): Approve
-
Diff: 35 lines (+10/-4)2 files modifieddebian/changelog (+6/-0)
scripts/casper (+4/-4)
tags: | added: foundations-todo |
Changed in casper (Ubuntu): | |
assignee: | nobody → Dominik Viererbe (dviererbe) |
description: | updated |
summary: |
- PXE Boot contains wrong suggested link to ISO for live file system + [SRU] PXE Boot contains wrong suggested link to ISO for live file system |
description: | updated |
tags: | removed: foundations-todo |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1990621
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.