Pulseaudio times out at startup
Summary
On system startup, pulseaudio doesn't load. Activating it manually via CLI or restarting the daemons for socket and service do the trick.
I've already analyzed this issue. This is the status of pulseaudio.service and pulseaudio.socket after every system reboot and login:
After diving into the logs and several reboots, i figured out that pulseaudio tries to start after system startups. But fails to load each time since no user is authenticated yet.
The current setup of /usr/lib/systemd/user/pulseaudio.service doesn't have a sensible restart policy. With the standard values, pulseaudio tries to start 5 times with 100ms between each try. After that, it fails until manual restart. This is not enough time for a successful login attempt.
I'm honestly astonished that i seem to be the only one with this issue.
environment
Occurs on Linux Mint (All Versions since 19 up to latest. I know because the Bug resurfaces after each update of pulseaudio or a new distro version) Attach the output to this bug report as pa-info.txt
Steps to reproduce
Setup a fresh Mint install and reboot it. It's honestly hard to say what causes this issue, might be some system setup.
What is the current bug behavior?
Pulseaudio service daemon times and fails while the user is at the password prompt after system startup. This causes the audio driver to be deactivated after successful authentication.
What is the expected correct behavior?
Pulseaudio should be available after login.