[Bug 282957] 14.2-RC1 installer does not complete user account creation when ZFS encryption selected for user

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 25 Nov 2024 00:37:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282957

--- Comment #6 from Dag-Erling Smørgrav <des@FreeBSD.org> ---
I assume this is after the post-install reboot.  The ZFS dataset exists but is
not mounted because you have not loaded the passphrase.  You'll need to
configure `pam_zfs_key` to do it automatically on login.  Unfortunately it
doesn't work with sshd because the OpenSSH developers have intentionally broken
PAM integration, but for console logins you can append the following to
/etc/pam.d/system:

auth    optional        pam_zfs_key.so  try_first_pass homes=zroot/home
session optional        pam_zfs_key.so  homes=zroot/home

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