[Bug 1821252] Re: systemctl set-default breaks recovery mode
This bug was fixed in the package friendly-recovery - 0.2.39ubuntu0.19.04.1 --- friendly-recovery (0.2.39ubuntu0.19.04.1) disco; urgency=medium [ Steven Clarkson ] * lib/systemd/system-generators/friendly-recovery: Symlink default.target to earlydir instead of normaldir to be able to access recovery mode even if default target has been set via systemctl set-default (LP: #1821252). -- Ioanna Alifieraki Fri, 21 Jun 2019 17:32:41 +0100 ** Changed in: friendly-recovery (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
This bug was fixed in the package friendly-recovery - 0.2.31ubuntu2.1 --- friendly-recovery (0.2.31ubuntu2.1) xenial; urgency=medium [ Steven Clarkson ] * lib/systemd/system-generators/friendly-recovery: Symlink default.target to earlydir instead of normaldir to be able to access recovery mode even if default target has been set via systemctl set-default (LP: #1821252). -- Ioanna Alifieraki Fri, 21 Jun 2019 16:35:01 +0100 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
This bug was fixed in the package friendly-recovery - 0.2.38ubuntu1.1 --- friendly-recovery (0.2.38ubuntu1.1) bionic; urgency=medium [ Steven Clarkson ] * lib/systemd/system-generators/friendly-recovery: Symlink default.target to earlydir instead of normaldir to be able to access recovery mode even if default target has been set via systemctl set-default (LP: #1821252). -- Ioanna Alifieraki Fri, 21 Jun 2019 15:07:01 +0100 ** Changed in: friendly-recovery (Ubuntu Bionic) Status: Fix Committed => Fix Released ** Changed in: friendly-recovery (Ubuntu Disco) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
This bug was fixed in the package friendly-recovery - 0.2.39ubuntu0.18.10.1 --- friendly-recovery (0.2.39ubuntu0.18.10.1) cosmic; urgency=medium [ Steven Clarkson ] * lib/systemd/system-generators/friendly-recovery: Symlink default.target to earlydir instead of normaldir to be able to access recovery mode even if default target has been set via systemctl set-default (LP: #1821252). -- Ioanna Alifieraki Fri, 21 Jun 2019 17:26:49 +0100 ** Changed in: friendly-recovery (Ubuntu Cosmic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
Tested friendly-recovery 0.2.39ubuntu0.18.10.1 on Cosmic. Same procedure as Bionic. Was able to reach recovery menu even after running set-default. apt-cache policy friendly-recovery friendly-recovery: Installed: 0.2.39ubuntu0.18.10.1 Candidate: 0.2.39ubuntu0.18.10.1 Version table: *** 0.2.39ubuntu0.18.10.1 500 500 http://archive.ubuntu.com/ubuntu cosmic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 0.2.39 500 500 http://archive.ubuntu.com/ubuntu cosmic/main amd64 Packages ** Tags removed: verification-needed-cosmic ** Tags added: verification-done-cosmic ** Tags removed: verification-needed-disco ** Tags added: verification-done-disco -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
Tested friendly-recovery 0.2.39ubuntu0.19.04.1 on Disco. Same procedure as Bionic. Was able to reach recovery menu even after running set-default. apt-cache policy friendly-recovery friendly-recovery: Installed: 0.2.39ubuntu0.19.04.1 Candidate: 0.2.39ubuntu0.19.04.1 Version table: *** 0.2.39ubuntu0.19.04.1 500 500 http://us.archive.ubuntu.com/ubuntu disco-proposed/main amd64 Packages 100 /var/lib/dpkg/status 0.2.39 500 500 http://us.archive.ubuntu.com/ubuntu disco/main amd64 Packages -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
Tested friendly-recovery 0.2.31ubuntu2.1 on Xenial. Same procedure as Bionic. Reached recovery menu even after running set- default. apt-cache policy friendly-recovery friendly-recovery: Installed: 0.2.31ubuntu2.1 Candidate: 0.2.31ubuntu2.1 Version table: *** 0.2.31ubuntu2.1 500 500 http://us.archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu xenial-proposed/main i386 Packages 100 /var/lib/dpkg/status 0.2.31ubuntu2 500 500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages 0.2.31 500 500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages ** Tags removed: verification-needed-xenial ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
Tested friendly-recovery 0.2.38ubuntu1.1 on Bionic. Ran systemctl set-default multi-user.target Rebooted and selected recovery mode from GRUB Got to the recovery menu, as expected. apt-cache policy friendly-recovery friendly-recovery: Installed: 0.2.38ubuntu1.1 Candidate: 0.2.38ubuntu1.1 Version table: *** 0.2.38ubuntu1.1 100 100 /var/lib/dpkg/status 0.2.38ubuntu1 500 500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages 0.2.38 500 500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages ** Tags removed: verification-needed-bionic ** Tags added: verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
Hello Steven, or anyone else affected, Accepted friendly-recovery into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/friendly- recovery/0.2.39ubuntu0.19.04.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-disco to verification-done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-disco. 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. ** Changed in: friendly-recovery (Ubuntu Disco) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-disco ** Changed in: friendly-recovery (Ubuntu Cosmic) Status: In Progress => Fix Committed ** Tags added: verification-needed-cosmic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
Sponsored in stable release for D/C/B/X. Note: The fix is already merged into Debian and Eoan (Current devel release). Thanks Steven for your patch contribution, and Ioanna for producing the debdiffs and all the SRU related work. Regards, Eric ** Tags removed: sts-sponsor-slashd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
This bug was fixed in the package friendly-recovery - 0.2.41 --- friendly-recovery (0.2.41) experimental; urgency=medium [ Janitor ] * Trim trailing whitespace. * Use secure URI in Vcs control header. [ Steven Clarkson ] * Symlink default.taget to earlydir instead of normaldir to be able to access recovery mode even if default target has been set via systemctl set-default (LP: #1821252). -- Dimitri John Ledkov Fri, 21 Jun 2019 13:29:33 +0100 ** Changed in: friendly-recovery (Ubuntu Eoan) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
Debdiff for Xenial. ** Patch added: "lp1821252_xenial.debdiff" https://bugs.launchpad.net/ubuntu/bionic/+source/friendly-recovery/+bug/1821252/+attachment/5272170/+files/lp1821252_xenial.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
Debdiff for Cosmic. ** Patch added: "lp1821252_cosmic.debdiff" https://bugs.launchpad.net/ubuntu/bionic/+source/friendly-recovery/+bug/1821252/+attachment/5272168/+files/lp1821252_cosmic.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
Debdiff for Bionic. ** Patch added: "lp1821252_bionic.debdiff" https://bugs.launchpad.net/ubuntu/bionic/+source/friendly-recovery/+bug/1821252/+attachment/5272169/+files/lp1821252_bionic.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
Debdiff for Disco. ** Patch added: "lp1821252_disco.debdiff" https://bugs.launchpad.net/ubuntu/bionic/+source/friendly-recovery/+bug/1821252/+attachment/5272167/+files/lp1821252_disco.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
xnox will upload to debian experimental and will sync to eoan. I'll take care of the stable release once the above ^ is completed. - Eric ** Tags added: sts-sponsor-slashd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
** Branch linked: lp:~joalif/friendly-recovery/lp1821252 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
** Branch unlinked: lp:~joalif/friendly-recovery/lp1821252 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
** Description changed: + [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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
** Changed in: friendly-recovery (Ubuntu Cosmic) Importance: Undecided => High ** Changed in: friendly-recovery (Ubuntu Bionic) Importance: Undecided => High ** Changed in: friendly-recovery (Ubuntu Xenial) Importance: Undecided => High ** Changed in: friendly-recovery (Ubuntu Disco) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
** Branch linked: lp:~joalif/friendly-recovery/lp1821252 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
** Changed in: friendly-recovery (Ubuntu Xenial) Status: Confirmed => In Progress ** Changed in: friendly-recovery (Ubuntu Bionic) Status: Confirmed => In Progress ** Changed in: friendly-recovery (Ubuntu Cosmic) Status: Confirmed => In Progress ** Changed in: friendly-recovery (Ubuntu Disco) Status: Confirmed => In Progress ** Changed in: friendly-recovery (Ubuntu Eoan) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
** Tags removed: rls-bb-incoming rls-ee-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
** Tags added: sts ** Changed in: friendly-recovery (Ubuntu Xenial) Assignee: (unassigned) => Ioanna Alifieraki (joalif) ** Changed in: friendly-recovery (Ubuntu Bionic) Assignee: (unassigned) => Ioanna Alifieraki (joalif) ** Changed in: friendly-recovery (Ubuntu Cosmic) Assignee: (unassigned) => Ioanna Alifieraki (joalif) ** Changed in: friendly-recovery (Ubuntu Disco) Assignee: (unassigned) => Ioanna Alifieraki (joalif) ** Changed in: friendly-recovery (Ubuntu Eoan) Assignee: (unassigned) => Ioanna Alifieraki (joalif) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
** Also affects: friendly-recovery (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: friendly-recovery (Ubuntu Cosmic) Importance: Undecided Status: New ** Also affects: friendly-recovery (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: friendly-recovery (Ubuntu Eoan) Importance: High Status: New ** Also affects: friendly-recovery (Ubuntu Disco) Importance: Undecided Status: New ** Changed in: friendly-recovery (Ubuntu Eoan) Status: New => Confirmed ** Changed in: friendly-recovery (Ubuntu Disco) Status: New => Confirmed ** Changed in: friendly-recovery (Ubuntu Cosmic) Status: New => Confirmed ** Changed in: friendly-recovery (Ubuntu Bionic) Status: New => Confirmed ** Changed in: friendly-recovery (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
** Changed in: friendly-recovery (Ubuntu) Importance: Medium => High ** Tags added: rls-ee-incoming ** Tags added: regression-update rls-bb-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
** Changed in: friendly-recovery (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
Slightly confused about the procedure here. This bug was introduced in Debian in 0.2.39 as a fix for LP #1766872. This is the current version in cosmic and disco, and the bug was backported into xenial and bionic. I guess this should be tagged as regression-update? But it should also be fixed in Debian, where it has been abandoned. Filling out an SRU template below. [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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
Hi, Thanks for opening this bug and proposing a patch. You have mentioned: "I believe this can be fixed by changing normaldir to earlydir in the generator." Did you test it ? We need to make sure it fixes this particular issue but also make sure it doesn't break anything nor cause regression. Feel free to provide as much details as possible to help a potential future sponsor to understand the situation and what has been done to come to conclusion that this is the appropriate fix. Another thing that would be highly appreciated ... if you could please create the SRU template. All the details can be found here: https://wiki.ubuntu.com/StableReleaseUpdates (3.1. SRU Bug Template) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
The attachment "friendly-recovery-earlydir.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821252] Re: systemctl set-default breaks recovery mode
Here's a patch with the above fix ** Patch added: "friendly-recovery-earlydir.patch" https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+attachment/5254782/+files/friendly-recovery-earlydir.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821252 Title: systemctl set-default breaks recovery mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1821252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs