Bug#1098221: systemd: systemd-cryptsetup-generator freaks out on debian specific options in crypttab
Łukasz Stelmach
steelman at post.pl
Mon Feb 17 21:27:15 GMT 2025
Package: systemd
Version: 254.22-1~bpo12+1
Severity: minor
X-Debbugs-Cc: none, Łukasz Stelmach <steelman at post.pl>
Dear Maintainer,
Since there is some discrepancy between crypttab options (4th column)
supported by systemd-cryptsetup-generator and Debian's script running in
the initrd to set up encrypted volumes. The attached patch makes the
generator skip any entry from crypttab if its 4th column contains Debian
specific options. This probably won't fix all the possible problems
occurring in Debian due to using two different tools but it will help
eliminating some.
The problem I hit was caused by the keyscript option and how the key
column is formatted. See also bug #618862[1].
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618862
--
Kind regard,
Łukasz Stelmach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Ignore-Debian-specific-crypttab-option.patch
Type: text/x-diff
Size: 1496 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20250217/5c052999/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20250217/5c052999/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list