Bug 2086190

Summary: If user has modified wireplumber config files no sound devices may be listed after upgrade to wireplumber-0.4.10
Product: [Fedora] Fedora Reporter: grumpey0
Component: wireplumberAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 36CC: awilliam, kevin, kparal, otto.liljalaakso, peter.hutterer, rhbugs, wtaymans
Target Milestone: ---Keywords: CommonBugs
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: https://ask.fedoraproject.org/t/common-issues/22384
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-15 23:03:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description grumpey0 2022-05-14 14:55:27 UTC
Description of problem:
If a user has modified the default wireplumber config no devices may be detected after upgrading to wireplumber-0.4.10-1.  

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

How reproducible:
On upgrade


Steps to Reproduce:
1.Prior to upgrading to wireplumber-0.4.10-1 copy 50-alsa-config.lua to ~/.config/wireplumber/main.lua.d 
2. After upgrade, reboot. 
3. After reboot, note the sound devices. (Dummy Output)

Actual results:
Dummy Output in sound settings

Expected results:
My sound devices in output settings. 

Additional info:
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/254
https://gitlab.freedesktop.org/pipewire/wireplumber/-/commit/3bdacc414e540cdbe003cc6276b89ec2397f0c66

Update user modified configuration files with the the appropriate monitor.enabled=true: 
IE.. 
```alsa_monitor.enabled=true``` would need to be added to the top of 50-alsa-config.lua

or
copy the updated files from /usr/share/wireplumber and re-make your changes.

Comment 1 Phil O 2022-05-15 19:47:56 UTC
This may be a larger issue, as I have not modified wireplumber configs at all, but when upgrading to 0.4.10 I also had no sound devices found.  I had to revert to 0.4.9 to get sound again.

Comment 2 Phil O 2022-06-06 14:16:48 UTC
Sorry, ignore my comment.  Turns out I had a locally installed copy of wireplumber in /usr/local from a prior debugging session which was taking precedence over the system version.  Deleted, all is well.