]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(crypt): add missing is_keysource parameter to cryptroot-ask
authorNicolas Porcel <nicolasporcel06@gmail.com>
Mon, 28 Feb 2022 18:48:04 +0000 (18:48 +0000)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Sat, 9 Apr 2022 07:54:06 +0000 (07:54 +0000)
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

index ebd15211a2ac56ad1b1e6d811c852d6e2cc339a5..70e96444ab4db713f8f418e40ee7c4bbd1005b5c 100755 (executable)
@@ -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} %s"\n' "$(command -v cryptroot-ask)" "$tout"
             } >> /etc/udev/rules.d/70-luks.rules.new
         else
             {