https://bugs.freedesktop.org/show_bug.cgi?id=73112
Priority: medium
Bug ID: 73112
CC: [email protected]
Assignee: [email protected]
Summary: PA should not expose /org/pulseaudio/server_lookup1
object if DBus module is unloaded
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: unspecified
Component: daemon
Product: PulseAudio
If DBus module is not loaded into PulseAudio, the DBus interface for server
socket lookup is still available and the property Address returns a path to
non-existing file.
IMHO, PA should not expose /org/pulseaudio/server_lookup1 object if the DBus
module is unloaded.
Example:
http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/DBus/ConnectingToServer
$ python
Python 2.7.5 (default, Nov 12 2013, 16:45:54)
[GCC 4.8.2 20131017 (Red Hat 4.8.2-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus
>>> bus = dbus.SessionBus()
>>> server_lookup = bus.get_object("org.PulseAudio1",
>>> "/org/pulseaudio/server_lookup1")
>>> address = server_lookup.Get("org.PulseAudio.ServerLookup1", "Address",
>>> dbus_interface="org.freedesktop.DBus.Properties")
>>> print address
unix:path=/run/user/1000/pulse/dbus-socket
>>>
$ ls /run/user/1000/pulse/dbus-socket
ls: cannot access /run/user/1000/pulse/dbus-socket: No such file or directory
$ ls /run/user/1000/pulse
native= pid
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs