[pkg-cryptsetup-devel] Bug#967853: cryptsetup: does not support bitlk type in crypttab

Thomas Luzat thomas at luzat.com
Tue Aug 4 12:44:16 BST 2020


Package: cryptsetup
Version: 2:2.3.3-1+b1
Severity: minor

systemd 246 (Debian version 246-2 here) added support for Windows BitLocker
volumes. It requires a bitlk type specified in /etc/crypttab for systemd-
cryptsetup, like so:

foo PARTUUID=12345678-abcd-abcd-abcd-1234567890ab /etc/cryptsetup/foo.key
bitlk,discard

Debian's cryptdisks_start does not require the bitlk option in that case, but
also does not support the option. This results in a warning when Debian's
scripts are used:

# cryptdisks_start foo
Starting crypto disk...cryptsetup: WARNING: foo: ignoring unknown option
'bitlk'
foo (starting)...foo (started)...done.

It would be nice if bitlk was either required (for consistency with systemd) or
at least allowed to avoid that warning.



-- Package-specific info:

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (501, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (400, 'testing'), (101, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-wopr (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:2.3.3-1+b1
ii  debconf [debconf-2.0]  1.5.74
ii  dmsetup                2:1.02.171-2
ii  libc6                  2.31-2

Versions of packages cryptsetup recommends:
ii  cryptsetup-initramfs  2:2.3.3-1
pn  cryptsetup-run        <none>

Versions of packages cryptsetup suggests:
ii  dosfstools              4.1-2
ii  keyutils                1.6.1-2
ii  liblocale-gettext-perl  1.07-4

-- debconf information excluded



More information about the pkg-cryptsetup-devel mailing list