Arbitraty encrypted partitions should be allowed #2580
Labels
bug
Something isn't working
question
Further information is requested
triage
Add this label to issues that should be triaged and prioretized in the next planning call
unconfirmed
UKI and non-UKI installations, have different implementations on partition encryption:
In the UKI case, one can specify any partition for encryption but in the non-uki case, only
COS_OEM
andCOS_PERSISTENT
are allowed (see the second link above).We should be consistent and we should allow any partition to be encrypted.
The reason why we have that UUID to label mapping is because the partition label is not available while the partition is encrypted (or is it the filesystem label?). In the beginning we were storing a file with mappings from uuids to labels. Later we switched to the current implementation. It turns out, "partlabel" is available even while the partition is encrypted:
although LABEL would only appear in the "mapper" partition:
Maybe we should let the user define partitions to be encrypted by their partlabel which means we don't need mapping files or specific UUID generation code.
In any case, we should be consistent between UKI and standard and allows any partition to be encrypted in both cases.
The text was updated successfully, but these errors were encountered: