From: Nicolas Porcel Date: Mon, 28 Feb 2022 18:48:04 +0000 (+0000) Subject: fix(crypt): add missing is_keysource parameter to cryptroot-ask X-Git-Tag: 057~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c11a8fcee08c297a34bd5c5215a7a29d3529b85;p=thirdparty%2Fdracut.git fix(crypt): add missing is_keysource parameter to cryptroot-ask Without this change, rd.luks.key.tout is used, which is the number of times cryptroot tries to find the key. --- diff --git a/modules.d/90crypt/parse-crypt.sh b/modules.d/90crypt/parse-crypt.sh index ebd15211a..70e96444a 100755 --- a/modules.d/90crypt/parse-crypt.sh +++ b/modules.d/90crypt/parse-crypt.sh @@ -180,7 +180,7 @@ else printf -- 'ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="%s ' "$(command -v initqueue)" printf -- '--unique --settled --onetime --name cryptroot-ask-%%k ' # shellcheck disable=SC2016 - printf -- '%s $env{DEVNAME} luks-$env{ID_FS_UUID} %s"\n' "$(command -v cryptroot-ask)" "$tout" + printf -- '%s $env{DEVNAME} luks-$env{ID_FS_UUID} 0 %s"\n' "$(command -v cryptroot-ask)" "$tout" } >> /etc/udev/rules.d/70-luks.rules.new else {