Bart Samwel | 17 May 23:24

Bug#481663: hal: root cannot invoke methods on power management interface

Package: hal
Version: 0.5.11-1
Severity: normal

Hi there,

I'm trying to build hal power management support into acpi-support, but
when I try to call the SystemPowerManagement interface I get:

# dbus-send --system --print-reply --dest=org.freedesktop.Hal
/org/freedesktop/Hal/devices/computer
org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0

Error 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.SystemPowerManagement" member "Suspend"
error name "(unset)" destination "org.freedesktop.Hal")

To make this work I have to edit /etc/dbus-1/system.d/hal.conf and add:

<policy user="root">
  <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
</policy>

Is there a specific reason that root can't suspend or shut down the
system through Hal, or is this just an omission? Anyway, I would like
this to work, so that I can make acpi-support do its thing. :-)

Cheers,
(Continue reading)

Picon
Gravatar

Bug#481663: marked as done (hal: root cannot invoke methods on power management interface)


Your message dated Sun, 15 Jun 2008 21:32:04 +0000
with message-id <E1K7zpU-0005oh-8R <at> ries.debian.org>
and subject line Bug#482123: fixed in hal 0.5.11-2
has caused the Debian Bug report #482123,
regarding hal: root cannot invoke methods on power management interface
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner <at> bugs.debian.org
immediately.)

--

-- 
482123: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482123
Debian Bug Tracking System
Contact owner <at> bugs.debian.org with problems
From: Bart Samwel <bart <at> samwel.tk>
Subject: hal: root cannot invoke methods on power management interface
Date: 2008-05-17 21:26:41 GMT
(Continue reading)


Gmane