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: VERIFIED --- QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: cglombek, dustymabe, 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: 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. ***