git: 6596f19daa42 - main - etc/defaults/rc.conf: set default of zfskeys_enable to NO

From: Robert Wing <rew_at_FreeBSD.org>
Date: Tue, 18 Jan 2022 23:31:46 UTC
The branch main has been updated by rew:

URL: https://cgit.FreeBSD.org/src/commit/?id=6596f19daa42d5b968030e08826542c704533b73

commit 6596f19daa42d5b968030e08826542c704533b73
Author:     Robert Wing <rew@FreeBSD.org>
AuthorDate: 2022-01-18 23:26:30 +0000
Commit:     Robert Wing <rew@FreeBSD.org>
CommitDate: 2022-01-18 23:26:30 +0000

    etc/defaults/rc.conf: set default of zfskeys_enable to NO
    
    This addresses the following boot message:
        /etc/rc: WARNING: $zfskeys_enable is not set properly - see rc.conf(5).
    
    Reported by:    Mark Millard
    Sponsored by:   Modirum MDPay
    Sponsored by:   Klara Inc.
    Fixes: bfb7a31b6a22 ("rc: Hook zfskeys to the build")
    Fixes: 33ff39796ffe ("Add zfskeys rc.d script for auto-loading encryption keys")
---
 libexec/rc/rc.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index c2941c770b56..1812b099530a 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -67,6 +67,7 @@ rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
 
 # ZFS support
 zfs_enable="NO"		# Set to YES to automatically mount ZFS file systems
+zfskeys_enable="NO"	# Set YES to autoload ZFS encryption keys
 zfs_bootonce_activate="NO" # Set YES to make successful bootonce BE permanent
 
 # ZFSD support