[Bug 1990239] Re: Crash when unmounting cdrom
Dan Bungert
1990239 at bugs.launchpad.net
Thu Apr 20 14:56:53 UTC 2023
We believe this issue has been resolved in Subiquity 23.04.2.
If you had tested this with a pre-final version of Ubuntu 23.04, it's
recommended to download the final install media.
For testing with Ubuntu Server 22.04.x or 20.04.x, when running
Subiquity, you should offered a new version of the installer. Please
take that update to version 23.04.2 or later to get the fix.
If this is still a problem for you, please make a comment and set the state
back to New. Thank you for the bug report.
** Changed in: subiquity (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1990239
Title:
Crash when unmounting cdrom
Status in subiquity package in Ubuntu:
Fix Released
Bug description:
On the development version of Subiquity (currently
60d6746a41ee38a0ac775febe39768bafca9c808), the installation fails late
in the process when unmounting /target/cdrom.
subprocess.CalledProcessError: Command '['systemd-run', '--wait', '--same-dir', '--property', 'SyslogIdentifier=subiquity_log.1561', '--setenv', 'PATH=/snap/subiquity/x1/bin:/snap/subiquity/x1/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/subiquity/x1/bin:/snap/subiquity/x1/sbin', '--setenv', 'PYTHONPATH=:/snap/subiquity/x1/lib/python3.8/site-packages', '--setenv', 'PYTHON=/snap/subiquity/x1/usr/bin/python3.8', '--setenv', 'SNAP=/snap/subiquity/x1', '--', 'umount', '/target/cdrom']' returned non-zero exit status 32.
2022-09-19 18:07:02,223 ERROR subiquity.server.server:422 top level error
After investigation, this seems to have been broken by this patch
https://github.com/canonical/subiquity/commit/6d724c0a5be0ccbbf9e3b249e907aa2405993c69
which is part of PR 1417:
https://github.com/canonical/subiquity/pull/1417
A partial revert of the patch fixes the issue:
https://pastebin.canonical.com/p/pB6jSf6BTf/
This could be caused by two processes (e.g., Subiquity & curtin?)
trying to unmount cdrom. To be investigated further.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1990239/+subscriptions
More information about the foundations-bugs
mailing list