LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > MTK358
User Name
Password

Notices


Rate this Entry

How to fix Arch Linux file manager mounting error

Posted 04-04-2010 at 09:47 AM by MTK358

When you plug in a removable storage device in your Arch box and get an error dialog with some kind of errors about HAL when you try mounting it with your favorite file manager, this should fix your problems:

First, edit "/etc/dbus-1/system.d/hal.conf".

Code:
vim /etc/dbus-1/system.d/hal.conf
You can obviously use whatever your favorite editor is in place of vim.

Now find something that looks like this in the file:

Code:
<policy context="default">
    <allow send_destination="org.freedesktop.Hal"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <allow send_destination="org.freedesktop.Hal"
           send_interface="org.freedesktop.DBus.Properties" />

    <allow send_destination="org.freedesktop.Hal"
           send_interface="org.freedesktop.Hal.Device"/>
    <allow send_destination="org.freedesktop.Hal"
           send_interface="org.freedesktop.Hal.Manager"/>
  </policy>
Make sure that the block starts with the line "<policy context="default">". Now add in the part highlighted in bold. It probably doesn't matter where you put it, though, as long as it's within the "<policy context="default"> ... </policy>" block and NOT within another <allow ... /> block:

Code:
<policy context="default">
    <allow send_destination="org.freedesktop.Hal"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <allow send_destination="org.freedesktop.Hal"
           send_interface="org.freedesktop.DBus.Properties" />

    <allow send_destination="org.freedesktop.Hal"
           send_interface="org.freedesktop.Hal.Device.Volume"/>

    <allow send_destination="org.freedesktop.Hal"
           send_interface="org.freedesktop.Hal.Device"/>
    <allow send_destination="org.freedesktop.Hal"
           send_interface="org.freedesktop.Hal.Manager"/>
  </policy>
Save the modified file and restart the HAL daemon:

Code:
/etc/rc.d/hal restart
It should work now!
Posted in Uncategorized
Views 3623 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 10:49 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration