Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2026 15:46:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 296130] rc.d/zfskeys blocks boot on keylocation=prompt datasets
Message-ID:  <bug-296130-9-wmcOtsmWeY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-296130-9@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-296130-9-wmcOtsmWeY>