You are not logged in.

#1 2007-04-29 12:50:33

Hide
Member
From: Castalia
Registered: 2007-02-02
Posts: 368

Serious hal problem

Hi guys
Every time i click on CD or HDD icon i get following error:

Error org.freedesktop.DBus.Error.AccessDenied.

Details:
A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interfave "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")

Another question: is it possible that this problem, in any way, caused my HDD crash (the one that i tried to mount)?

Offline

#2 2007-04-29 12:57:59

kupje
Member
From: DK
Registered: 2007-04-07
Posts: 7

Re: Serious hal problem

Are your user in the "plugdev" group?

Offline

#3 2007-04-29 13:48:55

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: Serious hal problem

put your user in the optical group

gpasswd -a $user optical

Last edited by fk (2007-04-29 13:51:21)


Have you tried to turn it off and on again?

Offline

#4 2007-04-29 14:01:02

Hide
Member
From: Castalia
Registered: 2007-02-02
Posts: 368

Re: Serious hal problem

nope, that didn't solve my problem sad

Offline

#5 2007-04-29 14:05:17

baze
Member
Registered: 2005-10-30
Posts: 393

Re: Serious hal problem

does the group "storage" help you?

Offline

#6 2007-04-29 16:16:35

Hide
Member
From: Castalia
Registered: 2007-02-02
Posts: 368

Re: Serious hal problem

Neither that one sad

Offline

#7 2007-04-29 16:20:04

tux
Member
From: Wonderland
Registered: 2007-04-28
Posts: 6

Re: Serious hal problem

What about the group "haldaemon"?

Last edited by tux (2007-04-29 16:20:35)


Archer since 2005 - and proud of it! smile

Offline

#8 2007-04-29 17:26:33

killerrabbit
Member
From: Göteborg
Registered: 2007-04-28
Posts: 2
Website

Re: Serious hal problem

Well, I have the exact same problem and I've done all of the above, except that I also tried adding users hal, dbus and my own user to the suggested groups (storage, optical). however, the problem persists as described in the first post in this thread. sad

Correction:Uhm this is embarrising, but actually the only thing I had left to do after my other fiddling was a restart :rolleyes:g

It's now working as I wanted it too, and I also got around to take out the fstab entries for redundant cdrom and dvdrom entries (that the Arch Installer put there...) Sometimes you mustn't forget what running Gentoo has thought you wink

To possibly be of any help, here's my steps to resolve this issue that worked for me (possibly some unrelevant and redundant)

Do in terminal:

# pacman -Rd hal hal-device-manager hal-info
# pacman -S hal hal-device-manager hal-info
# gpasswd -a user optical
# gpasswd -a hal optical
# gpasswd -a dbus optical
# gpasswd -a user storage
# gpasswd -a hal storage
# gpasswd -a dbus storage

Then restart your system, carefully monitoring that dbus and hal are starting properly at boot up (or try to start the init scripts with "/etc/rc.d/dbus start" and then "/etc/rc.d/hal start" once your inside your DE)

Well it worked for me, so maybe it works for you smile

Last edited by killerrabbit (2007-04-29 17:47:34)


Using Arch Linux since 2007-04-27 [after 3 years of using Gentoo Linux]

Offline

#9 2007-04-29 21:12:08

Lord_Bad
Member
Registered: 2005-04-17
Posts: 54

Re: Serious hal problem

I have exactly the same problem too and was just about to post a topic on the subject. Optical group doesn't work for sure, I will check the other suggestions right away.
P.S.
The above instructions are correct. All works fine now. smile Thank you.

Last edited by Lord_Bad (2007-04-29 21:21:21)

Offline

#10 2007-04-30 09:10:15

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Serious hal problem

These instructions are not correct, dbus and hal should not be in those groups. The cause of all this is that when dbus starts, it caches the passwd information. When you add yourself to the optical and storage groups, dbus still won't allow you. Restarting dbus and hal will fix this problem. Adding yourself, dbus and hal to every possible random group is not the right solution.

Offline

#11 2007-05-01 08:28:29

Lord_Bad
Member
Registered: 2005-04-17
Posts: 54

Re: Serious hal problem

You are right of course, but nevertheless this should have been documented somewhere - in the wiki perhaps. If I find some time to spare these days I'll revise the hal wiki.

Offline

#12 2007-05-01 13:46:42

Hide
Member
From: Castalia
Registered: 2007-02-02
Posts: 368

Re: Serious hal problem

thx killerrabbit, i only added these users to groups, and reset my PC. Everything works like charm now.

Offline

#13 2007-05-03 15:14:21

Lord_Bad
Member
Registered: 2005-04-17
Posts: 54

Re: Serious hal problem

I have updated the wiki entry for HAL as promised. You can check it out here - http://wiki.archlinux.org/index.php/HAL, and give me some feedback.

Offline

Board footer

Powered by FluxBB