Package: wireplumber
Version: 0.4.13-1
Severity: minor
File: /usr/lib/systemd/user/wireplumber.service
Tags: upstream patch

Please add this to wireplumber.service:

    [Unit]
    ConditionUser=!root

This is consistent with existing rules (though all should use 
"ConditionUser=!@system"):

    /lib/systemd/user/pipewire-pulse.service:ConditionUser=!root
    /lib/systemd/user/pipewire-pulse.socket:ConditionUser=!root
    /lib/systemd/user/pipewire.service:ConditionUser=!root
    /lib/systemd/user/pipewire.socket:ConditionUser=!root

Before:

    systemd[725]: pipewire.service - PipeWire Multimedia Service was skipped 
because of an unmet condition check (ConditionUser=!root).
    systemd[725]: wireplumber.service: Bound to unit pipewire.service, but unit 
isn't active.
    systemd[725]: Dependency failed for wireplumber.service - Multimedia 
Service Session Manager.
    systemd[725]: wireplumber.service: Job wireplumber.service/start failed 
with result 'dependency'.
    systemd[725]: pipewire-pulse.service - PipeWire PulseAudio was skipped 
because of an unmet condition check (ConditionUser=!root).

After:

    systemd[700]: pipewire-pulse.socket - PipeWire PulseAudio was skipped 
because of an unmet condition check (ConditionUser=!root).
    systemd[700]: pipewire.socket - PipeWire Multimedia System Socket was 
skipped because of an unmet condition check (ConditionUser=!root).
    systemd[700]: pipewire.service - PipeWire Multimedia Service was skipped 
because of an unmet condition check (ConditionUser=!root).
    systemd[700]: wireplumber.service - Multimedia Service Session Manager was 
skipped because of an unmet condition check (ConditionUser=!root).
    systemd[700]: pipewire-pulse.service - PipeWire PulseAudio was skipped 
because of an unmet condition check (ConditionUser=!root).

I think this also affects upstream, but I have not thoroughly looked through 
all upstream branches/bugs/pull-requests:

    
https://github.com/PipeWire/wireplumber/blob/master/src/systemd/user/wireplumber.service.in


-- System Information:
Debian Release: 12.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.12+bpo-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.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 wireplumber depends on:
ii  init-system-helpers   1.65.2
ii  libc6                 2.36-9+deb12u7
ii  libglib2.0-0          2.74.6-2+deb12u3
ii  libpipewire-0.3-0     0.3.65-3+deb12u1
ii  libwireplumber-0.4-0  0.4.13-1
ii  pipewire              0.3.65-3+deb12u1

Versions of packages wireplumber recommends:
ii  pipewire-pulse  0.3.65-3+deb12u1

Versions of packages wireplumber suggests:
ii  libspa-0.2-bluetooth  0.3.65-3+deb12u1
pn  wireplumber-doc       <none>

-- no debconf information

Reply via email to