I researched for hours why my autostart.cfg does not work for another user on OSX 10.9.1, VBOX 4.3.12.
does not work:
Code: Select all
default_policy = deny
foo-bar = {
allow = true
}
Code: Select all
default_policy = deny
foobar = {
allow = true
}
Code: Select all
default_policy = allow
Edit:
----------------------------------------------------------------------------------------------
I now tested on another Mac with the same behaviour.
Here are the steps for reproduction:
Code: Select all
sudo su
cp /Applications/VirtualBox.app/Contents/MacOS/org.virtualbox.vboxautostart.plist /Library/LaunchDaemons
vim /Library/LaunchDaemons/org.virtualbox.vboxautostart.plistCode: Select all
...
<key>Disabled</key>
--- <true/>
+++ <false/>
<key>Label</key>
...
Code: Select all
mkdir /etc/vbox
vim /etc/vbox/autostart.cfg
Code: Select all
default_policy = deny
foo-bar = {
allow = true
}
Code: Select all
chmod +x /Applications/VirtualBox.app/Contents/MacOS/VBoxAutostartDarwin.sh
chown root:wheel /etc/vbox
chown root:wheel /etc/vbox/autostart.cfg
chown root:wheel /Library/LaunchDaemons/org.virtualbox.vboxautostart.plist
su - foo-bar VBoxManage modifyvm <VM NAME> --autostart-enabled on
su - foo-bar VBoxManage modifyvm <VM NAME> --autostop-type acpishutdown
launchctl load /Library/LaunchDaemons/org.virtualbox.vboxautostart.plist
su - foo-bar VBoxManage list runningvms
Can anyone confirm this bug?
THX