[Bug 254395] bsdinstall: fail script install after BETA3

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 19 Mar 2021 12:50:39 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254395

Ryan Moeller <freqlabs_at_FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freqlabs_at_FreeBSD.org

--- Comment #2 from Ryan Moeller <freqlabs_at_FreeBSD.org> ---
This affects me as well. The install completely fails. I'm even doing EFI
installs: PARTITIONS="zvol/pool/dataset/vol gpt"

I've used this same script quite a lot and it has only started to fail
recently. I noticed yesterday and started looking into it a bit before I got
pulled into something else.

The tarball that fails to be extracted is base.txz (it's the one that contains
./boot/efi). The output on the console shows this as well:

DEBUG: dialog.subr: DEBUG_SELF_INITIALIZE=[]
DEBUG: UNAME_S=[FreeBSD] UNAME_P=[amd64] UNAME_R=[14.0-CURRENT]
DEBUG: common.subr: Successfully loaded.
DEBUG: f_debug_init: ARGV=[mount] GETOPTS_STDARGS=[dD:]
DEBUG: f_debug_init: debug=[1] debugFile=[]
DEBUG: Running installation step: mount
DEBUG: dialog.subr: DEBUG_SELF_INITIALIZE=[]
DEBUG: UNAME_S=[FreeBSD] UNAME_P=[amd64] UNAME_R=[14.0-CURRENT]
DEBUG: common.subr: Successfully loaded.
DEBUG: f_debug_init: ARGV=[checksum] GETOPTS_STDARGS=[dD:]
DEBUG: f_debug_init: debug=[1] debugFile=[]
DEBUG: Running installation step: checksum
DEBUG: Extracting /storage/bhyve/14.0-CURRENT/a771bf748f9/kernel.txz
DEBUG: Extracting /storage/bhyve/14.0-CURRENT/a771bf748f9/kernel-dbg.txz
DEBUG: Extracting /storage/bhyve/14.0-CURRENT/a771bf748f9/base.txz
ERROR: bsdinstall script failed

At this point the script exits, leaving the filesystems mounted even:

/dev/zvol/storage/bhyve/14.0-CURRENT/a771bf748f9/templatep2 on /mnt (ufs,
local, journaled soft-updates)
/dev/zvol/storage/bhyve/14.0-CURRENT/a771bf748f9/templatep1 on /mnt/boot/efi
(msdosfs, local)
devfs on /mnt/dev (devfs)

# cat /tmp/bsdinstall-tmp-fstab
/dev/zvol/storage/bhyve/14.0-CURRENT/a771bf748f9/templatep1     /mnt/boot/efi  
msdosfs rw      2       2
/dev/zvol/storage/bhyve/14.0-CURRENT/a771bf748f9/templatep2     /mnt    ufs    
rw      1       1
# cat /tmp/bsdinstall_etc/fstab
# Device        Mountpoint      FStype  Options Dump    Pass#
/dev/zvol/storage/bhyve/14.0-CURRENT/a771bf748f9/templatep1     /boot/efi      
        msdosfs rw      2       2
/dev/zvol/storage/bhyve/14.0-CURRENT/a771bf748f9/templatep2     /              
ufs     rw      1       1
/dev/zvol/storage/bhyve/14.0-CURRENT/a771bf748f9/templatep3     none           
swap    sw      0       0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Fri Mar 19 2021 - 11:50:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC