Crash when disconnecting network adapter
Bug #2012659 reported by
Adrien Nader
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Fix Released
|
Undecided
|
Olivier Gayot |
Bug Description
If you unplug your network adapter during installation, the installer crashes. There's nothing more needed to reproduce the issue. Before you ask, my ethernet card comes from an USB4 hub which is in my screen and got turned off when the screen went to sleep. :)
I was waiting for the bug to be automatically created from my report from the installer but that never happened and I lost some context. I remember there was a problem with "is_connected" though. Basically the installer was attempting to retrieve some information but the card had disappeared and an exception is raised.
Changed in subiquity: | |
assignee: | nobody → Olivier Gayot (ogayot) |
status: | New → In Progress |
Changed in subiquity: | |
status: | In Progress → Fix Committed |
Changed in subiquity: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This feels like a tricky situation.
I have no doubt we can do something to make sure we don't crash when accessing a network adapter that has disappeared (provided we have the hardware to reproduce it, which I currently don't). A tarball of the logs (e.g., /var/log/installer + /var/crash + journal) would help BTW.
OTOH, if the network adapter gets disconnected and does not come back up before we start downloading packages from the archive, there's little we can do to prevent the install from failing. A manual retry option would be ideal, I guess, but it feels like substantial effort.