[Bug 294327] bhyve never closes files that were opened by guest virtual machine via 9pfs

[email protected] Tue, 19 May 2026 16:54:47 +0000
Newsgroups gmane.os.freebsd.devel.emulation
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294327

--- Comment #4 from David Marker <[email protected]> ---
I applied the patch to a CURRENT at eebb643bb379.

I definitely hit this bug as I use p9fs to share up /usr/ports to a bhyve
instance I run poudriere in.

But after the patch, poudriere had several errors like:

[00:00:46] Warning: (databases/sqlite3): make: /usr/ports/Mk/bsd.port.mk: Bad
file descriptor
[00:00:46] Warning: (databases/sqlite3): Error: Error looking up dependencies
for databases/sqlite3
[00:00:47] Warning: (devel/air-go): make: /usr/ports/Mk/bsd.options.mk: Bad
file descriptor
[00:00:47] Warning: (devel/air-go): Error: Error looking up dependencies for
devel/air-go

It seems to lose a file descriptor when trying to build. I rolled back to prior
boot env and build was fine.

That is a file *every* other Makefiles includes: "/usr/ports/Mk/bsd.port.mk".
So lots of open / read / close happening in parallel.

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