Bug 2259606 - Fix sysusers_create_compat macro to handle secondary group memberships
Summary: Fix sysusers_create_compat macro to handle secondary group memberships
Keywords:
Status: POST
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: epel-rpm-macros
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-22 11:33 UTC by David Ward
Modified: 2024-01-22 16:30 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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