Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pulseaudio pulseaudio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 902
    • Issues 902
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 48
    • Merge requests 48
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PulseAudioPulseAudio
  • pulseaudiopulseaudio
  • Issues
  • #6
Closed
Open
Issue created Dec 29, 2013 by Bugzilla Migration User@bugzilla-migration

PA should not expose /org/pulseaudio/server_lookup1 object if DBus module is unloaded

Submitted by Jan Včelák

Assigned to pul..@..op.org

Link to original bug (#73112)

Description

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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking