RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2217149 - [spec] sysusers.generate-pre.sh macro script outdated and faulty
Summary: [spec] sysusers.generate-pre.sh macro script outdated and faulty
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: systemd
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Macku
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
: 2225157 (view as bug list)
Depends On:
Blocks: 2095381
TreeView+ depends on / blocked
 
Reported: 2023-06-24 13:35 UTC by Christian Glombek
Modified: 2023-11-07 11:32 UTC (History)
9 users (show)

Fixed In Version: systemd-252-16.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-07 08:54:09 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift os issues 1274#issuecomment-1597742858 0 None open More openvswitch woes 2023-06-24 13:35:05 UTC
Gitlab redhat/centos-stream/rpms systemd merge_requests 79 0 None opened Backport changes to sysusers.generate-pre.sh 2023-06-24 13:40:52 UTC
Red Hat Issue Tracker RHELPLAN-160663 0 None None None 2023-06-24 13:38:11 UTC
Red Hat Product Errata RHBA-2023:6640 0 None None None 2023-11-07 08:54:41 UTC

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


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