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 2160152 - managing modules is not idempotent
Summary: managing modules is not idempotent
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rhel-system-roles
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.2
Assignee: Rich Megginson
QA Contact: Evgeny Fedin
Laura Onduskova
URL:
Whiteboard: role:selinux
Depends On:
Blocks: 2164879
TreeView+ depends on / blocked
 
Reported: 2023-01-11 15:25 UTC by Rich Megginson
Modified: 2023-10-09 12:51 UTC (History)
4 users (show)

Fixed In Version: rhel-system-roles-1.21.0-0.17.el9
Doc Type: Bug Fix
Doc Text:
.The `selinux` role now manages policy modules idempotently Previously, the `selinux` role copied an existing module to the managed node every time, reporting a change even when the module was already present. With this update, the `selinux` role checks if the module has been installed on the managed node, and does not attempt to copy and install the module if it is already installed.
Clone Of:
: 2164879 (view as bug list)
Environment:
Last Closed: 2023-05-09 07:38:27 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linux-system-roles selinux issues 133 0 None open Load module task not idempotent 2023-01-11 15:27:31 UTC
Github linux-system-roles selinux pull 144 0 None open WIP: Use selinux facts to compare module checksums before copying to a node 2023-01-31 21:54:56 UTC
Red Hat Issue Tracker NMT-192 0 None None None 2023-01-26 19:41:03 UTC
Red Hat Issue Tracker RHELPLAN-144856 0 None None None 2023-01-11 15:31:14 UTC
Red Hat Product Errata RHEA-2023:2246 0 None None None 2023-05-09 07:38:44 UTC

Description Rich Megginson 2023-01-11 15:25:40 UTC
Managing modules reports changed every time even when the module has not changed.  Managing modules should be idempotent

Comment 11 errata-xmlrpc 2023-05-09 07:38:27 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 (rhel-system-roles 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/RHEA-2023:2246


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