You are not logged in.

#1 2009-10-13 12:59:12

Supermaks
Member
Registered: 2009-10-09
Posts: 9

Gnome 2.28 brokes USB flash/CD/DVD auto mount

Trying insert flash drive after Gnome upgrage to 2.28 and got: Unable to mount <drive>. Not authorized.
The same is with CD/DVD.
In 2.26 everything works flawlessly.

Offline

#2 2009-10-13 13:52:51

uncholowapo
Member
From: US
Registered: 2009-03-29
Posts: 238

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

Have you tried the HAL fixes in the Arch Wiki?

Offline

#3 2009-10-13 13:53:40

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

uncholowapo wrote:

Have you tried the HAL fixes in the Arch Wiki?

hal doesn't have anything to do now with gnome. is using devkit*


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2009-10-13 14:03:06

Supermaks
Member
Registered: 2009-10-09
Posts: 9

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

According to http://mailman.archlinux.org/pipermail/ … 13851.html seems hal have nothing with the problem.

Offline

#5 2009-10-13 14:26:43

owain
Member
Registered: 2009-08-24
Posts: 251

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

Not quite the same issue as I was reporting back here, because my CD is OK.  As is my camera.  It's just the USB drive that doesn't automount.  Plus Banshee can no longer see my iPod.

Offline

#6 2009-10-13 15:31:59

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

While back while I was testing gnome-unstable and booted up my machine always in init3 I had the same problem. When I reinstalled I login from gdm (from xinitrc not from rc.conf) and after upgrade yesterday mounting works just fine. I don't know where is the issue fixed, in gnome, the fact that I use gdm now or because of a kernel patch (always running latest stable custom kernel).

So suggestions - either try kernel from testing or login with gdm...

Offline

#7 2009-10-13 17:55:20

zpxing
Member
Registered: 2008-08-15
Posts: 21

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

I have the same problem. Can anyone provide a solution?

Offline

#8 2009-10-13 19:02:22

iva
Member
Registered: 2007-07-07
Posts: 4

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

I have a similar problem here, the tray of the cdrom moves out for a fraction of a second and right back into the cdrom. No chance to even insert a cdrom.

Offline

#9 2009-10-13 21:03:59

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

The pklocalauthority man page contains detailed information about configuring local authorities for the latest PolicyKit.  I configured devicekit as follows and DVDs, SD cards in a usb card reader, hot-swapped sata drives and usb pens all automount and unmount for my user without complaint:

Created /etc/polkit-1/localauthority.conf.d/61-localauthority.conf containing:

[Local Admin]
AdminIdentities=unix-user:root;unix-group:wheel

because I use wheel as the local admin group.

Created /var/lib/polkit-1/localauthority/50-local.d/org.archlinux.freedesktop.devicekit.disks.pkla (has to be done in a root terminal) containing:

[Local Users]
Identity=unix-user:david
Action=org.freedesktop.devicekit.disks.*
ResultAny=no
ResultInactive=no
ResultActive=yes

(david is my username).

Offline

#10 2009-10-13 21:05:42

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

Deleted: Double-post!

Last edited by azleifel (2009-10-13 21:10:48)

Offline

#11 2009-10-13 21:42:49

Supermaks
Member
Registered: 2009-10-09
Posts: 9

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

azleifel wrote:

Created /etc/polkit-1/localauthority.conf.d/61-localauthority.conf containing:
...
Created /var/lib/polkit-1/localauthority/50-local.d/org.archlinux.freedesktop.devicekit.disks.pkla (has to be done in a root terminal) containing:
...

Not works for me (sure i change david to my username and reboot then still got: Unable to mount <drive>. Not authorized), but thanks for "pklocalauthority" direction smile

Last edited by Supermaks (2009-10-13 22:02:33)

Offline

#12 2009-10-13 21:48:38

owain
Member
Registered: 2009-08-24
Posts: 251

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

Supermaks wrote:
azleifel wrote:

Created /etc/polkit-1/localauthority.conf.d/61-localauthority.conf containing:
...
Created /var/lib/polkit-1/localauthority/50-local.d/org.archlinux.freedesktop.devicekit.disks.pkla (has to be done in a root terminal) containing:
...

Not works for me (sure i change david to my username and reboot), but thanks for "pklocalauthority" direction smile

I've got no problem mounting the USB partitions as soon as I click on them in Nautilus, so am I able to rule out this explanation?

Offline

#13 2009-10-13 22:03:37

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

owain wrote:

I've got no problem mounting the USB partitions as soon as I click on them in Nautilus, so am I able to rule out this explanation?

Not sure.  All my stuff mounts automatically (icon appears on desktop) and I can browse without having to enter an authorisation password.  This wasn't the case before I did the configuration I described.

Offline

#14 2009-10-14 12:19:42

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

