Bug 269827 - bhyve doesn't mount VirtFS/9p
Summary: bhyve doesn't mount VirtFS/9p
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bhyve (show other bugs)
Version: 13.1-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-virtualization (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-25 20:22 UTC by iron.udjin
Modified: 2023-03-06 13:26 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iron.udjin 2023-02-25 20:22:44 UTC
OS: 13.2-STABLE 13-n254681-44a6088278ea

I'm trying to setup net/wifibox and hit problem that bhyve VM doesn't mount VirtFS/9p with config files directories. Here is more detailed info regarding the issue: https://github.com/pgj/freebsd-wifibox/issues/45

Tell me please, how can I debug this issue further?

Thank you!
Comment 1 Gabor Pali freebsd_committer freebsd_triage 2023-03-04 21:45:15 UTC
We were able to analyze the issue and the conclusion was that this happens because the submitter did not compile the kernel and the world with Capsicum support.  Looks like `bhyve` cannot work properly with VirtFS/9P if Capsicum is not present.
Comment 2 iron.udjin 2023-03-04 21:49:21 UTC
Yes, bhyve doesn't mount VirtFS/9P if Capsicum is not enabled in kernel. The weird thing that bhyve doesn't complain on it in log.

The problem is solved, let's close this issue.
Comment 3 Gabor Pali freebsd_committer freebsd_triage 2023-03-04 21:53:29 UTC
I do not think this ticket should be closed.  It is clearly a problem -- `bhyve` should either notify the user about this shortcoming or be able to function without Capsicum enabled.
Comment 4 iron.udjin 2023-03-04 21:55:14 UTC
Ok, agree. It's leave it opened.