[Bug 1821252] Please test proposed package
Brian Murray
brian at ubuntu.com
Fri Jun 28 22:42:00 UTC 2019
Hello Steven, or anyone else affected,
Accepted friendly-recovery into xenial-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/friendly-
recovery/0.2.31ubuntu2.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, without details of
your testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to friendly-recovery in Ubuntu.
https://bugs.launchpad.net/bugs/1821252
Title:
systemctl set-default breaks recovery mode
Status in friendly-recovery package in Ubuntu:
Fix Released
Status in friendly-recovery source package in Xenial:
Fix Committed
Status in friendly-recovery source package in Bionic:
Fix Committed
Status in friendly-recovery source package in Cosmic:
Fix Committed
Status in friendly-recovery source package in Disco:
Fix Committed
Status in friendly-recovery source package in Eoan:
Fix Released
Bug description:
[Impact]
* A recovery mode boot is effectively a normal boot on any system
that has ever had systemctl set-default run on it, i.e., the recovery
kernel parameter does nothing. In particular, ubiquity calls systemctl
set-default as part of the oem-config process, rendering recovery mode
useless on any oem-configured machine.
* This is a regression from previous behavior, where recovery mode
would override a user-set default target.
* This would also restore the intuitive behavior of this package. It
is intended to be run by setting a kernel parameter for a one-time
boot, and should therefore take priority over any other settings (such
as configuring a different default target).
[Test Case]
* Run systemctl set-default multi-user.target
* Use the GRUB menu to try to boot into recovery mode
* Observe that you end up at a TTY, not in recovery mode
[Regression Potential]
* Possible regression if someone set recovery as a default kernel
parameter, then relied on the default systemd target to override it.
This seems like an unlikely use-case.
[Original Description]
Fresh Ubuntu 18.04.2 server install
Try to boot to recovery mode from GRUB. Works correctly.
Use systemctl to set a different default, say systemctl set-default
multi-user.target
Try to boot to recovery mode from GRUB. End up at getty and not the
recovery menu.
Delete /etc/systemd/system/default.target* and recovery mode works
normally again.
I believe this can be fixed by changing normaldir to earlydir in the
generator.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions
More information about the foundations-bugs
mailing list