From 6c11a8fcee08c297a34bd5c5215a7a29d3529b85 Mon Sep 17 00:00:00 2001 From: Nicolas Porcel Date: Mon, 28 Feb 2022 18:48:04 +0000 Subject: [PATCH] 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. --- modules.d/90crypt/parse-crypt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/90crypt/parse-crypt.sh b/modules.d/90crypt/parse-crypt.sh index ebd15211a2..70e96444ab 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 {