Re: [gentoo-user] "Cannot mount volume" on Gnome 2.16 when inserting CD? [SOLVED]

2006-12-29 Thread Ryan Sims

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:


   
   
   
   


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



Re: [gentoo-user] "Cannot mount volume" on Gnome 2.16 when inserting CD?

2006-12-29 Thread Ryan Sims

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?

--
Ryan W Sims

--
gentoo-user@gentoo.org mailing list



[gentoo-user] "Cannot mount volume" on Gnome 2.16 when inserting CD?

2006-10-02 Thread Alexander Skwar
Hi!

I recently reinstalled my Gentoo system and unmasked and installed
Gnome 2.16; the system is otherwise a ~x86 system.

When I now insert a DVD/CD or plugin a USB stick, I get a popup showing:

Cannot mount volume

But I can perfectly fine mount this volume manually. Eg.:

[EMAIL PROTECTED] ~ $ LC_ALL=C LANG=C sudo mount -v /dev/dvd /mnt/test
mount: you didn't specify a filesystem type for /dev/dvd
   I will try type iso9660
mount: block device /dev/dvd is write-protected, mounting read-only
/dev/hdc on /mnt/test type iso9660 (ro)

The device is not listed in /etc/fstab (see ).

gnome-volume-manager is running:

[EMAIL PROTECTED] ~ $ ps awux|grep -v grep|grep gnome-volume-manager
1000  7382  0.0  0.6  18828  4488 ?Ss   Sep30   0:01 
gnome-volume-manager --sm-disable

[EMAIL PROTECTED] ~ $ ls -lad /var/db/pkg/*/*{hal-,gnome-mount}*
drwxr-xr-x 2 root root 4096 10. Sep 21:19 
/var/db/pkg/gnome-base/gnome-mount-0.4-r5
drwxr-xr-x 2 root root 4096 17. Sep 11:20 /var/db/pkg/sys-apps/hal-0.5.7.1-r1

My user is a member of the plugdev group:

[EMAIL PROTECTED] ~ $ id
uid=1000(alexander) gid=1000(alexander) 
Gruppen=10(wheel),16(cron),18(audio),19(cdrom),80(cdrw),100(users),250(portage),442(plugdev),444(games),1000(alexander)

When I run "gnome-volume-manager --sm-disable -n", I get the following
output:

[EMAIL PROTECTED] ~ $ gnome-volume-manager --sm-disable -n
gnome-mount 0.4
gnome-mount 0.4

The second line with "gnome-mount 0.4" was printed, when I inserted
the CD.

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.

What's broken on my system (other than using ~x86 and masked
packages *G*)?

Thanks,

Alexander Skwar
-- 
My mother drinks to forget she drinks.
-- Crazy Jimmy


-- 
gentoo-user@gentoo.org mailing list