That didn't work for me, nautilus can't mount stuff (but thunar can)... what else could I try ?


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#15 2009-10-14 15:54:52

el_cammello
Member
From: Italy
Registered: 2009-03-20
Posts: 70
Website

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

same "not authorized" problem with new version of gnome sad

Solutions ???


Sorry for my bad english :-)

Offline

#16 2009-10-14 16:07:16

br4
Member
Registered: 2007-12-27
Posts: 38

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

i did

polkit-auth --grant org.freedesktop.hal.device-access.cdrom --user NAME
polkit-auth --grant org.freedesktop.hal.storage.mount-removable --user NAME

and now I get

Error mounting: mount exited with exit code 1: helper failed with:
mount: mount point /media/cdrom does not exist

and nothing for my external usb hard,but usb flash is ok

EDIT:i changed

/etc/fstab to
/dev/cdrom              /media/cd   ...

and cd and dvd are ok only the usb hard is a problem

Last edited by br4 (2009-10-14 16:42:43)

Offline

#17 2009-10-14 17:01:45

zpxing
Member
Registered: 2008-08-15
Posts: 21

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

It is a serious problem. Can anyone move this topic to the board Pacman & Package Upgrade Issues to attract some developers' attention?

Offline

#18 2009-10-14 17:47:04

juanmah
Member
From: Barcelona
Registered: 2009-04-02
Posts: 28
Website

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

I have the same problem as Supermaks and I agree with zpxing that this is a serious problem.

The authorizations granted are the same than before

$ polkit-auth 
org.freedesktop.hal.storage.mount-fixed
org.freedesktop.hal.storage.mount-removable
org.freedesktop.hal.storage.unmount-others
org.freedesktop.hal.storage.eject
org.freedesktop.hal.storage.crypto-setup-fixed
org.freedesktop.hal.storage.crypto-setup-removable
org.freedesktop.hal.power-management.shutdown
org.freedesktop.hal.power-management.shutdown-multiple-sessions
org.freedesktop.hal.power-management.reboot
org.freedesktop.hal.power-management.reboot-multiple-sessions

polkit-gnome-authorization seems ok too.

Offline

#19 2009-10-14 19:49:50

miau
Member
Registered: 2009-05-06
Posts: 202

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

Hi!

I'm also affected by this problem. I tried all the tips from the wiki. I am only able to mount my usb stick in thunar but not with nautilus.

Offline

#20 2009-10-14 20:07:39

windowbreaker
Member
Registered: 2008-06-18
Posts: 46

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

I'm having the exact same problem. cannot mount any removable storage devices as a regular user in gnome.  Happened after I did 'pacman -Syu' last night.  Have tried everything mentioned in this article and relevant suggestions found on google.  Any other ideas!?!?

Offline

#21 2009-10-15 00:02:48

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

i think i got it!!. for me only cd/dvd automonting didn't worked.
i've seen that my dvdrom was detected as /dev/hda rather than /dev/sr0. the problem was that i had in /etc/mkinitcpio.conf some modules. removing them and adding the standard hook and regenereting the image solved my problem.


Give what you have. To someone, it may be better than you dare to think.

Offline

#22 2009-10-15 14:26:32

br4
Member
Registered: 2007-12-27
Posts: 38

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

i solved my usb hard-drive problem by installing libatasmart 0.15-1 from aur. 
see bug:http://bugs.archlinux.org/task/16662

Offline

#23 2009-10-15 17:57:57

juanmah
Member
From: Barcelona
Registered: 2009-04-02
Posts: 28
Website

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

br4 this is a solution for another problem, dmesg doesn't show your bug's behaviour.

I got what's the problem, but not a solution.

If I start gnome without gdm, neither usb or shutdown is authorized. If I start gnome with gdm all works ok.

This is why so few people has this problem, i think.

But I don't want to use gdm ('Gasto De Memoria':waste of memory) if my computer is single user.

Anyone has an idea on what's happening???

Offline

#24 2009-10-15 19:31:59

windowbreaker
Member
Registered: 2008-06-18
Posts: 46

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

juanmah is correct.  Since I also do not use gdm, I use 'startx', I decided to test his theory.

I logged out of gnome back to the command line.  Started gdm as root. The logged in via gdm and now my usb drive mounts perfectly.

Now that we know the problem and a work around, is there a way to make it work while using 'startx' without having to use gdm?

Offline

#25 2009-10-15 20:11:01

el_cammello
Member
From: Italy
Registered: 2009-03-20
Posts: 70
Website

Re: Gnome 2.28 brokes USB flash/CD/DVD auto mount

Ok, but use gdm to have the right permission is not a solution.
So the question is: why it works with gdm? hmm


Sorry for my bad english :-)

Offline

Board footer

Powered by FluxBB