Package: pipewire-system-services
Version: 1.6.9-2
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainers,

Installing pipewire-system-services and wireplumber-system-services
changes nothing on the running system:

- the user units shipped by pipewire, pipewire-pulse and wireplumber
  stay enabled for every user, so each session still starts its own
  PipeWire, which holds the sound card;
- the system units shipped by pipewire-system-services and
  wireplumber-system-services (pipewire.socket, pipewire.service,
  pipewire-manager.socket, pipewire-pulse.socket,
  pipewire-pulse.service, wireplumber.service) stay disabled and
  stopped.

Although providing these services system-wide is the very purpose of
these packages, they currently do not provide them without further
intervention.

To get a working system-wide PipeWire, the administrator has to:

1. Disable the user units for every user:

     systemctl --global disable pipewire.socket pipewire.service \
       pipewire-pulse.socket pipewire-pulse.service \
       wireplumber.service filter-chain.service

2. Add the users who should get sound to the pipewire group:

     adduser USER pipewire

3. Enable and start the system units:

     systemctl enable --now pipewire.socket pipewire-manager.socket \
       pipewire-pulse.socket pipewire.service pipewire-pulse.service \
       wireplumber.service

The list in step 1 includes filter-chain.service, although no system
unit replaces it (which may deserve a report of its own): with no
filter configured it does nothing useful, but it pulls in the
session's pipewire.service, which then holds the sound card and leaves
the system WirePlumber without it. Any fix in the packages has to
cover it too.

In the review of
https://salsa.debian.org/utopia-team/pipewire/-/merge_requests/31,
the system units were said to be disabled by default "to avoid
conflicts with user services". But one installs these packages
precisely to run PipeWire system-wide instead of per session; the
conflict comes from the user units staying enabled, and the packages
are best placed to remove it, since they know which units are
involved. #1129926 also notes that nothing is started after
installation.

wireplumber-system-services has the same issue for wireplumber.service;
I will clone this report for it.

I can prepare merge requests on both repositories once the approach is
agreed on.

Thanks,

Seb.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.1.8+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pipewire-system-services depends on:
ii  pipewire                     1.6.9-2
ii  pipewire-pulse               1.6.9-2
ii  wireplumber-system-services  0.5.19-1

pipewire-system-services recommends no packages.

pipewire-system-services suggests no packages.

-- no debconf information

Reply via email to