[Bug 1990239] Re: Crash when unmounting cdrom
Julian Andres Klode
1990239 at bugs.launchpad.net
Mon Nov 7 15:21:26 UTC 2022
** Changed in: subiquity (Ubuntu)
Assignee: (unassigned) => Olivier Gayot (ogayot)
--
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 Committed
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