Ok, depois de uma atualização no Opensuse Leap 15, notei que o virtualbox parou de funcionar, então eu o removi e tentei executar a instalação do VirtualBox novamente com o comando:
sudo zypper in -f virtualbox
Ele me diz que esses pacotes seriam instalados ao longo dele:
virtualbox virtualbox-host-kmp-default virtualbox-qt
Ok, continuo o processo de instalação, tudo é baixado sem preocupações, mas recebo esse erro de saída:
/usr/lib/virtualbox/VirtualBox: will not give away s-bits on an insecure path ERROR: not all operations were successful. setting /usr/lib/virtualbox/VirtualBox to root:vboxusers 4750. (wrong permissions 0750) /usr/lib/virtualbox/VBoxSDL: will not give away s-bits on an insecure path ERROR: not all operations were successful. setting /usr/lib/virtualbox/VBoxSDL to root:vboxusers 4750. (wrong permissions 0750) warning: %post(virtualbox-qt-5.2.18-lp150.4.17.1.x86_64) scriptlet failed, exit status 1
E quando tento executar o Virtualbox após a instalação, obtenho:
Effective UID is not root (euid=1000 egid=100 uid=1000 gid=100) (rc=-10)
Please try reinstalling VirtualBox.
where: SUPR3HardenedMain what: 2 VERR_PERMISSION_DENIED (-10) - Permission denied.
Ah, só fyi, meu usuário normal faz parte do grupo vboxusers.
Quando tentei executar como root, recebi esta saída:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' qt.qpa.screen: QXcbConnection: Could not connect to display Could not connect to any X display. Unable to init server: Não foi possível conectar: Conexão recusada Não foi possível abrir a tela: VirtualBox: Error -610 in supR3HardenedMainInitRuntime! VirtualBox: dlopen("/usr/lib/virtualbox/VBoxRT.so",) failed:
VirtualBox: Tip! It may help to reinstall VirtualBox.
As permissões do diretório Vbox com ls -l /usr/lib/virtualbox/
são:
ls -l /usr/lib/virtualbox/ total 42336 drwxr-xr-x 1 root root 246 out 24 08:36 components -rw-r--r-- 1 root root 403136 set 22 08:54 DbgPlugInDiggers.so -rw-r--r-- 1 root root 27136 set 22 08:54 VBoxAuthSimple.so -rw-r--r-- 1 root root 10464 set 22 08:54 VBoxAuth.so -rwxr-xr-x 1 root root 118160 set 22 08:54 VBoxAutostart -rwxr-xr-x 1 root root 167776 set 22 08:54 VBoxBalloonCtrl -rwxr-xr-x 1 root root 1472 set 22 08:52 VBoxCreateUSBNode.sh -rw-r--r-- 1 root root 167000 set 22 08:54 VBoxDbg.so -rw-r--r-- 1 root root 736 set 22 08:52 VBoxDD2R0.r0 -rw-r--r-- 1 root root 528 set 22 08:52 VBoxDD2RC.rc -rw-r--r-- 1 root root 358432 set 22 08:54 VBoxDD2.so -rw-r--r-- 1 root root 228312 set 22 08:52 VBoxDDR0.r0 -rw-r--r-- 1 root root 182568 set 22 08:52 VBoxDDRC.rc -rw-r--r-- 1 root root 1879240 set 22 08:54 VBoxDD.so -rw-r--r-- 2 root root 430680 set 22 08:54 VBoxDDU.so -rw-r--r-- 1 root root 35192 set 22 08:54 VBoxDragAndDropSvc.so -rwxr-xr-x 1 root root 15780 set 22 08:52 vboxdrv.sh -rwxr-xr-x 1 root root 10624 set 22 08:54 VBoxDTrace -rwxr-xr-x 1 root root 2097152 set 22 08:52 VBoxEFI32.fd -rwxr-xr-x 1 root root 2097152 set 22 08:52 VBoxEFI64.fd -rwxr-xr-x 1 root root 60880 set 22 08:54 VBoxExtPackHelperApp -rw-r--r-- 1 root root 18720 set 22 08:54 VBoxGuestControlSvc.so -rw-r--r-- 1 root root 35296 set 22 08:54 VBoxGuestPropSvc.so -rwxr-x--- 1 root vboxusers 158352 set 22 08:54 VBoxHeadless -rw-r--r-- 1 root root 97248 set 22 08:54 VBoxHeadless.so -rw-r--r-- 1 root root 18576 set 22 08:54 VBoxHostChannel.so -rw-r--r-- 1 root root 70128 set 22 08:54 VBoxKeyboard.so -rwxr-xr-x 1 root root 1093912 set 22 08:54 VBoxManage -rwxr-x--- 1 root vboxusers 27280 set 22 08:54 VBoxNetAdpCtl -rwxr-x--- 1 root vboxusers 158352 set 22 08:54 VBoxNetDHCP -rw-r--r-- 1 root root 130744 set 22 08:54 VBoxNetDHCP.so -rwxr-xr-x 1 root vboxusers 158344 set 22 08:54 VBoxNetNAT -rw-r--r-- 1 root root 282856 set 22 08:54 VBoxNetNAT.so -rw-r--r-- 1 root root 196432 set 22 08:54 VBoxOGLhostcrutil.so -rw-r--r-- 1 root root 156624 set 22 08:54 VBoxOGLhosterrorspu.so -rw-r--r-- 1 root root 172680 set 22 08:54 VBoxOGLrenderspu.so -rwxr-xr-x 1 root vboxusers 10488 set 22 08:54 VBoxPermissionMessage -rw-r--r-- 2 root root 776488 set 22 08:54 VBoxREM.so -rw-r--r-- 2 root root 2994312 set 22 08:54 VBoxRT.so -rwxr-x--- 1 root vboxusers 158344 set 22 08:54 VBoxSDL -rw-r--r-- 1 root root 167456 set 22 08:54 VBoxSDL.so -rw-r--r-- 1 root root 47688 set 22 08:54 VBoxSharedClipboard.so -rw-r--r-- 1 root root 1100776 set 22 08:54 VBoxSharedCrOpenGL.so -rw-r--r-- 1 root root 39472 set 22 08:54 VBoxSharedFolders.so -rwxr-xr-x 1 root root 121911 set 22 08:52 vboxshell.py -rwxr-xr-x 1 root root 6579840 set 22 08:54 VBoxSVC -rwxr-xr-x 1 root root 4163 set 22 08:52 VBoxSysInfo.sh -rwxr-xr-x 1 root root 96984 set 22 08:54 VBoxTestOGL -rwxr-xr-x 1 root root 10520 set 22 08:54 VBoxTunctl -rwxr-xr-x 1 root vboxusers 10512 set 22 08:54 VBoxUSB_DevRules -rw-r--r-- 1 root root 10528 set 22 08:54 VBoxVMMPreload.so -rw-r--r-- 2 root root 3577688 set 22 08:54 VBoxVMM.so -rwxr-xr-x 1 root root 10512 set 22 08:54 VBoxVolInfo -rw-r--r-- 1 root root 43720 set 22 08:54 VBoxXPCOMC.so -rwxr-xr-x 1 root root 27376 set 22 08:54 VBoxXPCOMIPCD -rw-r--r-- 2 root root 1130784 set 22 08:54 VBoxXPCOM.so -rws--x--x 1 root vboxusers 158344 set 22 08:54 VirtualBox -rw-r--r-- 1 root root 11855816 set 22 08:54 VirtualBox.so -rw-r--r-- 1 root root 1806464 set 22 08:52 VMMR0.r0 -rw-r--r-- 1 root root 1437324 set 22 08:52 VMMRC.rc
O comando grep SECURITY / etc / sysconfig / security Produz isto:
PERMISSION_SECURITY="easy local"
Eu preciso do VirtualBox para o trabalho, já tenho uma máquina virtual de backup, mas eu não quero formatar e reinstalar o opensuse novamente. Alguém sabe como proceder para que funcione? Agradecemos antecipadamente;
John
Tags virtualbox opensuse zypper