| Summary: | Failed to install the Extension Pack in Virtualbox because no polkit authentication agent was running | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Manuel Hiebel <manuel.mageia> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | devil_inside, mageia, misc, pterjan |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | virtualbox-4.0.6-2.mga1.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Manuel Hiebel
2011-04-30 22:12:25 CEST
It should invoke a polkit dialogue to authenticate as root; this is what happened here, and the ext pack was installed successfully. It looks like you're running VirtualBox as root, "you should never run VirtualBox as root", c.f. http://www.virtualbox.org/ticket/8473 No, it was in single user. before updating to 4.0.6 I had 4.0.4 version site (MDV) of oracle. I noticed that I did not /usr/bin/virtualbox but /usr/bin/VirtualBox is it maybe that? With installing gksu it's works. "polkit dialogue to authenticate as root" is that the pop-up of the MCC ? it should work with that then :/ Actually no, the authentication method I am talking about is polkit, not gksu. You need to have a polkit authentication agent running. Which DE/window manager are you using? I use gnome (upgrade from mdv) I don't know what is the polkit authentification, but the pop-up of the mcc works mcc authentication doesn't use polkit, it uses consolehelper. GNOME has polkit-gnome, and /usr/lib*/polkit-gnome-authentication-agent-1 should be running by default. What's the output of: ps aux | grep polkit rpm -qa | grep polkit ok for the mcc [manu@vosdook ~]$ ps aux | grep polkit root 1010 0.0 0.0 186228 3672 ? Sl 00:55 0:00 /usr/lib64/polkit-1/polkitd manu 24029 0.0 0.0 17060 864 pts/2 S+ 01:49 0:00 grep --color polkit [manu@vosdook ~]$ rpm -qa | grep polkit polkit-gnome-0.101-1.mga1 polkit-0.101-1.mga1 lib64polkit1_0-0.101-1.mga1 lib64polkit-qt-core-1_1-0.99.0-1.mga1 lib64polkit2-0.9-8.mga1 Which display manager is used? 'cat /etc/sysconfig/desktop' , if it's not GDM, then that might be the problem. With current polkit-gnome they've removed the autostart .desktop file from /etc/xdg/autostart, and now there's only use /usr/share/gdm/autostart/LoginWindow/polkit-gnome-authentication-agent-1.desktop which is included in the gdm package.... Which means GNOME users not using GDM are sort of screwed up... IIUC. CC:
(none) =>
mageia, misc, pterjan [root@vosdook ~]# cat /etc/sysconfig/desktop DISPLAYMANAGER=GNOME DESKTOP=LXDE But I usually use GDM. Also tested a new user,with gdm or kdm, I still get the same errors. :/ Maybe I am wrong and GNOME apps know how to invoke polkit-gnome-authentication-agent-1 only when needed, I'll need to test further. To test if having the authentication agent running fixes the issue, as user: /usr/lib64/polkit-gnome-authentication-agent-1 then try installing the ext pack again. "To test if having the authentication agent running fixes the issue, as user: /usr/lib64/polkit-gnome-authentication-agent-1 then try installing the ext pack again." Indeed it's works. Actually /usr/share/gdm/autostart/LoginWindow/polkit-gnome-authentication-agent-1.desktop only pertains to the login window. Right now even with GDM, polkit-gnome-authentication-agent-1 isn't running, and even nautilus can't mount/unmount internal HDD partitions as udev can't use polkit to authenticate without the agent running. This looks like a packaging issue in latest gnome-polkit package, I'm looking into it. Status:
NEW =>
ASSIGNED This should be fixed in the next polkit-gnome package, polkit-gnome-authentication-agent-1 will be autostarted when logging into GNOME. This report is fixed with the next polkit-gnome, as not vbox can authenticate to install the ext pack. Status:
ASSIGNED =>
RESOLVED
Ahmad Samir
2011-05-02 00:34:05 CEST
Summary:
Failed to install the Extension Pack in Virtualbox =>
Failed to install the Extension Pack in Virtualbox because no polkit authentication agent was running thank you to you ahmad ! i have no polkit-gnome installed. also, i have no installed gnome and kde. i use sawfish and i have policykit-1 installed. and what should i do? i have to install it through "sudo VBoxManage extpack install <file>" ? is this true way to install? i did this installation at my job's pc and i have no usb pass-trough in my virtualbox. CC:
(none) =>
devil_inside "i did this installation at my job's pc and i have no usb pass-trough in my virtualbox." yes it's a upstream bug, if am not wrong (and that is not this bug) |