Package: pipewire-system-services
Version: 1.4.9-1~bpo13+1

Note that the following contains a list of issues which I *think* are
all related to the backported pipewire-system-services package that
I'm running on trixy 13.3. I'm happy to split them out, but I think
that they're all related to how this is implemented.

When I attempt to install pipewire as a system-wide service, the
process fails with several problems. It also appears that no attempt
is made to start the service after installation, but I cannot confirm
that at this time, since it's unclear which service should be
"started", if any.

Attempting to run `systemctl start pipewire` fails because
pipewire.socket cannot be started as a dependency of pipewire because
the user pipewire does not exist.
```
pipewire.socket: Control process exited, code=exited, status=217/USER
```

I can add that user with `useradd --system pipewire -g pipewire`, but
then wireplumber attempts to create and write to
`/home/pipewire/.local/state/wireplumber` which fails. This is
potentially a bug in wireplumber-system-services, but I'm noting it
here since it happens after creating the missing pipewire user.
```
wp-state: failed to create directory
/home/pipewire/.local/state/wireplumber: Permission denied
wp-state: could not save stream-properties: Failed to create file
“/home/pipewire/.local/state/wireplumber/stream-properties.0ZLNL3”: No
such file or directory
```

I think this looks a lot like this bug:
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012454

Creating that directory makes the error "go away", but the file should
not exist in that directory or path, since pipewire is a system user,
and according to the wireplumber documentation, it should be
configurable.
* https://pipewire.pages.freedesktop.org/wireplumber/daemon/locations.html

Furthermore, pipewire dependencies appear to want to launch a
dbus-daemon which fails because there's no display.
```
spa.dbus: Failed to connect to session bus: Unable to autolaunch a
dbus-daemon without a $DISPLAY for X11
```

I don't think that the system actually works, since the `pw-top`
command returns this:
```
Can't connect: Host is down
```

When uninstalling pipewire-system-services, it also appears that none
of the services are stopped and disabled, leaving processes running.

It also appears that the `/run/pipewire` directory is not removed when
the package is uninstalled.

Finally, if a pipewire user is added, the uninstall cannot remove the
pipewire group, since it has a user and fails with a fatal error.

For context, since my use-case is not a screen reader, rather it's a
proxmox server that I want to provide audio access to all of the
guests without requiring passthrough of physical hardware, since that
cannot be shared between guests.

I'm running this on a trixie (13.3) install of proxmox.

Note that while I'm a long-time (25 years) Debian user, I have little
or no experience with pipewire, wireplumber and little experience with
proxmox.

Please let me know if you need logs or more information.

Kind regards,
Onno

-- 
Onno Benschop

()/)/)()        ..ASCII for Onno..
|>>?            ..EBCDIC for Onno..
--- -. -. ---   ..Morse for Onno..

If you need to know: "What computer should I buy?" http://goo.gl/spsb66

ITmaze   -   ABN: 56 178 057 063   -  ph: 04 1219 8888   -   [email protected]

Reply via email to