[Bug 265221] /etc/rc.d/zfskeys breaks when /usr is encrypted

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 31 Jul 2022 18:29:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265221

Eirik Oeverby <ltning-freebsd@anduin.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ltning-freebsd@anduin.net

--- Comment #1 from Eirik Oeverby <ltning-freebsd@anduin.net> ---
Hi,

I'm the original author of this script. Timeout is used there in order to no
lock up the boot if key loading is held up by a request for keyboard input or
some other unexpected reason.

Possible solutions I can think of include
- check existence of /usr/sbin/timeout and use it only if found
- assume zfs load-key will always return on its own (don't use timeout at all)

Wihout knowing all possible use cases (as I obviously did not, sorry!) I'm not
sure what the better way forward is.

Would you have an opinion on this?

/Eirik

-- 
You are receiving this mail because:
You are the assignee for the bug.