[Bug 296130] rc.d/zfskeys blocks boot on keylocation=prompt datasets
Date: Mon, 22 Jun 2026 15:46:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296130
--- Comment #11 from Kyle Evans <kevans@freebsd.org> ---
(In reply to Doug Ambrisko from comment #10)
This is effectively what I had locally, but I also did:
@@@ -20,6 -20,6 +20,7 @@@ required_modules="zfs
: ${zfskeys_datasets:=''}
: ${zfskeys_timeout:=10}
: ${zfskeys_unload_force:='NO'}
++: ${zfskeys_prompt_enable:='YES'}
encode_args()
{
and I also prefixed the prompt zfs load-key with `timeout $zfskeys_timeout` as
it's done in in the third invocation in the file. If we don't add some timeout
(maybe adding a higher zfskeys_prompt_timeout would be better), I'd prefer that
we default zfskeys_prompt_enable=NO so that we just add latency for systems
that aren't expecting it rather than completely blocking.
--
You are receiving this mail because:
You are the assignee for the bug.