[Bug 1935856] Re: Virtualbox encounters 'Effective UID is not root' when starting a VM

2021-08-11 Thread Alexandre Horst
In addition, I needed to sudo chmod u+s /usr/lib/virtualbox/VBoxNetAdpCtl too to change network interfaces on the "Host Network Manager". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1935856 Title:

Re: [Bug 1935856] Re: Virtualbox encounters 'Effective UID is not root' when starting a VM

2021-08-01 Thread MarkJBobak
Confirmed! Sergei, I needed to do sudo chmod u+s, *not* sudo chmod g+s. g+s didn't work. On Sat, Jul 31, 2021 at 4:45 PM Sergey Menshikov <1935...@bugs.launchpad.net> wrote: > I confirm that setting suid on VirtualBoxVM mitigates the issue. > sudo chmod g+s /usr/lib/virtualbox/VirtualBoxVM > >

[Bug 1935856] Re: Virtualbox encounters 'Effective UID is not root' when starting a VM

2021-07-31 Thread Sergey Menshikov
I confirm that setting suid on VirtualBoxVM mitigates the issue. sudo chmod g+s /usr/lib/virtualbox/VirtualBoxVM -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1935856 Title: Virtualbox encounters 'E

[Bug 1935856] Re: Virtualbox encounters 'Effective UID is not root' when starting a VM

2021-07-31 Thread Oliver Maurhart
Errm, I don't know what to say. Today I rebooted and tried again... and it worked. o.O ``` $ VBoxManage startvm 92522455-ebd0-4a67-8a38-4ba05ca3fc00 Waiting for VM "92522455-ebd0-4a67-8a38-4ba05ca3fc00" to power on... VM "92522455-ebd0-4a67-8a38-4ba05ca3fc00" has been successfully started. ``` I

Re: [Bug 1935856] Re: Virtualbox encounters 'Effective UID is not root' when starting a VM

2021-07-30 Thread MarkJBobak
Nice. I'm currently away from my computer, but I'll have a look ASAP. Thanks! -Mark On Fri, Jul 30, 2021, 06:41 Oliver Maurhart <1935...@bugs.launchpad.net> wrote: > Add-on: I checked the sources provided at > https://download.virtualbox.org/virtualbox/6.1.22/ and I think the > responsible cod

[Bug 1935856] Re: Virtualbox encounters 'Effective UID is not root' when starting a VM

2021-07-30 Thread Oliver Maurhart
Add-on: I checked the sources provided at https://download.virtualbox.org/virtualbox/6.1.22/ and I think the responsible code snippet is in VirtualBox-6.1.22/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp ``` $ cat -n VirtualBox-6.1.22/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp | grep

[Bug 1935856] Re: Virtualbox encounters 'Effective UID is not root' when starting a VM

2021-07-30 Thread Oliver Maurhart
Hi *, I'm affected by this bug too. What I noticed: When I run ``` $ strace -ff -o VBoxManage.trace VBoxManage startvm 92522455-ebd0-4a67-8a38-4ba05ca3fc00 ``` and check the trace files for any "perm" I see ``` $ grep -i perm VBoxManage.trace.101* ... VBoxManage.trace.10169:openat(AT_FDCWD, "/de

[Bug 1935856] Re: Virtualbox encounters 'Effective UID is not root' when starting a VM

2021-07-13 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: virtualbox (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1935856 Title: