Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HAL Security Policy? [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cvweiss
n00b
n00b


Joined: 25 Apr 2005
Posts: 67
Location: Detroit!

PostPosted: Sun Jan 21, 2007 2:56 pm    Post subject: HAL Security Policy? [SOLVED] Reply with quote

Attempting to get automounting to work, and running into the below error message.

I insert the Gentoo Install CD (same problem with other cd's), and get the popup dialog asking me what I want to do. I select "Open in New Window", and Konqueror then attempts to mount the CD, but fails with this message:

Quote:

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")


This is with KDE 3.5.5, hal 0.5.7-r3, and dbus 1.0.2

I am now stumped...
_________________
If at first you don't suceed, try again does NOT apply to skydiving.


Last edited by cvweiss on Thu Feb 08, 2007 5:17 am; edited 3 times in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Jan 21, 2007 3:30 pm    Post subject: Reply with quote

Try updating hal to the latest stable version.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
cvweiss
n00b
n00b


Joined: 25 Apr 2005
Posts: 67
Location: Detroit!

PostPosted: Sun Jan 21, 2007 3:38 pm    Post subject: Reply with quote

nixnut wrote:
Try updating hal to the latest stable version.


I do have the latest stable version:

Quote:

eix sys-apps/hal
[I] sys-apps/hal
Available versions: 0.5.5.1-r3 0.5.7-r3 ~0.5.7.1-r1 ~0.5.7.1-r2
Installed: 0.5.7-r3(23:32:43 01/18/07)(-acpi crypt -debug -dmi -doc -pcmcia -selinux)
Homepage: http://www.freedesktop.org/Software/hal
Description: Hardware Abstraction Layer

_________________
If at first you don't suceed, try again does NOT apply to skydiving.
Back to top
View user's profile Send private message
cvweiss
n00b
n00b


Joined: 25 Apr 2005
Posts: 67
Location: Detroit!

PostPosted: Tue Jan 23, 2007 5:06 am    Post subject: Re: HAL Security Policy? Reply with quote

In the hope of getting some responses to this post, I am posting some extra information:

Code:

# eix kde-base/kde$
[I] kde-base/kde
     Available versions:  (3.5)  3.5.2 3.5.5
     Installed:           3.5.5(3.5)(05:13:35 01/19/07)(-accessibility)
     Homepage:            http://www.kde.org/
     Description:         KDE - merge this to pull in all non-developer kde-base/* packages

# eix sys-apps/hal$
[I] sys-apps/hal
     Available versions:  0.5.5.1-r3 0.5.7-r3 ~0.5.7.1-r1 ~0.5.7.1-r2
     Installed:           0.5.7-r3(23:32:43 01/18/07)(-acpi crypt -debug -dmi -doc -pcmcia -selinux)
     Homepage:            http://www.freedesktop.org/Software/hal
     Description:         Hardware Abstraction Layer

# eix sys-apps/dbus$
[I] sys-apps/dbus
     Available versions:  !0.61-r1 0.62-r2 (~)1.0.2
     Installed:           1.0.2(20:49:56 01/18/07)(X -debug -doc -selinux)
     Homepage:            http://dbus.freedesktop.org/
     Description:         A message bus system, a simple way for applications to talk to each other


There are no errors in dmesg, and all mount points will mount just fine if I mount from the command line (with or without an fstab entry).

Does anyone have any idea why this error message is occuring?
_________________
If at first you don't suceed, try again does NOT apply to skydiving.
Back to top
View user's profile Send private message
adrienleroy
n00b
n00b


Joined: 02 Dec 2004
Posts: 74
Location: Lille,France

PostPosted: Sun Jan 28, 2007 5:20 pm    Post subject: Reply with quote

I had a similar bug. I was in haldaemon et plugdev groups but i was unable to mount any device with my user.

I had
Code:

  <policy user="plugdev">
    <allow own="org.freedesktop.Hal"/>
  </policy>


in /etc/dbus-1/system.d/hal.conf restart dbus and relogin.
Back to top
View user's profile Send private message
cvweiss
n00b
n00b


Joined: 25 Apr 2005
Posts: 67
Location: Detroit!

PostPosted: Mon Jan 29, 2007 4:46 am    Post subject: Reply with quote

adrienleroy wrote:
I had a similar bug. I was in haldaemon et plugdev groups but i was unable to mount any device with my user.

I had
Code:

  <policy user="plugdev">
    <allow own="org.freedesktop.Hal"/>
  </policy>


in /etc/dbus-1/system.d/hal.conf restart dbus and relogin.


Forgive me, but your message is a little cryptic. Am I to remove the existing lines for the policy:
Code:

  <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>


To what you posted?
_________________
If at first you don't suceed, try again does NOT apply to skydiving.
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Mon Jan 29, 2007 5:14 am    Post subject: Reply with quote

You could try man dbus-daemon for more information. It has a very thorough section on security policy.

Since I think ivman is how KDE does that (I'm a fluxbox junkie myself) you might also check here: http://gentoo-wiki.com/HOWTO_ivman

HTH,
m
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
Obstacle1
n00b
n00b


Joined: 19 May 2005
Posts: 61

PostPosted: Wed Feb 07, 2007 8:19 pm    Post subject: Reply with quote

Quote:

I had a similar bug. I was in haldaemon et plugdev groups but i was unable to mount any device with my user.

I had
Code:


  <policy user="plugdev">
    <allow own="org.freedesktop.Hal"/>
  </policy>


in /etc/dbus-1/system.d/hal.conf restart dbus and relogin.


I've solved the same problem in this way,try also adding your user to haldaemon and plugdev groups
_________________
TURN ON,TUNE IN, DROP OUT...........
Back to top
View user's profile Send private message
cvweiss
n00b
n00b


Joined: 25 Apr 2005
Posts: 67
Location: Detroit!

PostPosted: Thu Feb 08, 2007 5:17 am    Post subject: Reply with quote

Obstacle1 wrote:

I've solved the same problem in this way,try also adding your user to haldaemon and plugdev groups


Thank you, adding my user to both plugdev and haldaemon groups solved the puzzle.
_________________
If at first you don't suceed, try again does NOT apply to skydiving.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum