Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#5151 closed defect (worksforme)

VBox in non-global Zone under-documented at best

Reported by: David Abrahams Owned by:
Component: documentation Version: VirtualBox 3.0.8
Keywords: Cc:
Guest type: Windows Host type: Solaris


The documentation doesn't mention what one needs to do to get the kernel module to load, for example. Until you successfully get the kernel module loaded in the global zone, you're going nowhere. The only way I found to do that was to run VBox from the global zone, which is kind of unsatisfying if you're trying to keep it out of the global zone for security enhancement. If you really intend to support working this way, I think the documentation needs to be tested and fixed up.

Change History (7)

comment:1 by Ramshankar Venkataraman, 15 years ago

The prerequisites documentation for using VirtualBox on Solaris non-global zones is present in section 2.x (Configuring a Zone for Running VirtualBox) of the User Manual.

comment:2 by David Abrahams, 15 years ago

I know where it is in the manual, but it's incomplete. Try taking a fresh install of OpenSolaris and VBox and following exactly those instructions. They don't work.

AFAICT, the kernel module must be installed in the global zone, and you need to do something like run the GUI from the global zone to get the module to load before any of the headless commands will work in the non-global zone. I think there's a way to get the non-global zone to load the kernel module, but I don't know what it is.

comment:3 by Frank Mehnert, 15 years ago

Component: otherdocumentation

comment:4 by Ramshankar Venkataraman, 15 years ago

That looks like the "virtualbox/zoneaccess" service is not running. Check svcs -a | grep -i virtualbox

You should see the "zoneaccess" service online. The installer automatically runs the service, unless you install the IPS/pkg(5) package in which case you need to run /opt/VirtualBox/ (or reboot your system once after installing).

comment:5 by David Abrahams, 15 years ago

disabled       Oct_06   svc:/application/virtualbox/webservice:default
disabled       Oct_06   svc:/application/virtualbox/zoneaccess:default

Okay. But why are those services disabled? I did follow the directions. The logs are pretty unrevealing.

comment:6 by Ramshankar Venkataraman, 15 years ago

Resolution: worksforme
Status: newclosed

The zoneaccess service is enabled on installation, unless explicity it got disabled by some other service. If they 'failed' they would go into maintenance mode and there would be an SMF log indicating some failure, but since it's disabled I presume it got disabled by some other service.

Closing for now, please reopen if problem persist.

comment:7 by David Abrahams, 15 years ago

So before closing as “works for me,” this did you, as I suggested, “try taking a fresh install of OpenSolaris? and VBox and following exactly those instructions” (i.e. the ones in section 2.x?)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use