Bug 2217149

Summary: [spec] sysusers.generate-pre.sh macro script outdated and faulty
Product: Red Hat Enterprise Linux 9 Reporter: Christian Glombek <cglombek>
Component: systemdAssignee: Jan Macku <jamacku>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: ansasaki, cglombek, dustymabe, jamacku, ken, mosvald, systemd-maint-list, travier, vashirov
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-252-16.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-07 08:54:09 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:
Bug Depends On:    
Bug Blocks: 2095381    

Description Christian Glombek 2023-06-24 13:35:05 UTC
Description of problem:
Upstream changes to the sysusers.generate-pre.sh script have not been backported to C9S. This causes problems like the one reported in https://github.com/openshift/os/issues/1274.

This is already fixed upstream.


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



How reproducible:
Consume with rpm-ostree any RPM that uses the %sysusers_compat macro in %post to process a sysusers config file with an `m` directive, e.g. openvswitch


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Timothée Ravier 2023-06-26 13:00:32 UTC
For RHCOS as part of OpenShift, we'll need this backported to RHEL 9.2.

Comment 3 Jan Macku 2023-06-26 13:19:57 UTC
We forgot to rebase the sysusers.generate-pre.sh script when rebasing systemd in 9.2. I'll make sure it will get fixed in 9.2 and 9.3.

Comment 6 David Tardon 2023-07-25 08:21:49 UTC
*** Bug 2225157 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2023-11-07 08:54:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (systemd bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6640