User supplied mirror server not verified, no errors reported

Bug #1860352 reported by Tom Reynolds
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
subiquity
New
Undecided
Unassigned

Bug Description

I did a test install using

$ sha256sum focal-live-server-amd64.iso
28c4e38588dd3ecfe2b8b3ec9ecb9e09057671fdd362b4732dc6cb5ff0f8a539 focal-live-server-amd64.iso
(which was published at http://cdimage.ubuntu.com/ubuntu-server/daily-live/current/focal-live-server-amd64.iso on 2020-01-07 09:32)

and edited the mirror server the installer suggested from
  http://de.archive.ubuntu.com/ubuntu
to
  https://de.archive.ubuntu.com/ubuntu

$ host de.archive.ubuntu.com
de.archive.ubuntu.com is an alias for ubuntu.mirror.tudos.de.
ubuntu.mirror.tudos.de has address 141.30.62.22
ubuntu.mirror.tudos.de has address 141.30.62.24
ubuntu.mirror.tudos.de has address 141.30.62.23
ubuntu.mirror.tudos.de has address 141.30.62.26

Every one of these servers refuses TCP connections to port 443.

The installation succeeded, no warning or error was displayed during installation. But the system failed to boot. I am yet unsure whether the reason the system failed to boot is due to the installer not having access to a working mirror server.

I think, however, that the server installer should test basic functionality of a user provided archive mirror server (or whichever archive mirror it ended up using?), and at least warn about it being unusable. A user who provides an archive mirror URL certainly has the expectation that this will be used, and failure to do so will be communicated in more than just the log file.

Ideally, a basic early test will be carried out by the time the user provides the archive mirror location and, should it fail, the user should be informed and asked to instead provide a different archive mirror location or select to carry out an offline installation (if such is (not just technically possible but actually) supported by Subiquity).

I'm not providing log files at this time since this should be fully reproducible.

Tags: focal
Tom Reynolds (tomreyn)
tags: added: focal
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I'm surprised the install doesn't fail in this situation :(

I'm a bit leery of doing too much ahead of time validation of the mirror but I guess we could at least do a HEAD request for the Release file or something, would weed out most typos and silly mistakes.

affects: subiquity (Ubuntu) → subiquity
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

This is fairly similar to https://bugs.launchpad.net/subiquity/+bug/1874248 I guess.

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.