Opened 5 years ago
Last modified 5 years ago
#19706 closed defect
MacOS hosts no longer able to run VBoxHeadless as of 6.0.18 and 6.1.4 — at Version 3
Reported by: | myshell | Owned by: | paulson |
---|---|---|---|
Component: | guest control | Version: | VirtualBox 6.1.4 |
Keywords: | Cc: | ||
Guest type: | all | Host type: | Mac OS X |
Description (last modified by )
It is impossible to launch a VM in headless mode because of a problem of setugid which is not allowed.
It works fine with VirtualBox 6.1.2 but not with the following versions.
The error message seen is:
$ /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless -s solaris Oracle VM VirtualBox Headless Interface 6.1.4 (C) 2008-2020 Oracle Corporation All rights reserved.
2020-07-24 09:40:25.798 VBoxHeadless[2026:18559] The application with bundle ID org.virtualbox.app.VirtualBox is running setugid(), which is not allowed.
Change History (4)
comment:1 by , 5 years ago
Status: | new → awaitsfeedback |
---|
comment:2 by , 5 years ago
I tried the 3 ways, they all failed
$ VBoxHeadless -s Buster Oracle VM VirtualBox Headless Interface 6.1.10 (C) 2008-2020 Oracle Corporation All rights reserved.
2020-07-09 09:54:39.267 VBoxHeadless[28189:26305689] The application with bundle ID org.virtualbox.app.VirtualBox is running setugid(), which is not allowed.
comment:3 by , 5 years ago
Description: | modified (diff) |
---|---|
Owner: | set to |
Status: | awaitsfeedback → accepted |
Summary: | MacOS Mojave and VboxHeadless → MacOS hosts no longer able to run VBoxHeadless as of 6.0.18 and 6.1.4 |
Version: | VirtualBox 6.1.10 → VirtualBox 6.1.4 |
This is related to the VirtualBox hardened runtime which I didn't run into since this Mac system has System Integrity Protection (SIP) disabled. Once I re-enabled SIP I was able to reproduce the problem and have a fix in progress. This issue was introduced in VirtualBox 6.0.18 and 6.1.4.
Can you provide further details about the issue you are seeing? Which method are you using to start your headless VM? The manual (https://www.virtualbox.org/manual/ch07.html) explains there are several ways to start a headless VM:
I am able to launch a headless VM using VirtualBox 6.1.10 on Mojave using all of the above methods so there must be something different about your setup.
Can you try the 'VBoxHeadless' command above and include any error messages seen? Can you also attach a VBox.log from a failed instance to start the VM in headless mode?