You are not logged in.
Hallo,
i have a 'pulseaudio' process running that when killed gets respawned again immediately. When i look into 'journalctl' it shows this:
Sep 17 18:39:11 host systemd[344]: Starting Sound Service...
Sep 17 18:39:11 host systemd[344]: Started Sound Service.
Sep 17 18:39:11 host rtkit-daemon[491]: Successfully made thread 4060 of process 4060 (/usr/bin/pulseaudio) owned by '10
Sep 17 18:39:11 host rtkit-daemon[491]: Supervising 1 threads of 1 processes of 1 users.
Now i've looked up 'systemctl list-unit-files' and 'systemctl list-units' but cannot find anything related to 'Sound Service'. I guess that's defined as variable (Description=) in the unit file itself.
How can i identify the unit file by that name in journalctl?
Edit: Gets even weirder... When looking at 'systemctl status' i can clearly see a 'pulseaudio.service' but when i do a 'systemctl status pulseaudio.service' it says "Unit pulseaudio.service could not be found.". It is there and it is running but i cannot access it?
Last edited by Maniaxx (2016-09-17 19:44:20)
sys2064
Offline
You need to pass the --user switch to systemctl to see this user unit listed. If it was the system service manager that started this sound service, you would have seen pid 1 instead of 344 inside the brackets.
Also check the wiki: https://wiki.archlinux.org/index.php/PulseAudio#Running
Offline
So 'systemctl status' shows both (system and user), appending/adding a unit results in 'system' only (if not explicitly defined).
Not very intuitive but maybe its just me...
Thanks.
Last edited by Maniaxx (2016-09-17 17:58:30)
sys2064
Offline
Well, `systemctl status` shows the whole system status (cgroup hierarchy) and the user slices also show up there (as a subtree of the system) with the user services contained in the slices. The --user switch still applies to limit the output to your user's slice.
Offline
Yes, but the other way round is confusing (systemctl status <user unit>). That doesn't work unless specified explicitly with '--user'. They should have made that globally (show both) as well in my opinion.
sys2064
Offline
While not related to your problem, pulseaudio is probably what gets you sound on your install. Keeping it running is probably a good idea, though I obviously know nothing about your system/level of expertise.
Offline
That's fine. I'm using ALSA and want to drop PA on purpose.
sys2064
Offline