The following reply was made to PR misc/60956; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: misc/60956: ramdisk-cgdroot.fs seems to check for
/libdata/firmware/ in the ram disk rather than the mounted cgdroot
Date: Mon, 2 Nov 2026 20:53:35 +0100
This is by design and unavoidable as long as a chroot(1) is used
to set the "real" root.
You have to populate the original mount.
You can create your custom boot filesystem for that, see
https://wiki.netbsd.org/security/custom_cgdroot/
Martin