VirtualBox

14 年 前 建立

14 年 前 結束

#8410 closed defect (worksforme)

Failed to load VMMR0.r0

回報者: Duttweiler 負責人:
元件: VMM 版本: VirtualBox 4.0.4
關鍵字: 副本:
Guest type: Windows Host type: Mac OS X

描述

Just after installing the new 4.0.4 version of Vbox, I opened Vbox and intented to start the VM. The Vbox window opened ang shut immediatly, showing the failure notification:

unknown error creating VM (VERR_SUPLIB_WORLD_WRITABLE) with following details: code d'erreur: NS_ERROR_FAILURE (0x80004005) composant: console interface: IConsole {515e8e8d-f932-4d8e-9f32-79a52aead882}

Can you please help me to understand what can have occured, and how to fix it Thaks a lot

附加檔案 (7)

Capture d’écran 2011-02-23 à 09.38.33.png (134.6 KB ) - 14 年 前, 由 Duttweiler 新增
Vbox.log
Résultat de Terminal-110303.txt (177 位元組 ) - 14 年 前, 由 Duttweiler 新增
result of the command in terminal.app
RésulTerminalSudo-110303.txt (301 位元組 ) - 14 年 前, 由 Duttweiler 新增
Capture d’écran 2011-03-03 à 14.02.54.png (63.7 KB ) - 14 年 前, 由 Duttweiler 新增
VBox.log (1.7 KB ) - 14 年 前, 由 Duttweiler 新增
Capture d’écran 2011-03-03 à 14.02.54.jpg (192.1 KB ) - 14 年 前, 由 Duttweiler 新增
translated screenshot
VBox.2.log (1.6 KB ) - 14 年 前, 由 Erik 新增
Log file for VBox in world writable /opt

下載所有附檔: .zip

更動歷史 (28)

14 年 前Duttweiler 編輯

Vbox.log

comment:1 14 年 前Frank Mehnert 編輯

The permissions of the file which is mentioned in the log file (unfortunately you did not attach the log file itself but only a screenshot) are wrong for some reason. You have to make sure that the file is writable only for root.

comment:2 14 年 前Celia Leber 編輯

Hi - I submitted a bug ticket yesterday with the same problem and you replied: This is a duplicate of #8410. Please check the permissions of the /Applications directory -- post the output of /bin/ls -ld /Applications into #8410.

Sorry - I do not know how to do this. Would it be possible for you to give me instructions? I did repair permissions for my hard drive yesterday but that did not solve the problem.

comment:3 14 年 前Michael Thayer 編輯

E-Mail address removed, as the development team have access to the bug tracker database which contains the addresses used for registration.

comment:4 14 年 前Frank Mehnert 編輯

Please open some kind of console. AFAIK the application on OSX is named Terminal.app. In that window type the command I posted above and post the resulting output here.

14 年 前Duttweiler 編輯

result of the command in terminal.app

回覆:  4 comment:5 14 年 前Duttweiler 編輯

Replying to frank:

Please open some kind of console. AFAIK the application on OSX is named Terminal.app. In that window type the command I posted above and post the resulting output here.

I guess the command you posted above was written by Celia. I intented to attach the resulting file, but I don't know if it really works, so I paste the content of the Terminal's screen:

Last login: Thu Mar 3 12:26:55 on ttys000
DDWR:~ DDWR$ /bin/ls -ld /Applications
drwxrwxrwx 80 root admin 2720 27 fév 23:24 /Applications
DDWR:~ DDWR$

comment:6 14 年 前Frank Mehnert 編輯

Right, I wrote that in another related ticket. The permissions of the /Applications directory are wrong, it is writiable by really every user of the system. Please fix the permissions with

chmod o-w /Applications

You must do this as root, it depends on your installation how to do that. Perhaps do this with sudo.

14 年 前Duttweiler 編輯

14 年 前Duttweiler 編輯

回覆:  6 comment:7 14 年 前Duttweiler 編輯

Replying to frank:

Right, I wrote that in another related ticket. The permissions of the /Applications directory are wrong, it is writiable by really every user of the system. Please fix the permissions with

chmod o-w /Applications

You must do this as root, it depends on your installation how to do that. Perhaps do this with sudo.

Thanks, I did that, see enclose the Terminal's answer, and the Applications folder properties (screenshot) after this action: this folder is now 'read only' for everyone.

