Bug 2095449

Summary: [RFE] pipewire use systemd-sysusers
Product: [Fedora] Fedora Reporter: Pat Riehecky <riehecky>
Component: pipewireAssignee: Wim Taymans <wtaymans>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: brunovern.a, bstinson, cglombek, information, jwboyer, ndegraef, wtaymans
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Pat Riehecky 2022-06-09 17:58:24 UTC
Description of problem:
pipewire is using static useradd scripts

Version-Release number of selected component (if applicable):pipewire-0.3.47-2.el9


How reproducible:100%


Steps to Reproduce:
1.review %pre
2.
3.

Actual results:
%pre
getent group pipewire >/dev/null || groupadd -r pipewire
getent passwd pipewire >/dev/null || \
    useradd -r -g pipewire -d %{_localstatedir}/run/pipewire -s /sbin/nologin -c "PipeWire System Daemon" pipewire
exit 0

Expected results:
use of system-sysusers 

Additional info:
https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format

Comment 2 Niels De Graef 2022-06-15 08:57:56 UTC
Hi, thanks for filing the RFE. I quickly looked at the Fedora package [1], and that also needs to be changed so I guess that would be the first place to solve this.

I'm wondering: is there a specific reason to have this in CentOS Stream 9? That would allow us to prioritize accordingly. If there's no specific reason, I'd move this ticket to the Fedora product first.


[1]: https://src.fedoraproject.org/rpms/pipewire/blob/rawhide/f/pipewire.spec#_432

Comment 3 Pat Riehecky 2022-06-15 13:24:42 UTC
Fedora first is perfectly fine with me.

Comment 4 Christian Glombek 2023-06-24 21:48:23 UTC
Opened PR https://src.fedoraproject.org/rpms/pipewire/pull-request/18