VirtualBox

Opened 9 years ago

Closed 4 years ago

#14174 closed defect (obsolete)

"Effective UID is not root (euid=XXXX egid=XXXX uid=XXXX gid=XXXX) (rc=-10)"

Reported by: FuzzyLittleDuckling Owned by:
Component: other Version: VirtualBox 4.3.28
Keywords: Cc:
Guest type: other Host type: Linux

Description

VirtualBox does not start in Fedora 22 unless run by root, otherwise it gives the following error:

Effective UID is not root (euid=XXXX egid=XXXX uid=XXXX gid=XXXX) (rc=-10)

I have tried reinstalled many times, running with a different user, as well as multiple versions (4.2, multiple variants of 4.3, and even the 5.0 beta), and all of them give the same error. Other people seem to have encountered this problem but none of their solutions (namely, reinstalling) seem to work. This makes VB completely unusable for non-root users.

Change History (5)

comment:1 by Frank Mehnert, 9 years ago

Cannot reproduce. Which VirtulBox package did you install on your Fedora 22 system (exact package name please)?

comment:2 by genterminl, 9 years ago

I'm running 4.3.28 under Gentoo Linux, and have no problems running VirtualBox as a regular user. However, if I try to run "strace VirtualBox" then I get that error. I don't know if this helps with the original problem, or is actually a completely separate issue. To the OP, I would check whether virtualbox is correctly installed SUID. (on Gentoo, that's /usr/lib/virtualbox/VirtualBox, but I don't know what it would be under Fedora.)

comment:3 by Frank Mehnert, 9 years ago

Getting this error if VirtualBox is started with strace is completely normal. strace will run the VirtualBox stub as normal user and that will not work. The hardened stub opens a privileged device (/dev/vboxdrv), then drops all privileges and runs as normal user process. Running as strace-wrapped process, opening the device is not possible.

comment:4 by Frank Mehnert, 9 years ago

Oh, I think it works if you make strace SUID root.

comment:5 by aeichner, 4 years ago

Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use