[arch-general] HAL issues

Jan de Groot jan at jgc.homeip.net
Fri Feb 13 02:36:12 EST 2009

On Thu, 2009-02-12 at 15:11 -0800, Zack wrote:
> This will likely fix the problem for you. Put this in
> /etc/PolicyKit/PolicyKit.conf and restart hal, /etc/rc.d/hal restart.
> <config version="0.1">
> <match user="yourusername">
>     <match action="org.freedesktop.hal.storage.*">
>         <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>
> </match>
> </config>

Remember that this configuration inside policykit will allow EACH and
EVERY user on your system to do these actions, which is wrong.
There's consolekit for this. Sessions should either be launched via kdm
or gdm which have native consolekit support, or using ck-launch-session
when starting from xinitrc. There's also a pam module that can be used,
but somehow it doesn't always work fine (slim doesn't work with it at

More information about the arch-general mailing list