Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2025 20:15:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 291211] zfsbootcfg(8) and thus bectl(8) broken on recent CURRENT
Message-ID:  <bug-291211-227-Hyn5FAqYtt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291211-227@https.bugs.freebsd.org/bugzilla/>

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

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

--- Comment #9 from Kyle Evans <kevans@freebsd.org> ---
14:07 <@kevans91> bsdimp: @cperciva: fallout from an openzfs merge somewhere,
should be easy to track down... 
                  if you dump the nvlist, you'll notice:
14:07 <@kevans91> posix:bootonce = "zfs:zroot/ROOT/save:"
14:07 <@kevans91> there's a disagreement between the OS_BOOTONCE in userland
vs. loader
14:07 <@kevans91> for loader, it's (correctly) freebsd:bootonce
14:09 <@kevans91> include order fuckery, maybe.  the headers here are pretty
twisty


./lib/libzpool/include/sys/zfs_bootenv_os.h is getting pulled in now before
./include/os/freebsd/zfs/sys/zfs_bootenv_os.h, so the OS_BOOTONCE vendor ends
up being posix instead of freebsd.  I spent a few minutes trying to figure out
a better solution for -I path ordering, but it's turtles all the way down.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291211-227-Hyn5FAqYtt>