Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820872 - media-video/pipewire-0.3.39-r4 pipewire-media-session systemd unit is missing
Summary: media-video/pipewire-0.3.39-r4 pipewire-media-session systemd unit is missing
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-30 18:59 UTC by Alexey Skobkin
Modified: 2021-10-30 19:06 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Skobkin 2021-10-30 18:59:34 UTC
After upgrading from 0.3.38 pipewire stopped showing all sound devices.
I've checked if the media session daemon is running and it wasn't.
Checking the unit showed following:

> $ systemctl --user status pipewire-media-session.service
> Unit pipewire-media-session.service could not be found.

Then I've checked the path where unit was before update:

> > $ ls -la /usr/lib/systemd/user/pipewire*
> .rw-r--r-- 1.2k root 29 Oct 13:22 /usr/lib/systemd/user/pipewire-pulse.service
> .rw-r--r--  172 root 20 Oct 18:00 /usr/lib/systemd/user/pipewire-pulse.socket
> .rw-r--r-- 1.0k root 29 Oct 13:22 /usr/lib/systemd/user/pipewire.service
> .rw-r--r--  120 root 20 Oct 18:00 /usr/lib/systemd/user/pipewire.socket

For me it looks like the unit file is missing.

Falling back to the previous version solves the issue:

> # emerge -a1kvqt \=pipewire-0.3.38

> $ systemctl --user daemon-reload

> $ systemctl --user status pipewire-media-session.service
○ pipewire-media-session.service - PipeWire Media Session Manager
     Loaded: loaded (/usr/lib/systemd/user/pipewire-media-session.service; enabled; vendor preset: enabled)
     Active: inactive (dead)

> $ ls -la /usr/lib/systemd/user/pipewire*
> .rw-r--r--  432 root 25 Oct 18:02 /usr/lib/systemd/user/pipewire-media-session.service
> .rw-r--r-- 1.2k root 25 Oct 18:02 /usr/lib/systemd/user/pipewire-pulse.service
> .rw-r--r--  172 root 30 Sep 11:42 /usr/lib/systemd/user/pipewire-pulse.socket
> .rw-r--r-- 1.0k root 25 Oct 18:02 /usr/lib/systemd/user/pipewire.service
> .rw-r--r--  120 root 30 Sep 11:42 /usr/lib/systemd/user/pipewire.socket

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-30 19:02:30 UTC
Upstream are no longer supporting media-session really. Read the postinst -- you need to use WirePlumber instead.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-30 19:06:05 UTC
I don't think we have an interest in packaging media-session separately at this point in time given its rapid deprecation.