Hello, automounting does still not work with a fresh install of halevt.
--- Unmodified version of PolicyKit.conf --- r...@kinakuta:/# cat /etc/PolicyKit/PolicyKit.conf <?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"> </config> --- snip --- The halevt user is still missing org.freedesktop.hal.storage.mount-removable --- polkit-auth for halevt --- r...@kinakuta:/# su halevt hal...@kinakuta:~$ groups plugdev hal...@kinakuta:/$ polkit-auth org.freedesktop.hal.device-access.cdrom org.freedesktop.hal.device-access.floppy org.freedesktop.hal.device-access.joystick org.freedesktop.hal.device-access.mouse org.freedesktop.hal.device-access.video --- snip --- This basically means that halevt does not have the right to mount removable media. --- snip --- hal...@kinakuta:~$ halevt-mount -u /org/freedesktop/Hal/devices/volume_uuid_XXXX_XXXX -o sync -m 002 Mount error for /org/freedesktop/Hal/devices/volume_uuid_XXXX_XXXX: DBus Error org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.mount-removable no <-- (action, result) --- snip --- The patch is still the same. I provide it here so others can apply it easily. --- snip --- --- PolicyKit.conf | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/PolicyKit.conf b/PolicyKit.conf index 581dd9c..a10ae75 100644 --- a/PolicyKit.conf +++ b/PolicyKit.conf @@ -6,4 +6,9 @@ <!-- See the manual page PolicyKit.conf(5) for file format --> <config version="0.1"> + <match action="org.freedesktop.hal.storage.mount-removable"> + <match user="halevt"> + <return result="yes"/> + </match> + </match> </config> -- 1.6.3.3 --- snip --- With this modification halevt automounting works: --- snip --- hal...@kinakuta:~$ polkit-auth org.freedesktop.hal.storage.mount-removable org.freedesktop.hal.device-access.cdrom org.freedesktop.hal.device-access.floppy org.freedesktop.hal.device-access.joystick org.freedesktop.hal.device-access.mouse org.freedesktop.hal.device-access.video hal...@kinakuta:~$ halevt-mount -u /org/freedesktop/Hal/devices/volume_uuid_XXXX_XXXX -o sync -m 002 hal...@kinakuta:~$ --- snip --- I don't really know why it works for the other poster (especially in the light of #528770) but patches for both bugs are available and should be applied to halevt. with kind regards Wolodja Wentland
signature.asc
Description: Digital signature