I wanted to run VirtualBox, which is installed in the global zone, from a sparse zone in Solaris 10. The zone inherits the /opt directory, it inherits the /dev/vboxdrv (as specified in VBox documentation). VirtualBox seems to work but as soon as I try to start an existing virtual machine a popup with the following message appears:
VirtualBox kernel driver cannot be opened.
VBox status code: -1911 (VERR_VM_DRIVER_OPEN_ERROR).
Result Code: 0x80004005
Component: Console
Interface: IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
I also discovered that running it from the zone and after this error is produces, it seems to screw something up and VBox doesn't run even in the global zone. A reboot fixes it.
Any hint about this? Isn't it possible to run VBox from a sparse Solaris 10 zone?