git: 73f55c5a38bf - stable/13 - etc/defaults/rc.conf: set default of zfskeys_enable to NO

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 20 Feb 2022 15:56:12 UTC
The branch stable/13 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=73f55c5a38bfbd22b5333421f23a9a19a11f7cb6

commit 73f55c5a38bfbd22b5333421f23a9a19a11f7cb6
Author:     Robert Wing <rew@FreeBSD.org>
AuthorDate: 2022-01-18 23:26:30 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-02-20 15:53:27 +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")
    
    (cherry picked from commit 6596f19daa42d5b968030e08826542c704533b73)
---
 libexec/rc/rc.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index c6f1a4d2b9c4..f3fb3fd9473c 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