[Pkg-utopia-maintainers] Bug#1137031: pipewire-system-services: system-wide WirePlumber loses volumes and mute states at each boot
Sébastien Hinderer
sebastien.hinderer at ens-lyon.org
Tue Nov 24 14:45:43 GMT 2026
Hello,
The second approach suggested in my previous message is now supported
upstream: WirePlumber merge request !962 [1], merged on 2026-11-24
for 0.6.0, lets the system service store its state in a directory
given by the new WIREPLUMBER_STATE_DIR environment variable. The
upstream system units (wireplumber.service and wireplumber at .service)
now set it to /var/lib/wireplumber, which they declare with
StateDirectory=. Once that version is in Debian, the problem should
thus go away without any Debian-specific change, and the pipewire
user will not need a home directory.
Until then, the home directory approach of the draft merge request
!36 [2] remains the short-term fix, with the tmpfiles.d change I
suggested there [3] so that the directory also exists on a first
installation.
If you prefer, I can instead open a merge request backporting the
upstream change to the 0.5 package. It adds a public function,
wp_base_dirs_get_state_dir(), which would have to be declared in
debian/libwireplumber-0.5-0.symbols.
[1] https://gitlab.freedesktop.org/pipewire/wireplumber/-/merge_requests/962
[2] https://salsa.debian.org/utopia-team/pipewire/-/merge_requests/36
[3] https://salsa.debian.org/utopia-team/pipewire/-/merge_requests/36#note_832388
Thanks,
Seb.
More information about the Pkg-utopia-maintainers
mailing list