Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2025 01:53:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        sysinstall@FreeBSD.org
Subject:   [Bug 249115] The zfs command in the installer fails to log a set command
Message-ID:  <bug-249115-8135-7A43jG9i6b@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249115-8135@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249115-8135@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249115

--- Comment #9 from Dennis Clarke <dclarke@blastwave.org> ---

I did a re-install again and just wanted to check what the env vars
look like for the installer and the chroot situation : 

This shell is operating in a chroot in the new system. When finished making
configuration changes, type "exit".
root@foo:/ # whoami
root
root@foo:/ # env | sort
BLOCKSIZE=K
BSDDIALOG_COMPATRC=.dialogrc
BSDDIALOG_ERROR=254
BSDDIALOG_ESC=255
BSDDIALOG_ITEM_HELP=4
BSDDIALOG_TIMEOUT=0
BSDINSTALL_CHROOT=/mnt
BSDINSTALL_CONFIGCURRENT=yes
BSDINSTALL_DISTDIR=/usr/freebsd-dist
BSDINSTALL_TMPBOOT=/tmp/bsdinstall_boot
BSDINSTALL_TMPETC=/tmp/bsdinstall_etc
DEBUGGING=
DEBUG_DO=:
DEBUG_INITIALIZE_FILE=
DEBUG_SELF_INITIALIZE=
DEBUG_SH=
DEBUG_SKIP=
DIALOG_ERROR=254
DISTRIBUTIONS=base.txz kernel.txz
ENV=/root/.shrc
HOME=/root
LANG=C.UTF-8
MM_CHARSET=UTF-8
PAGER=less
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
PATH_FSTAB=/tmp/bsdinstall_etc/fstab
PWD=/
RC_PID=20
TERM=xterm
TMPDIR=/tmp
UNAME_M=amd64
UNAME_P=amd64
UNAME_R=15.0-CURRENT
UNAME_S=FreeBSD
_TTY=/dev/console
debug=1
debugFile=/tmp/bsdinstall_log
root@foo:/ # zpool history | tail -4
2025-06-18.01:47:50 zfs set mountpoint=legacy zroot/home/admsys
2025-06-18.01:47:50 zfs allow admsys create,destroy,mount,snapshot
zroot/home/admsys
2025-06-18.01:47:50 zfs inherit mountpoint zroot/home/admsys

root@foo:/ # zfs set checksum=sha256 zroot
root@foo:/ # zpool history | tail -4
2025-06-18.01:47:50 zfs allow admsys create,destroy,mount,snapshot
zroot/home/admsys
2025-06-18.01:47:50 zfs inherit mountpoint zroot/home/admsys
2025-06-18.01:50:16 zfs set checksum=sha256 zroot

root@foo:/ # zfs set atime=off zroot
cannot mount 'zroot': Invalid argument
property may be set but unable to remount filesystem
root@foo:/ # echo $?
255
root@foo:/ # zpool history | tail -4
2025-06-18.01:47:50 zfs allow admsys create,destroy,mount,snapshot
zroot/home/admsys
2025-06-18.01:47:50 zfs inherit mountpoint zroot/home/admsys
2025-06-18.01:50:16 zfs set checksum=sha256 zroot

root@foo:/ # 

I have to wonder if this happens when I create the zpool manually and 
extract the tarballs myself.

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

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249115-8135-7A43jG9i6b>