Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#40001 - [pulseaudio] Service file missing, esp for headless systems

Attached to Project: Arch Linux
Opened by Kai Hendry (hendry) - Tuesday, 22 April 2014, 05:15 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 27 September 2014, 20:42 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Description: Pulseaudio is not started unless `pulseaudio --start` is started. There seems to be no canonical way to do this. For example recommends doing it in .xinitrc or something like that, which doesn't make sense on headless systems.

Additional info:
* 5.0-1

Steps to reproduce:
Boot a headless machine.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Saturday, 27 September 2014, 20:42 GMT
Reason for closing:  Won't implement
Comment by Jan Alexander Steffens (heftig) - Tuesday, 22 April 2014, 15:17 GMT
There isn't. Headless set up can be tricky. You need to set up a user for PA, .pa script loading the modules you need and a service file for launching it, sorta like:

Description=PulseAudio Server

ExecStart=/usr/bin/pulseaudio --fail --disallow-module-loading --disallow-exit --exit-idle-time=-1 -n --file=/etc/pulse/

Ensure that /run/pulse and /var/lib/pulse exist with the right modes (systemd-tmpfiles). Note that "system mode" isn't used as AFAIK it just duplicates systemd's functionality here.
Comment by Kai Hendry (hendry) - Sunday, 27 April 2014, 07:08 GMT