bsdinstall/scriptedpart could not run ;-(

From: KIRIYAMA Kazuhiko <kiri_at_truefc.org>
Date: Mon, 13 Nov 2023 07:00:00 UTC
Hi, all

I usually run bsdinstall by instllerconfig, but
bsdinstall/scriptedpart could not run ;-( 

My installerconfig is:

PARTITIONS='nda0 gpt { 200M efi, 804G freebsd-ufs /, 128G freebsd-swap }'
DISTRIBUTIONS='base.txz kernel-dbg.txz kernel.txz lib32.txz tests.txz'
ZFSBOOT_DISKS=""

#!/bin/sh
/bin/mkdir -p /.dake
/bin/cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
/bin/cp /root/.cshrc /root/.cshrc.org
/bin/cat <<EOF >> /etc/fstab
192.168.1.17:/.dake	/.dake		nfs	rw	0	0
EOF
sed -i".bak" -Ee '/^#BDS_install.sh_added:start_line$/,/^#BDS_install.sh_added:end_line$/d' /root/.cshrc
/bin/cat <<'EOF' >> /root/.cshrc
#BDS_install.sh_added:start_line
setenv	PATH		${PATH}:/.dake/bin
setenv	MGRHOME		/usr/home/admin
setenv	OPENTOOLSDIR	/.dake
setenv	DAKEDIR		/.dake
#BDS_install.sh_added:end_line
EOF
  :
(snip)
  :

I investigated in bsdinstall script and found scriptedpart
which acutually run partedit with scriptedpart would not be
destroy existing partition. In fact scriptedpart -> partedit
changed in script as follows, then parttion editor run at
terminal.

root@:~ # diff -u /usr/libexec/bsdinstall/script.bak /usr/libexec/bsdinstall/script
--- /usr/libexec/bsdinstall/script.bak  2023-11-02 01:35:14.728717000 +0000
+++ /usr/libexec/bsdinstall/script      2023-11-08 07:24:01.799149000 +0000
@@ -86,11 +86,13 @@
 shift

 f_dprintf "Began Installation at %s" "$( date )"
+echo "Split installerconfig" >> /tmp/bsdinstall_log
 rm -rf $BSDINSTALL_TMPETC
 mkdir $BSDINSTALL_TMPETC

 split -a 2 -p '^#!.*' "$SCRIPT" $TMPDIR/bsdinstall-installscript-

+echo "Set DISTRIBUTIONS" >> /tmp/bsdinstall_log
 . $TMPDIR/bsdinstall-installscript-aa
 : ${DISTRIBUTIONS="kernel.txz base.txz"}; export DISTRIBUTIONS
 export BSDINSTALL_DISTDIR
@@ -107,10 +109,19 @@
 rm -f $PATH_FSTAB
 touch $PATH_FSTAB
 if [ "$ZFSBOOT_DISKS" ]; then
+       echo "Zfsboot" >> /tmp/bsdinstall_log
+       f_dprintf "Zfsboot"
        bsdinstall zfsboot
 else
-       bsdinstall scriptedpart "$PARTITIONS"
+       echo "Scriptedpart" >> /tmp/bsdinstall_log
+       echo "PARTITIONS=\"$PARTITIONS\"" >> /tmp/bsdinstall_log
+       f_dprintf "Scriptedpart with %s" "$PARTITIONS"
+#      bsdinstall scriptedpart "$PARTITIONS"
+       bsdinstall partedit
 fi
+exit 1
+echo "Mount" >> /tmp/bsdinstall_log
+f_dprintf "Mount"

Maybe gpart_destroy(gpart) in part_config in
parse_disk_config in scripted_editor would not execute.

Target machine is as follows:

root@:~ # uname -a
FreeBSD  15.0-CURRENT FreeBSD 15.0-CURRENT #0 n265729-9b03a5de73d4: Thu Oct  5 21:59:06 JST 2023
 root@tbedfc:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
root@:~ # gpart show nda0
=>        40  1953525088  nda0  GPT  (932G)
          40      409600     1  efi  (200M)
      409640  1686110208     2  freebsd-ufs  (804G)
  1686519848   267005280     3  freebsd-swap  (127G)

root@:~ # cat /var/run/dmesg.boot
---<<BOOT>>---
Copyright (c) 1992-2023 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 15.0-CURRENT #0 n265729-9b03a5de73d4: Thu Oct  5 21:59:06 JST 2023
    root@tbedfc:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
WARNING: WITNESS option enabled, expect reduced performance.
VT(efifb): resolution 800x600
CPU: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz (2300.00-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x806ea  Family=0x6  Model=0x8e  Stepping=10
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7ffafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x121<LAHF,ABM,Prefetch>
  Structured Extended Features=0x29c67af<FSGSBASE,TSCADJ,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PROCTRACE>
  Structured Extended Features3=0x9c002400<MD_CLEAR,TSXFA,IBPB,STIBP,L1DFL,SSBD>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  = 42948624384 (40959 MB)
avail memory = 41573068800 (39647 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I >
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 hardware threads
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
random: unblocking device.
ioapic0 <Version 2.0> irqs 0-119
Launching APs: 1 5 2 6 7 3 4
random: entropy device external interface
kbd1 at kbdmux0
efirtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day clock, resolution 1.000000s
smbios0: <System Management BIOS> at iomem 0x8c9b5000-0x8c9b501e
smbios0: Version: 3.2, BCD Revision: 3.2
aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS>
acpi0: <ALASKA A M I >
acpi0: Power Button (fixed)
ACPI Error: No handler for Region [ECF2] (0xfffff800022f8580) [EmbeddedControl] (20221020/evregion-292)
ACPI Error: Region EmbeddedControl (ID=3) has no handler (20221020/exfldio-428)
ACPI Error: Aborting method \134_SB.PCI0.LPCB.H_EC.LID0._STA due to previous error (AE_NOT_EXIST) (20221020/psparse-689)
cpu0: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 24000000 Hz quality 950
Event timer "HPET" frequency 24000000 Hz quality 550
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x50> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x3000-0x303f mem 0xa0000000-0xa0ffffff,0x90000000-0x9fffffff at device 2.0 on pci0
vgapci0: Boot video device
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xa1300000-0xa130ffff at device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
pci0: <memory, RAM> at device 20.2 (no driver attached)
sdhci_pci0: <Generic SD HCI> mem 0xa132c000-0xa132cfff at device 20.5 on pci0
sdhci_pci0: 1 slot(s) allocated
pci0: <serial bus> at device 21.0 (no driver attached)
pci0: <serial bus> at device 21.1 (no driver attached)
pci0: <serial bus> at device 21.2 (no driver attached)
pci0: <simple comms> at device 22.0 (no driver attached)
ahci0: <AHCI SATA controller> port 0x3090-0x3097,0x3080-0x3083,0x3060-0x307f mem 0xa131c000-0xa131dfff,0xa1327000-0xa13270ff,0xa1326000-0xa13267ff at device 23.0 on pci0
ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
pci0: <serial bus> at device 25.0 (no driver attached)
sdhci_pci1: <Generic SD HCI> mem 0xa1324000-0xa1324fff at device 26.0 on pci0
sdhci_pci1: 1 slot(s) allocated
mmc0: <MMC/SD bus> on sdhci_pci1
pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <network> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 29.0 on pci0
pci2: <ACPI PCI bus> on pcib2
nvme0: <Generic NVMe Device> mem 0xa1100000-0xa1103fff,0xa1104000-0xa11040ff at device 0.0 on pci2
pci0: <simple comms> at device 30.0 (no driver attached)
pci0: <serial bus> at device 30.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
hdac0: <Intel Cannon Lake HDA Controller> mem 0xa1318000-0xa131bfff,0xa1000000-0xa10fffff at device 31.3 on pci0
pci0: <serial bus> at device 31.5 (no driver attached)
acpi_button0: <Sleep Button> on acpi0
acpi_button1: <Power Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
acpi_syscontainer0: <System Container> on acpi0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
hwpstate_intel0: <Intel Speed Shift> on cpu0
hwpstate_intel1: <Intel Speed Shift> on cpu1
hwpstate_intel2: <Intel Speed Shift> on cpu2
hwpstate_intel3: <Intel Speed Shift> on cpu3
hwpstate_intel4: <Intel Speed Shift> on cpu4
hwpstate_intel5: <Intel Speed Shift> on cpu5
hwpstate_intel6: <Intel Speed Shift> on cpu6
hwpstate_intel7: <Intel Speed Shift> on cpu7
Timecounter "TSC-low" frequency 1152000116 Hz quality 1000
Timecounters tick every 1.000 msec
ugen0.1: <Intel XHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
mmc0: No compatible cards found on bus
hdacc0: <Realtek ALC897 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC897 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC897 (Internal Analog)> at nid 20 and 18 on hdaa0
pcm1: <Realtek ALC897 (Front Analog Headphones)> at nid 27 on hdaa0
hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1
nda0 at nvme0 bus 0 scbus2 target 0 lun 1
nda0: <SanDisk Extreme Pro 1TB 111130WD 2144HW440501>
nda0: Serial Number 2144HW440501
nda0: nvme version 1.3
nda0: 953869MB (1953525168 512 byte sectors)
Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]...
WARNING: WITNESS option enabled, expect reduced performance.
uhub0: 18 ports with 18 removable, self powered
Root mount waiting for: usbus0
ugen0.2: <Sonix Technology Co., Ltd. USB 2.0 Camera> at usbus0
ugen0.3: <vendor 0x05e3 USB2.0 Hub> at usbus0
uhub1 on uhub0
uhub1: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/32.98, addr 2> on usbus0
Root mount waiting for: usbus0
uhub1: 4 ports with 4 removable, self powered
Root mount waiting for: usbus0
usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device ELECOM MF-HMU2 (0x056e:0x6006)
usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device ELECOM MF-HMU2 (0x056e:0x6006)
ugen0.4: <ELECOM MF-HMU2> at usbus0
umass0 on uhub1
umass0: <ELECOM MF-HMU2, class 0/0, rev 2.00/1.00, addr 3> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x8100
umass0:3:0: Attached to scbus3
da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
da0: <ELECOM MF-HMU2 PMAP> Removable Direct Access SCSI device
da0: Serial Number 07BA1B0820ACB40B
da0: 40.000MB/s transfers
da0: 1912MB (3915776 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
Root mount waiting for: usbus0
ugen0.5: <MOSART Semi. 2.4G Keyboard Mouse> at usbus0
ukbd0 on uhub1
ukbd0: <MOSART Semi. 2.4G Keyboard Mouse, class 0/0, rev 1.10/1.02, addr 4> on usbus0
kbd2 at ukbd0
ugen0.6: <Logitech Wireless Receiver> at usbus0
ugen0.7: <Realtek USB 10/100/1000 LAN> at usbus0
Root mount waiting for: usbus0
ugen0.8: <vendor 0x8087 product 0x0a2a> at usbus0
Intel(R) Wireless WiFi based driver for FreeBSD
pchtherm0: <CannonLake-LP Thermal Subsystem> mem 0xa132e000-0xa132efff at device 18.0 on pci0
ig4iic0: <Intel Cannon Lake-LP I2C Controller-2> at device 21.0 on pci0
ig4iic0: Using MSI
iicbus0: <Philips I2C bus (ACPI-hinted)> on ig4iic0
iicbus0: <unknown card> at addr 0x10
iicbus0: <unknown card> at addr 0x2c
ig4iic1: <Intel Cannon Lake-LP I2C Controller-3> at device 21.1 on pci0
ig4iic1: Using MSI
iicbus1: <Philips I2C bus (ACPI-hinted)> on ig4iic1
ig4iic2: <Intel Cannon Lake-LP I2C Controller-4> at device 21.2 on pci0
ig4iic2: Using MSI
iicbus2: <Philips I2C bus (ACPI-hinted)> on ig4iic2
ig4iic3: <Intel Cannon Lake-LP I2C Controller-0> at device 25.0 on pci0
ig4iic3: Using MSI
iicbus3: <Philips I2C bus (ACPI-hinted)> on ig4iic3
iwm0: <Intel(R) Dual Band Wireless AC 7265> mem 0xa1200000-0xa1201fff at device 0.0 on pci1
iwm0: hw rev 0x210, fw ver 22.361476.0, address 8c:c6:81:0a:6f:81
acpi_wmi0: <ACPI-WMI mapping> on acpi0
acpi_wmi0: Embedded MOF found
ACPI: \134_SB.WFDE.WQCC: 1 arguments were passed to a non-method ACPI object (Buffer) (20221020/nsarguments-361)
acpi_wmi1: <ACPI-WMI mapping> on acpi0
acpi_wmi1: Embedded MOF found
ACPI: \134_SB.WFTE.WQCC: 1 arguments were passed to a non-method ACPI object (Buffer) (20221020/nsarguments-361)
lo0: link state changed to UP
ums0 on uhub1
ums0: <MOSART Semi. 2.4G Keyboard Mouse, class 0/0, rev 1.10/1.02, addr 4> on usbus0
ums0: 5 buttons and [XYZT] coordinates ID=3
ums1 on uhub1
ums1: <Logitech Wireless Receiver, class 0/0, rev 1.10/3.02, addr 5> on usbus0
ums1: 5 buttons and [XYZ] coordinates ID=1
ure0 on uhub1
ure0: <Realtek USB 10/100/1000 LAN, class 0/0, rev 2.10/30.00, addr 6> on usbus0
ugen0.8: <vendor 0x8087 product 0x0a2a> at usbus0 (disconnected)
miibus0: <MII bus> on ure0
rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 0 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
ue0: <USB Ethernet> on ure0
ue0: Ethernet address: a0:ce:c8:de:9c:95
ue0: link state changed to DOWN
iichid0: <SYNA3602:00 093A:0255 I2C HID device> at addr 0x2c on iicbus0
iichid0: Interrupt setup failed. Fallback to sampling
hidbus0: <HID bus> on iichid0
ugen0.8: <vendor 0x8087 product 0x0a2a> at usbus0
hms0: <SYNA3602:00 093A:0255 Mouse> on hidbus0
hms0: 2 buttons and [XY] coordinates ID=2
hmt0: <SYNA3602:00 093A:0255 TouchPad> on hidbus0
hconf0: <SYNA3602:00 093A:0255 Configuration> on hidbus0
hmt0: Multitouch touchpad with 2 external buttons, click-pad
hmt0: 5 contacts with [C] properties. Report range [0:0] - [1707:1060]
ng_ubt: HCI command 0x0c03 timed out
ng_ubt: HCI command 0x0c03 timed out
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP

And bsdinstall log is as follows:

DEBUG: Running installation step: script /etc/installerconfig
DEBUG: dialog.subr: DEBUG_SELF_INITIALIZE=[]
DEBUG: UNAME_S=[FreeBSD] UNAME_P=[amd64] UNAME_R=[15.0-CURRENT]
DEBUG: common.subr: Successfully loaded.
DEBUG: /usr/libexec/bsdinstall/script: loading includes...
DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
DEBUG: dialog.subr: loading includes...
DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
DEBUG: strings.subr: Successfully loaded.
DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
DEBUG: variable.subr: loading includes...
DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
DEBUG: variable.subr: New variable VAR_CONFIG_FILE -> configFile
DEBUG: variable.subr: New variable VAR_DEBUG -> debug
DEBUG: variable.subr: New variable VAR_DEBUG_FILE -> debugFile
DEBUG: variable.subr: New variable VAR_DIRECTORY_PATH -> _directoryPath
DEBUG: variable.subr: New variable VAR_DOMAINNAME -> domainname
DEBUG: variable.subr: New variable VAR_EDITOR -> editor
DEBUG: variable.subr: New variable VAR_EXTRAS -> ifconfig_
DEBUG: variable.subr: New variable VAR_FTP_DIR -> ftpDirectory
DEBUG: variable.subr: New variable VAR_FTP_HOST -> ftpHost
DEBUG: variable.subr: New variable VAR_FTP_PASS -> ftpPass
DEBUG: variable.subr: New variable VAR_FTP_PATH -> _ftpPath
DEBUG: variable.subr: New variable VAR_FTP_PORT -> ftpPort
DEBUG: variable.subr: New variable VAR_FTP_STATE -> ftpState
DEBUG: variable.subr: New variable VAR_FTP_USER -> ftpUser
DEBUG: variable.subr: New variable VAR_GATEWAY -> defaultrouter
DEBUG: variable.subr: New variable VAR_GROUP -> group
DEBUG: variable.subr: New variable VAR_GROUP_GID -> groupGid
DEBUG: variable.subr: New variable VAR_GROUP_MEMBERS -> groupMembers
DEBUG: variable.subr: New variable VAR_GROUP_PASSWORD -> groupPassword
DEBUG: variable.subr: New variable VAR_HOSTNAME -> hostname
DEBUG: variable.subr: New variable VAR_HTTP_DIR -> httpDirectory
DEBUG: variable.subr: New variable VAR_HTTP_FTP_MODE -> httpFtpMode
DEBUG: variable.subr: New variable VAR_HTTP_HOST -> httpHost
DEBUG: variable.subr: New variable VAR_HTTP_PATH -> _httpPath
DEBUG: variable.subr: New variable VAR_HTTP_PORT -> httpPort
DEBUG: variable.subr: New variable VAR_HTTP_PROXY -> httpProxy
DEBUG: variable.subr: New variable VAR_HTTP_PROXY_HOST -> httpProxyHost
DEBUG: variable.subr: New variable VAR_HTTP_PROXY_PATH -> _httpProxyPath
DEBUG: variable.subr: New variable VAR_HTTP_PROXY_PORT -> httpProxyPort
DEBUG: variable.subr: New variable VAR_IFCONFIG -> ifconfig_
DEBUG: variable.subr: New variable VAR_IPADDR -> ipaddr
DEBUG: variable.subr: New variable VAR_IPV6ADDR -> ipv6addr
DEBUG: variable.subr: New variable VAR_IPV6_ENABLE -> ipv6_activate_all_interfaces
DEBUG: variable.subr: New variable VAR_KEYMAP -> keymap
DEBUG: variable.subr: New variable VAR_MEDIA_TIMEOUT -> MEDIA_TIMEOUT
DEBUG: variable.subr: New variable VAR_MEDIA_TYPE -> mediaType
DEBUG: variable.subr: New variable VAR_NAMESERVER -> nameserver
DEBUG: variable.subr: New variable VAR_NETINTERACTIVE -> netInteractive
DEBUG: variable.subr: New variable VAR_NETMASK -> netmask
DEBUG: variable.subr: New variable VAR_NETWORK_DEVICE -> netDev
DEBUG: variable.subr: New variable VAR_NFS_HOST -> nfsHost
DEBUG: variable.subr: New variable VAR_NFS_PATH -> nfsPath
DEBUG: variable.subr: New variable VAR_NFS_SECURE -> nfs_reserved_port_only
DEBUG: variable.subr: New variable VAR_NFS_TCP -> nfs_use_tcp
DEBUG: variable.subr: New variable VAR_NFS_V3 -> nfs_use_v3
DEBUG: variable.subr: New variable VAR_NONINTERACTIVE -> nonInteractive
DEBUG: variable.subr: New variable VAR_NO_CONFIRM -> noConfirm
DEBUG: variable.subr: New variable VAR_NO_ERROR -> noError
DEBUG: variable.subr: New variable VAR_NO_INET6 -> noInet6
DEBUG: variable.subr: New variable VAR_PACKAGE -> package
DEBUG: variable.subr: New variable VAR_PKG_TMPDIR -> PKG_TMPDIR
DEBUG: variable.subr: New variable VAR_PORTS_PATH -> ports
DEBUG: variable.subr: New variable VAR_RELNAME -> releaseName
DEBUG: variable.subr: New variable VAR_SLOW_ETHER -> slowEthernetCard
DEBUG: variable.subr: New variable VAR_TRY_DHCP -> tryDHCP
DEBUG: variable.subr: New variable VAR_TRY_RTSOL -> tryRTSOL
DEBUG: variable.subr: New variable VAR_UFS_PATH -> ufs
DEBUG: variable.subr: New variable VAR_USER -> user
DEBUG: variable.subr: New variable VAR_USER_ACCOUNT_EXPIRE -> userAccountExpire
DEBUG: variable.subr: New variable VAR_USER_DOTFILES_CREATE -> userDotfilesCreate
DEBUG: variable.subr: New variable VAR_USER_GECOS -> userGecos
DEBUG: variable.subr: New variable VAR_USER_GID -> userGid
DEBUG: variable.subr: New variable VAR_USER_GROUPS -> userGroups
DEBUG: variable.subr: New variable VAR_USER_GROUP_DELETE -> userGroupDelete
DEBUG: variable.subr: New variable VAR_USER_HOME -> userHome
DEBUG: variable.subr: New variable VAR_USER_HOME_CREATE -> userHomeCreate
DEBUG: variable.subr: New variable VAR_USER_HOME_DELETE -> userHomeDelete
DEBUG: variable.subr: New variable VAR_USER_LOGIN_CLASS -> userLoginClass
DEBUG: variable.subr: New variable VAR_USER_PASSWORD -> userPassword
DEBUG: variable.subr: New variable VAR_USER_PASSWORD_EXPIRE -> userPasswordExpire
DEBUG: variable.subr: New variable VAR_USER_SHELL -> userShell
DEBUG: variable.subr: New variable VAR_USER_UID -> userUid
DEBUG: variable.subr: New variable VAR_ZFSINTERACTIVE -> zfsInteractive
DEBUG: variable.subr: VARIABLE_SELF_INITIALIZE=[1]
DEBUG: f_variable_set_defaults: Initializing defaults...
DEBUG: f_getvar: var=[debug] value=[1] r=0
DEBUG: f_getvar: var=[editor] value=[/usr/bin/ee] r=0
DEBUG: f_getvar: var=[ftpState] value=[auto] r=0
DEBUG: f_getvar: var=[ftpUser] value=[ftp] r=0
DEBUG: f_getvar: var=[hostname] value=[] r=0
DEBUG: f_getvar: var=[MEDIA_TIMEOUT] value=[300] r=0
DEBUG: f_getvar: var=[nfs_reserved_port_only] value=[NO] r=0
DEBUG: f_getvar: var=[nfs_use_tcp] value=[NO] r=0
DEBUG: f_getvar: var=[nfs_use_v3] value=[YES] r=0
DEBUG: f_getvar: var=[PKG_TMPDIR] value=[/var/tmp] r=0
DEBUG: f_getvar: var=[releaseName] value=[15.0-CURRENT] r=0
DEBUG: f_variable_set_defaults: Defaults initialized.
DEBUG: variable.subr: Successfully loaded.
DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[C.UTF-8]
DEBUG: dialog.subr: DIALOG_SELF_INITIALIZE=[1]
DEBUG: f_dialog_init: ARGV=[/etc/installerconfig] GETOPTS_STDARGS=[dD:SX]
DEBUG: f_dialog_init: SECURE=[] USE_XDIALOG=[]
DEBUG: f_dialog_init: dialog(1) API initialized.
DEBUG: dialog.subr: Successfully loaded.
DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
DEBUG: Began Installation at Mon Nov 13 06:36:11 UTC 2023
Split installerconfig
Set DISTRIBUTIONS
Scriptedpart
PARTITIONS="nda0 gpt { 200M efi, 804G freebsd-ufs /, 128G freebsd-swap }"

Best regards
---
Kazuhiko Kiriyama