[pulseaudio-tickets] [PulseAudio] #582: [PATCH] system-wide pulseaudio and module-hal-detect
PulseAudio
trac-noreply at tango.0pointer.de
Sat Jun 13 05:34:07 PDT 2009
#582: [PATCH] system-wide pulseaudio and module-hal-detect
--------------------+-------------------------------------------------------
Reporter: mgrela | Owner: lennart
Type: defect | Status: new
Milestone: | Component: daemon
Keywords: |
--------------------+-------------------------------------------------------
Hi,
I've recently encountered a problem with running a system-wide pulseaudio
daemon for my HTPC together with module-hal-detect. The issue is, that the
DBUS policy for system bus is to deny all remote method calls and name
ownerships except where there is a policy defined for a process. This
causes pulseaudio module-hal-detect to fail when communicating with HAL:
{{{
Jun 13 13:49:49 ix dbus-daemon: Rejected send message, 1 matched rules;
type="method_call", sender=":1.3" (uid=105 pid=1684
comm="/usr/bin/pulseaudio --log-target=syslog --disallow")
interface="org.freedesktop.Hal.Manager" member="FindDeviceByCapability"
error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal"
(uid=0 pid=1576 comm="/usr/sbin/hald --use-syslog --verbose=yes "))
Jun 13 13:49:49 ix pulseaudio[1684]: module-hal-detect.c: D-Bus error
while parsing HAL data: org.freedesktop.DBus.Error.AccessDenied: Rejected
send message, 1 matched rules; type="method_call", sender=":1.3" (uid=105
pid=1684 comm="/usr/bin/pulseaudio --log-target=syslog --disallow")
interface="org.freedesktop.Hal.Manager" member="FindDeviceByCapability"
error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal"
(uid=0 pid=1576 comm="/usr/sbin/hald --use-syslog --verbose=yes "))
}}}
Pulseaudio is also unable to bind a DBUS name for itself:
{{{
Jun 13 13:59:57 ix pulseaudio[1683]: main.c: Failed to acquire
org.pulseaudio.Server: org.freedesktop.DBus.Error.AccessDenied: Connection
":1.3" is not allowed to own the service "org.pulseaudio.Server" due to
security policies in the configuration file
}}}
The attached dbus policy file fixes these problems and should be put into
/etc/dbus-1/system.d/
--
Ticket URL: <http://pulseaudio.org/ticket/582>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list