Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer is handling some fatal errors poorly #9497

Open
sjvudp opened this issue Oct 7, 2024 · 1 comment
Open

Installer is handling some fatal errors poorly #9497

sjvudp opened this issue Oct 7, 2024 · 1 comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: installer needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. ux User experience

Comments

@sjvudp
Copy link

sjvudp commented Oct 7, 2024

How to file a helpful issue

Qubes OS release

4.2.3

Brief summary

I re-installed Qubes OS using the "Custom" method, but did not re-create the VM thin pool, nor did I remove the existing vm-* LVs.
After reboot when configuring the templates, that step aborted with some larger error message popup.

So far, so good (or not), BUT:

After clicking OK, the installation continued, and I was offered to log in to a qubes manager without any qube!

So wouldn't it make much more sense to store the bad state (not to talk about "intelligent" recovery), so that after rebooting the system again, it would re-try to create the templates (all, or just the bad/missing ones)?
If it would work that way, I could lvremove the old vm-* LVs and reboot to have them re-created.

Or, alternatively, provide some command to trigger the template creation in case they are missing.

Steps to reproduce

Try a re-install, keeping the existing qubes LVs.

Expected behavior

There should be at least an error message before template configuration starts, saying that existing templates "are in the way", or templates with the same name should be replaced or upgraded in a more clever way.
Or, I know that from HP-UX installation, if you reboot the unconfigured system, configuration restarts (either from the beginning, or at the last problem) until the system had been configured successfully.

Actual behavior

Installation continues after an error, resulting in an unusable system (with no instructions how to fix it).
It seems the user has to repeat the complete installation then.

@sjvudp sjvudp added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Oct 7, 2024
@marmarek
Copy link
Member

marmarek commented Oct 7, 2024

Or, alternatively, provide some command to trigger the template creation in case they are missing.

This you can do, simply start initial-setup service. Or systemctl enable initial-setup and then reboot.

@andrewdavidwong andrewdavidwong added C: installer ux User experience needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. C: storage affects-4.2 This issue affects Qubes OS 4.2. and removed C: storage labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: installer needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. ux User experience
Projects
None yet
Development

No branches or pull requests

3 participants