You are not logged in.

#1 2009-05-11 06:54:38

thelastknowngod
Member
Registered: 2008-01-11
Posts: 110

PolicyKit mounting

i have not been able to cleanly unmount devices since the PolicyKit update a few months ago. i know what the fix is supposed to be and ive added it to PolicyKit.conf but im still having issues.

i can mount with thunar and it works fine. trying to eject with thunar and thunar-volman results in an error,

"Failed to eject <device name>.

eject: unable to open `/dev/sdb1'.

here is my PolicyKit.conf file.

<?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">

<!-- <config version="0.1"> -->
<!-- See the manual page PolicyKit.conf(5) for file format -->
<!-- <match action="org.freedesktop.hal.storage.mount-removable">
    <return result="yes" />
</match>
-->
<match user="tlkg">
        <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>

can someone please help?

Offline

#2 2009-05-11 08:26:23

johhnyp
Member
Registered: 2009-05-11
Posts: 3

Re: PolicyKit mounting

Your line:

   <!-- <config version="0.1"> -->

is commenting out the open tag for the config.  If you replace it with

  <config version="0.1">

it should be ok.

Offline

#3 2009-05-15 16:55:58

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: PolicyKit mounting

As a workaround, I have been using the (heavily) patched 'hal-easy' package from AUR which works just fine. You may want to give that a shot, for now.

Offline

#4 2009-05-16 11:55:43

coolaman
Member
From: france
Registered: 2008-07-28
Posts: 34
Website

Re: PolicyKit mounting

Same problem here solved by  using exo-halt

http://aur.archlinux.org/packages.php?ID=17194

Offline

#5 2009-05-16 16:43:04

Anonymo
Member
Registered: 2005-04-07
Posts: 427
Website

Re: PolicyKit mounting

http://hal.freedesktop.org/docs/PolicyK … onf.5.html

ALLOW EVERYTHING

The users "davidz" and "bateman" are allowed to do any action:

       
<match user="davidz|bateman">
  <return result="yes"/>
</match>

Offline

#6 2009-05-23 00:10:58

SomeGuyDude
Member
Registered: 2008-10-09
Posts: 271

Re: PolicyKit mounting

Misfit138 wrote:

As a workaround, I have been using the (heavily) patched 'hal-easy' package from AUR which works just fine. You may want to give that a shot, for now.

Ahahaha AWESOME. Thank you SO much.


And in the midst of such perfection,
I can't help but feel diseased.

Offline

Board footer

Powered by FluxBB