Do you think it was the only (or principal) reason for the defect ? ... because I now hesitate to re-install the version 4.0.4 [[BR]] Actually after the failure, I have noticed that the Vbox folder had moved from the /library dir to my user's folder, and I guessed the new version didn't found the original path.
So I uninstalled Vbox, and re-installed the older version 3.2.12, which works very well. Perharps the /applications'permissions didn't matter for that version ? I hope I won't have to re-install Windows on my VM [[BR]] Thanks for your comments

14 年 前Duttweiler 編輯

附檔: 新增 VBox.log

回覆:  1 comment:8 14 年 前Duttweiler 編輯

Replying to frank:

The permissions of the file which is mentioned in the log file (unfortunately you did not attach the log file itself but only a screenshot) are wrong for some reason. You have to make sure that the file is writable only for root.

I'm sorry, intenting to answer your post, I didn't succeed emailing you, and created a new (wrong) ticket #10050 with the file Vbox.log enclosed
Perharps it's quite late now, but I send it to you !

comment:9 14 年 前Frank Mehnert 編輯

Sorry, I don't understand the french screenshot. Please could you just make sure that the /Applications directory is not writable by others?

14 年 前Duttweiler 編輯

translated screenshot

回覆:  9 comment:10 14 年 前Duttweiler 編輯

Replying to frank:

Sorry, I don't understand the french screenshot. Please could you just make sure that the /Applications directory is not writable by others?

Normally it's done as you can see on the translated screenshot enclosed

comment:11 14 年 前Frank Mehnert 編輯

Yes, but the screenshot shows the permission of the '/' directory, not the '/Applications' directory, right?

回覆:  4 comment:12 14 年 前Celia Leber 編輯

Replying to frank:

Please open some kind of console. AFAIK the application on OSX is named Terminal.app. In that window type the command I posted above and post the resulting output here.

Thanks for the explanation. Here's what I got: drwxrwxrwx+ 62 root admin 2108 Mar 2 16:36 /Applications

I assume this is wrong, based on your reply to ddwr, but I don't know how to change it. Can you explain please? Thanks!

comment:13 14 年 前Frank Mehnert 編輯

Please could you read the comments above? I really don't write to repeat myself.

回覆:  13 comment:14 14 年 前Duttweiler 編輯

Replying to frank:

Please could you read the comments above? I really don't write to repeat myself.

Yes I've red all, and done again what Celia repeated, and now I got:
drwxrwxr-x 81 root admin 2754 3 mar 14:52 /Applications
and I think that the last xr-x instead of former xrwx means that now the '/Applications' is not writable by others.
This is confirmed by the my screenshot in which the permissions of the '/Applications' directory were showned ("Où: /" means "where: /", i.e. the path)

回覆:  4 comment:15 14 年 前Celia Leber 編輯

Replying to frank:

Please open some kind of console. AFAIK the application on OSX is named Terminal.app. In that window type the command I posted above and post the resulting output here.

I read about sudo commands in the missing manual for mac OS and figured out how to change the permission as you suggested. Now I am all set. Thanks!!!!

comment:16 14 年 前Erik 編輯

This problem also exists on Linux with VirtualBox installed in /opt My /opt is world writable - I can temporarily use chmod o-w /opt whenever I need to run a VM and chmod o+w /opt when I'm done, but it's going to get annoying pretty fast.

14 年 前Erik 編輯

附檔: 新增 VBox.2.log

Log file for VBox in world writable /opt

comment:17 14 年 前Frank Mehnert 編輯

Again, this is a security issue. If you allow /opt to be writable for everyone then everyone can overwrite the VBoxVMM.r0 library and can penetrate the system. Therefore this check.

comment:18 14 年 前Erik 編輯

VBoxVMM.r0 is not in /opt, it's in /opt/VirtualBox, which has 755 permissions. Afaik that should be enough to prevent unauthorised access.

comment:19 14 年 前Frank Mehnert 編輯

Because /opt is writable for every user, a malicious user could rename /opt/VirtualBox to /opt/VirtualBox.old, copy /opt/VirtualBox.old to /opt/VirtualBox and then modify the content of /opt/VirtualBox. Sorry, we better play safe here.

comment:20 14 年 前Erik 編輯

Okay, hadn't thought of that. I'll look into changing my habits to not require an o+w /opt :-)

comment:21 14 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: worksforme
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette