Bug 2259606

Summary: Fix sysusers_create_compat macro to handle secondary group memberships
Product: [Fedora] Fedora EPEL Reporter: David Ward <david.ward>
Component: epel-rpm-macrosAssignee: Kevin Fenzi <kevin>
Status: POST --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: carl, j, kevin, maxwell, ngompa13, TicoTimo, tomspur
Target Milestone: ---   
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 David Ward 2024-01-22 11:33:34 UTC
The sysusers_create_compat macro was added to epel-rpm-macros 7 and 8, to support current packaging guidelines (see bug 2000406).

However the version that was added does not properly handle secondary group memberships (lines beginning with 'm'). This was later fixed for Fedora here:
https://src.fedoraproject.org/rpms/systemd/c/f27d461663bec17ad64422682f260f0020ccc7f7

Please either backport this single change to EPEL 7 and 8, or (if possible) update the entire macro.

Comment 1 Maxwell G 2024-01-22 16:30:55 UTC
I submitted https://src.fedoraproject.org/rpms/epel-rpm-macros/pull-request/77, but it needs to be tested