Bug 2095449 - [RFE] pipewire use systemd-sysusers
Summary: [RFE] pipewire use systemd-sysusers
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: pipewire
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Wim Taymans
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-09 17:58 UTC by Pat Riehecky
Modified: 2023-06-24 21:48 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources pipewire pull-request 18 0 None None None 2023-06-24 21:48:22 UTC
Red Hat Issue Tracker FC-479 0 None None None 2022-06-17 12:49:45 UTC

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


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