On 12/29/06, Ryan Sims <[EMAIL PROTECTED]> wrote:
On 10/2/06, Alexander Skwar <[EMAIL PROTECTED]> wrote:

[snip]

> I've got a /media directory. When I try to manually mount the
> CD using hal and gnome-mount, I get:
>
> [EMAIL PROTECTED] ~ $ gnome-mount 
--hal-udi=/org/freedesktop/Hal/devices/volume_label_NEW --text --verbose
> gnome-mount 0.4
> ** (gnome-mount:26113): DEBUG: Mounting 
/org/freedesktop/Hal/devices/volume_label_NEW
> ** (gnome-mount:26113): DEBUG: Mounting 
/org/freedesktop/Hal/devices/volume_label_NEW with mount_point='NEW', fstype='', 
num_options=1
> ** (gnome-mount:26113): DEBUG:   option='uid=1000'
>
> ** (gnome-mount:26113): WARNING **: Mount failed for 
/org/freedesktop/Hal/devices/volume_label_NEW
> org.freedesktop.DBus.Error.AccessDenied : 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")
>
> When I run the gnome-mount command as roót, the CD gets mounted just
> fine.

Exact same problem here, also a new install, but it's amd64 and I
don't have much keyworded.  I checked to be sure, I'm in the plugdev
group.  I found a few posts around the web (not gentoo) by googling,
nothing helpful, and apparently nothing in the gentoo forums.

I see this is a couple months old, is there a solution out there?

Hate to reply to myself, but here's the solution I found:

In /etc/dbus-1/system.d/hal.conf, I had this:

<policy group="plugdev">
   <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
   <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
   <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
   <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>

Seems fine.  Well, I tried changing "plugdev" to "1003" (the gid of
plugdev on my system), restarted hal, and now things are just ducky.
Is this a bug, or is there still some configuration weirdness going
on?

This is with hal-0.5.7-r3 dbus-0.62-r2 and gnome-volume-manager-2.15.0-r1

--
Ryan W Sims

--
gentoo-user@gentoo.org mailing list

Reply via email to