Bug#1098221: systemd: systemd-cryptsetup-generator freaks out on debian specific options in crypttab

Luca Boccassi bluca at debian.org
Mon Feb 17 22:50:41 GMT 2025


Control: tags -1 wontfix
Control: close -1

On Mon, 17 Feb 2025 22:27:15 +0100 =?utf-8?Q?=C5=81ukasz_Stelmach?=
<steelman at post.pl> wrote:
> 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.

Sorry, out-of-tree patches are not allowed, and it is very unlikely
something like this can be upstreamed.

Instead, please send a PR upstream to make the generator skip
parameters starting with 'x-' as it is customary in other configuration
settings, and then change the Debian-specific scripts to use that
prefix for Debian-specific options. This is something that is very
likely to be accepted upstream.



More information about the Pkg-systemd-maintainers mailing list