FS#13162 - [policykit] usb mounting IsCallerPriviliged failed
Attached to Project:
Arch Linux
Opened by Lone_Wolf (Lone_Wolf) - Sunday, 08 February 2009, 15:21 GMT
Last edited by Jan de Groot (JGC) - Sunday, 08 November 2009, 22:25 GMT
Opened by Lone_Wolf (Lone_Wolf) - Sunday, 08 February 2009, 15:21 GMT
Last edited by Jan de Groot (JGC) - Sunday, 08 November 2009, 22:25 GMT
|
Details
On mounting any external usb drive/memorystick KDE gives
this error :
An error occured when accessing xxxx , the system responded org.freedesktop.Hal.Device.Volume.UnknownFailure: IsCallerPrivileged() failed User is in storage group, drives work fine on other os, pmount also fails. Attached are DMESG output and a screenshot of the error from KDE dolphin. packages : hal 0.5.11-7 policykit 0.9-7 policykit-kde 4.2.0-1 The problem is also mentioned in FS #12126 and in 2 forum threads forum : http://bbs.archlinux.org/viewtopic.php?id=59036 http://bbs.archlinux.org/viewtopic.php?id=59017 |
This task depends upon
Closed by Jan de Groot (JGC)
Sunday, 08 November 2009, 22:25 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.5.13-3 (testing)
Sunday, 08 November 2009, 22:25 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.5.13-3 (testing)
I originally set severity to high, because there didn't seem to be a workaround.
Feel free to lower the severity.
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">
<!-- See the manual page PolicyKit.conf(5) for file format -->
<config version="0.1">
<match action="org.freedesktop.hal.storage.mount-removable">
<return result="yes" />
</match>
<match action="org.freedesktop.hal.storage.eject-removable">
<return result="yes" />
</match>
<match action="org.freedesktop.hal.storage.mount-fixed">
<return result="yes"/>
</match>
<match action="hal-storage-mount-fixed-extra-options">
<return result="yes"/>
</match>
<match action="hal-storage-mount-removable-extra-options">
<return result="yes"/>
</match>
</config>
"failed to execute login command" and relogin
Program can not remember the set. No value can not be set. Program either crashes or stops responding
in .xinitrc
exec ck-launch-session xfce4-session
I have only one message from console: polkit-read-auth-helper: needs to be setgid policykit
OLD
exec startkde
NEW
exec ck-launch-session startkde
Added to wiki HAL page, http://wiki.archlinux.org/index.php/HAL#Automounting_fails_with_.22IsCallerPrivileged_failed.22_message
I am donwgrade to hal-0.5.11-4
pacman -U /var/cache/pacman/pkg/hal-0.5.11-4-i686.pkg.tar.gz
and it work fine.
http://bbs.archlinux.org/viewtopic.php?id=65070
I fixed my mount issue with the Policykit fix but my "shutdown/reboot" still wont work unless I use the terminal commands of: "sudo poweroff" or "sudo reboot -n".
by adding this to the Policykit.conf (as well as the tip from the HAL wiki page for mounting):
<match action="org.freedesktop.hal.power-management.shutdown">
<return result="yes"/>
</match>
<match action="org.freedesktop.hal.power-management.reboot">
<return result="yes"/>
</match>
<match action="org.freedesktop.hal.power-management.shutdown">
<return result="yes"/>
</match>
<match action="org.freedesktop.hal.power-management.reboot">
<return result="yes"/>
</match>
fixes the shutdown/reboot problem, and that
<match action="org.freedesktop.hal.storage.*">
<return result="yes"/>
</match>
<match action="hal-storage-mount-fixed-extra-options"> <!-- for internal devices mounted with extra options like a wished mount point -->
<return result="yes" />
</match>
<match action="hal-storage-mount-removable-extra-options"> <!-- for external devices mounted with extra options like a wished mount point -->
<return result="yes" />
</match>
will fix the device mounting issue
However several other errors are described in the comments and it is unclear if they have been solved.
Since the bug has not assignee (yet), i am not sure how to continue.