RHEL 5 unable to auto-mount USB drives

Well, if you’ve managed to find this page, you’re in luck. After searching for and finding a fix to this problem once before, I had it occur again on a different machine. Unfortunately, I hadn’t documented the fix in my own notes, only in an email to my boss which was almost deleted. Figure I should put it up here for myself in the future, as well as for anyone that is not having luck with Google.

The error: a security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface “org.freedesktop.Hal.Device.Volume” member “Mount” error name “(unset)” destination “org.freedesktop.Hal”)

The fix: Open up /etc/dbus-1/system.d/hal.conf and find lines like the following:

 <allow receive_interface="org.freedesktop.Hal.Device.SystemPowerManagement" receive_sender="org.freedesktop.Hal"/>

Now that you found that line (matches exactly) — comment it out, as well as the 3 lines below it that look similar. Do not comment the line that contains just: </policy>

Once done, unplug your usb drive, reboot, login, and then plug it back in. The automounter should pop right up asking what to do with the new drive.