Bug#1079568: pulseaudio: fail to start automatically on a "slow" home dir
Yangfl
mmyangfl at gmail.com
Sat Aug 24 18:12:43 BST 2024
Package: pulseaudio
Dear Maintainer,
pulseaudio failed to start on some of my machines with 'fscrypt'
encrypted home dir, but everything went fine after DE was completely
initialized, either with 'systemctl --user restart
pulseaudio.service', or with 'pulseaudio --daemonize=no'.
After examining 'journalctl --user -xe', I found a related error
message from pulseaudio.service:
Failed to create secure directory (/home/xxx/.config/pulse): No such
file or directory
and systemd gave up restarting it after 5 failures in a row, which
gave me a hint that the problematic machine has a crappy ssd with
really bad IO performance.
Since systemd service file does not provide options like
'WaitForDirectory', I workaround it by adding something like
'RestartSec=10'.
This issue might be related to https://bugs.debian.org/986688 , but
the fix in that bug report does not work for me.
More information about the pkg-pulseaudio-devel
mailing list