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

Can't install from kickstart with explicit partitioning #2180

Closed
woju opened this Issue Jul 18, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@woju
Member

woju commented Jul 18, 2016

Qubes R3.2 cannot be automatically installed using kickstart without automatic partitioning (i.e., no autopart, but explicit part, volgroup, logvol). This is caused by this patch: QubesOS/qubes-installer-qubes-os@492e293 (reverting it helps). The patch enables encryption by default.

The problem is, anaconda also keeps global "is disk encrypted" state in this object:
https://github.com/QubesOS/qubes-installer-qubes-os/blob/master/anaconda/pyanaconda/ui/gui/spokes/storage.py#L346. If autopart is not instantiated explicitly (by means of kickstart), it has the default of encrypted=True and no password.

This bug is prevents automatic test environment. The autopart directive cannot be utilized, because autopart takes all available space for / (spare around 4GB for swap), but we need to have space for snapshots.

Additional references:

cc @marmarek

woju added a commit to woju/qubes-installer-qubes-os that referenced this issue Jul 18, 2016

anaconda: fix encryption passphrase check
The installer checks if there is password for autopart. It should check
that only if autopart is actually in use.

QubesOS/qubes-issues#2180

@woju woju referenced this issue in QubesOS/qubes-installer-qubes-os Jul 18, 2016

Merged

anaconda: fix encryption passphrase check #5

@marmarek marmarek closed this Jul 19, 2016

@marmarek marmarek added this to the Release 3.2 milestone Jul 19, 2016

fepitre added a commit to fepitre/qubes-installer-qubes-os that referenced this issue Dec 29, 2017

anaconda: fix encryption passphrase check
The installer checks if there is password for autopart. It should check
that only if autopart is actually in use.

QubesOS/qubes-issues#2180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment