[Bug 1898129] Re: Cannot configure 'cryptsetup luksFormat' at install time

Mauricio Faria de Oliveira 1898129 at bugs.launchpad.net
Thu Oct 1 22:29:20 UTC 2020


Testing in Groovy Desktop ISO (daily build 2020-09-30)

Example: usage to specify luks header version,
as LUKS1; the default is LUKS2 on Focal/later.

$ sudo dpkg -i --force-depends --force-overwrite partman-
crypto_101ubuntu4+luksopts1_amd64.udeb


Default (no option specified / no changes):
---

$ sudo cryptsetup luksDump /dev/vda4
LUKS header information
Version:       	2
...

Option:
---

Preseed file:

"""
ubiquity partman-crypto/luksformat_options string \
  --type luks1
"""

$ sudo debconf-get partman-crypto/luksformat_options
--type luks1

$ grep luksFormat /var/log/partman 
/usr/bin/autopartition-crypto: Additional options for luksFormat: '--type luks1'

$ sudo cryptsetup luksDump /dev/vda4
LUKS header information for /dev/vda4

Version:       	1
...

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-crypto in Ubuntu.
https://bugs.launchpad.net/bugs/1898129

Title:
  Cannot configure 'cryptsetup luksFormat' at install time

Status in partman-crypto package in Ubuntu:
  In Progress

Bug description:
  Most users should be fine with the options to
  'cryptsetup luksFormat' used by the installer.

  However, some users may have reasons to use
  other options, and that is not possible now.

  Let's provide a new preseed option for that:
  'partman-crypto/luksformat_options'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-crypto/+bug/1898129/+subscriptions



More information about the foundations-bugs mailing list