Bug 2031328 - F35 upgrade breaks sound in case of customized /etc/pipewire/pipewire.conf
Summary: F35 upgrade breaks sound in case of customized /etc/pipewire/pipewire.conf
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pipewire
Version: 35
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Wim Taymans
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-11 01:42 UTC by Michael Hrivnak
Modified: 2022-12-13 16:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-13 16:05:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Hrivnak 2021-12-11 01:42:38 UTC
Description of problem:

Upgrading from 34 to 35, if the system has a customized /etc/pipewire/pipewire.conf, the system will appear to have no sound due to two copies of pipewire running at the same time. This is because F34 used context.exec inside pipewire.conf to start pipewire-media-session, but in F35 commented that line out in favor of using a systemd service. Here is the change in /usr/share/pipewire/pipewire.conf from F34 to F35:

<     { path = "/usr/bin/pipewire-media-session" args = "" }
---
>     #{ path = "/usr/bin/pipewire-media-session" args = "" }

This appears to be a significant downside of of the choice to put the config file into /usr/share/, a data directory, and force users who want to adjust config to make a complete copy inside /etc/. I did just that to adjust one setting, which means I have an unmanaged config file, and the package manager at upgrade time had no way of detecting or alerting me to an important change. See also: https://bugzilla.redhat.com/show_bug.cgi?id=1963939

Version-Release number of selected component (if applicable):

pipewire-0.3.40-1.fc35.x86_64

How reproducible:

always

Steps to Reproduce:
1. Install Fedora 34
2. Change a setting in pipewire.conf, which required making a complete copy of it in /etc/
3. Upgrade to Fedora 35

Actual results:

Sound no longer works. Gnome's sound settings will show no devices. On investigation, you'll find two pipewire processes running.

Expected results:

Sound keeps working.

Additional info:

I think this would be a good candidate for the "Common F35 bugs" wiki page, since it's likely to affect anyone who needed to change any setting in pipewire.conf while using F34. There are already two other common bugs listing reasons sound might break after upgrade. I'm happy to write a blurb there if that's helpful, or would happily defer to someone else if you prefer.

https://fedoraproject.org/wiki/Common_F35_bugs

Comment 1 Ben Cotton 2022-11-29 17:28:49 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 2 Ben Cotton 2022-12-13 16:05:21 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.