[Bug 276517] disklabel(8) crash

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 22 Jan 2024 09:42:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276517

            Bug ID: 276517
           Summary: disklabel(8) crash
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: dgy@engineer.com

Running the LiveCD option of the "bootonly" iso on an Atom 330 1.6GHz
with 4G of RAM

(I am assuming disklabel(8) executable on "bootonly" media is same as release)

Alter "8 partitions" to reflect "10 partitions", as desired.
Only fully specify 9 of them -- a-i.  Exiting disklabel
complains about j -- which I had not specified (uninitialized
structure member, perhaps?).

Reedit to specify j.  Disklabel(8) complains of stack overflow
and abends.

Return to "8 partitions" and delete the 'i' entry.
Installer complains that 'h' (the 8th entry) has an
invalid type -- dspite being the same (4.2BSD) as
the other non-swap partitions.

Note that resorting to manual partitioning was an expedient as
the installer is really clunky when it comes to this.  (but,
while NetBSD's is much friendlier, it still leaves a lot to
be desired!)

I've not pursued this as it is likely easier for me to
port the package I'm interested in to NetBSD than to
try to ferret out all the differences in FreeBSD since
I left the camp (decades? ago).

[Shout-out to Joerg Wunsch -- if he's still kicking about!]

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