[Bug 1928687] Re: Avoid infinite loop on EOF on media change prompt
Julian Andres Klode
1928687 at bugs.launchpad.net
Mon Jun 21 14:58:30 UTC 2021
I've not been able to reproduce this recently, there seems to be a race
in the cdrom testing code somewhere and I've not been lucky to trigger
it; but we saw no regressions in the test suite, and the fix is one of
the obvious correct ones, so marking as verified.
** Tags removed: verification-needed verification-needed-bionic verification-needed-focal verification-needed-hirsute
** Tags added: verification-dobe-hirsute verification-done verification-done-bionic verification-done-focal
** Tags removed: verification-dobe-hirsute
** Tags added: verification-done-hirsute
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1928687
Title:
Avoid infinite loop on EOF on media change prompt
Status in apt package in Ubuntu:
Fix Released
Status in apt source package in Bionic:
Fix Committed
Status in apt source package in Focal:
Fix Committed
Status in apt source package in Hirsute:
Fix Committed
Status in apt source package in Impish:
Fix Released
Bug description:
[Impact]
The cdrom media change prompt hangs on EOF. This causes the autopkgtest to hang when run in a debian lxd container for unknown reasons related to lxd/systemd isolation likely (it works fine in Ubuntu), but it's also surprising behavior in general.
[Test plan]
We did not really come up with a test for this except running autopkgtest -- lxd autopkgtest/debian/$suite/$arch. That being said, the change is minimal, and we do test the positive case in the test suite.
[Where problems could occur]
This change is isolated to the handling of pressing 'c' or hitting EOF inside the media change prompt, so any regressions would occur solely within that space. We do not foresee any regressions from the change as intended, as it seems unlikely that "hanging" is what you actually want.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1928687/+subscriptions
More information about the foundations-bugs
mailing list