NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/60956: ramdisk-cgdroot.fs seems to check for /libdata/firmware/ in the ram disk rather than the mounted cgdroot
On Tue, Nov 03, 2026 at 02:35:52PM +0000, Taylor R Campbell wrote:
> This doesn't help. Whether userland does chroot or mounts a pivot
> root or dances the waltz, the kernel doesn't know (a) that instead of
> running config_mountroot hooks as soon as cgdroot.fs is mounted, it
> has to wait for userland to mount the real root; or (b) when userland
> has mounted the real root and it can finally run the config_mountroot
> hooks.
Right, it helps only for drivers that do it at first ifconfig up time
or similar.
For others we could decouple the config_mountroot() and the "hey this
is a good time to (re-)try loading your firmware" event, and then
send that event at config_mountroot() time but also (again) at pivot
time. For chroots we probably don't want to do that for security reasons.
Martin
Home |
Main Index |
Thread Index |
Old Index