Bug 276872

Summary: Error while extracting /usr/libexec/bsdinstall/auto:: Failed to open
Product: Base System Reporter: Cheng Cui <cc>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: brd, jrtc27, markj
Priority: ---    
Version: 15.0-CURRENT   
Hardware: Any   
OS: Any   

Description Cheng Cui freebsd_committer freebsd_triage 2024-02-07 16:35:36 UTC
Hit this error while I am trying to install a new FreeBSD 15-current VM from vm-bhyve, by using the 2024-Feb-01 ISO image FreeBSD-15.0-CURRENT-amd64-20240201-2c191ba6b0b5-267921-disc1.iso. The console shows:

Extract Error:
Error while extracting
/usr/libexec/bsdinstall/auto:: Failed to open
'/usr/freebsd-dist//usr/libexec/bsdinstall/auto:'

This happens after selecting "Auto (ZFS) Guided Root-on-ZFS" or "Auto (UFS) Guided UFS Disk Setup".

I guess the double slashes "//" somewhere caused the problem?
Comment 1 Cheng Cui freebsd_committer freebsd_triage 2024-02-07 19:04:21 UTC
(In reply to Cheng Cui from comment #0)
Downloaded the ISO built on 2024-Jan-18 FreeBSD-15.0-CURRENT-amd64-20240118-7a4d1d1df0b2-267640-disc1.iso and installed it. No such issue from there.

Thus I add Brad Davis <brd@FreeBSD.org> in the CC list, as I suspect the commit 009d3f66cb5f0cf3f1d353f311d3a6878b2a534e on Jan 26 for bsdinstall/scripts/auto may have something to do with it.
Comment 2 Mark Johnston freebsd_committer freebsd_triage 2024-02-09 20:01:38 UTC
Jessica, is this possibly related to your bsdinstall fixes from earlier this month?
Comment 3 Jessica Clarke freebsd_committer freebsd_triage 2024-02-09 20:31:25 UTC
Yes. This is one of the things I fixed; specifically 7143521f4cbc253884a001e9512920a8fe067837 reverts the problematic commit.