[systemd-devel] kdbus: busctl for user session and for system-wide shows weird information
Igor Gnatenko
i.gnatenko.brain at gmail.com
Sat Aug 1 06:48:26 PDT 2015
Hi,
I'm running Fedora 24 with systemd-224 and kernel-4.2.0-0.rc4.git2.1
with kdbus=1 in kernel cmdline.
I have my own pulseaudio.service enabled for one user-session.
$ cat /etc/systemd/user/pulseaudio.service
[Unit]
After=sound.target network.target avahi-daemon.service
Requires=sound.target
Wants=avahi-daemon.service
Description=PulseAudio Sound System
[Service]
Type=dbus
BusName=org.pulseaudio.Server
BusName=org.PulseAudio1
ExecStart=/usr/bin/pulseaudio -vv
ExecStop=/usr/bin/pulseaudio --kill
Restart=always
[Install]
WantedBy=default.target
$ busctl --user
shows me 4 names for pulseaudio:
* :1.458
* org.PulseAudio1
* org.freedesktop.ReserveDevice1.Audio0
* org.pulseaudio.Server
# busctl
shows me 2 names for pulseaudio:
* :1.400
* :1.752
So the question is: Why I see unique IDs in system bus while process
running only in user-session? If it's should be so -- why I don't see
interface names like org.PulseAudio1 in system bus?
--
-Igor Gnatenko
-------------- next part --------------
NAME PID PROCESS USER CONNECTION UNIT SESSION DESCRIPTION
:1.1097 2243 busctl brain :1.1097 session-2.scope 2 sd-user-busctl
:1.351 571 systemd brain :1.351 user at 1000.service - sd-user-systemd
:1.458 624 pulseaudio brain :1.458 user at 1000.service - sd-proxy
org.PulseAudio1 624 pulseaudio brain :1.458 user at 1000.service - sd-proxy
org.freedesktop.ReserveDevice1.Audio0 624 pulseaudio brain :1.458 user at 1000.service - sd-proxy
org.freedesktop.systemd1 571 systemd brain :1.351 user at 1000.service - sd-user-systemd
org.gtk.GLib.PACRunner - - - (activatable) - -
org.pulseaudio.Server 624 pulseaudio brain :1.458 user at 1000.service - sd-proxy
-------------- next part --------------
NAME PID PROCESS USER CONNECTION UNIT SESSION DESCRIPTION
:1.1105 2269 busctl root :1.1105 session-2.scope 2 sd-system-busctl
:1.150 1 systemd root :1.150 - - -
:1.179 455 systemd-logind root :1.179 systemd-logind.service - sd-system-systemd-logind
:1.2 1 systemd root :1.2 - - sd-system-systemd
:1.226 458 avahi-daemon avahi :1.226 avahi-daemon.service - sd-proxy
:1.236 456 firewalld root :1.236 firewalld.service - sd-proxy
:1.245 545 NetworkManager root :1.245 NetworkManager.service - sd-proxy
:1.254 545 NetworkManager root :1.254 NetworkManager.service - sd-proxy
:1.349 571 systemd brain :1.349 user at 1000.service - sd-system-systemd
:1.392 598 polkitd polkitd :1.392 polkit.service - sd-proxy
:1.400 624 pulseaudio brain :1.400 user at 1000.service - sd-proxy
:1.409 639 rtkit-daemon root :1.409 rtkit-daemon.service - sd-proxy
:1.752 624 pulseaudio brain :1.752 user at 1000.service - sd-proxy
com.redhat.ifcfgrh1 545 NetworkManager root :1.245 NetworkManager.service - sd-proxy
org.fedoraproject.FirewallD1 456 firewalld root :1.236 firewalld.service - sd-proxy
org.freedesktop.Avahi 458 avahi-daemon avahi :1.226 avahi-daemon.service - sd-proxy
org.freedesktop.NetworkManager 545 NetworkManager root :1.245 NetworkManager.service - sd-proxy
org.freedesktop.PolicyKit1 598 polkitd polkitd :1.392 polkit.service - sd-proxy
org.freedesktop.RealtimeKit1 639 rtkit-daemon root :1.409 rtkit-daemon.service - sd-proxy
org.freedesktop.hostname1 - - - (activatable) - -
org.freedesktop.import1 - - - (activatable) - -
org.freedesktop.locale1 - - - (activatable) - -
org.freedesktop.login1 455 systemd-logind root :1.179 systemd-logind.service - sd-system-systemd-logind
org.freedesktop.machine1 - - - (activatable) - -
org.freedesktop.network1 - - - (activatable) - -
org.freedesktop.nm_dispatcher - - - (activatable) - -
org.freedesktop.realmd - - - (activatable) - -
org.freedesktop.resolve1 - - - (activatable) - -
org.freedesktop.systemd1 1 systemd root :1.2 - - sd-system-systemd
More information about the systemd-devel
mailing list