[Bug 271403] System unusable at first boot after install of 13.2-RELEASE amd64

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 14 May 2023 06:41:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271403

Graham Perrin <grahamperrin@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doc@FreeBSD.org,
                   |                            |grahamperrin@freebsd.org
             Status|New                         |Open
          Component|kern                        |conf
           Assignee|bugs@FreeBSD.org            |grahamperrin@freebsd.org
           Keywords|                            |needs-qa

--- Comment #3 from Graham Perrin <grahamperrin@freebsd.org> ---
zfs_enable
==========

(In reply to Dennis Clarke from comment #2)

> … /etc/rc.conf must have zfs_enable="YES" …

rc.conf(5)
<https://man.freebsd.org/cgi/man.cgi?query=rc.conf&sektion=5&manpath=freebsd-release>
documents this: 

>> zfs_enable    (bool) If set to “YES”, /etc/rc.d/zfs will attempt to 
>                automatically mount ZFS file systems and initialize ZFS 
>                volumes (ZVOLs).


The same variable appears in other contexts. 


% rg zfs_enable /etc/rc.d
/etc/rc.d/zpoolupgrade
12:rcvar="zfs_enable"

/etc/rc.d/zfsbe
18:rcvar="zfs_enable"

/etc/rc.d/zpoolreguid
12:rcvar="zfs_enable"

/etc/rc.d/mountd
62:     if checkyesno zfs_enable; then

/etc/rc.d/zvol
14:rcvar="zfs_enable"

/etc/rc.d/zfs
14:rcvar="zfs_enable"

/etc/rc.d/zpool
15:rcvar="zfs_enable"
% less /etc/rc.d/zpoolupgrade
% less /etc/rc.d/zfs
% less /etc/rc.d/zpool
% rcorder /etc/rc.d/* | grep -e zpool -e zfs | less
% rg ----byte-offset zfs_enable /etc/rc.d
/etc/rc.d/zpoolupgrade
12:171:rcvar="zfs_enable"

/etc/rc.d/zfsbe
18:321:rcvar="zfs_enable"

/etc/rc.d/zpoolreguid
12:173:rcvar="zfs_enable"

/etc/rc.d/zpool
15:162:rcvar="zfs_enable"

/etc/rc.d/mountd
62:1443:        if checkyesno zfs_enable; then

/etc/rc.d/zfs
14:149:rcvar="zfs_enable"

/etc/rc.d/zvol
14:137:rcvar="zfs_enable"
% rcorder /etc/rc.d/* | grep -e zpool -e zfs | less
% less /etc/rc.d/zpoolupgrade
% less /etc/rc.d/zfs
% less /etc/rc.d/zpool
%

-- 
You are receiving this mail because:
You are on the CC list for the bug.