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 2042424 - kernel-tools does not perform a daemon reload when installed/upgraded
Summary: kernel-tools does not perform a daemon reload when installed/upgraded
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: kernel
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jarod Wilson
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-19 13:57 UTC by Daniel Juarez
Modified: 2022-11-08 11:39 UTC (History)
6 users (show)

Fixed In Version: kernel-4.18.0-421.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-08 10:18:41 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/rhel/src/kernel rhel-8 merge_requests 3164 0 None None None 2022-07-27 21:50:10 UTC
Red Hat Bugzilla 2042340 1 unspecified CLOSED kernel-tools does not perform a daemon reload when installed/upgraded 2023-09-13 07:40:01 UTC
Red Hat Issue Tracker RHELPLAN-108713 0 None None None 2022-01-19 14:04:31 UTC
Red Hat Product Errata RHSA-2022:7683 0 None None None 2022-11-08 10:19:24 UTC

Internal Links: 2042340

Description Daniel Juarez 2022-01-19 13:57:28 UTC
With a recent upgrade of the kernel-tools package we see the following.

root@testnode ~]# systemctl status cpupower.service
● cpupower.service - Configure CPU power related settings
Loaded: loaded (/usr/lib/systemd/system/cpupower.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Warning: cpupower.service changed on disk. Run 'systemctl daemon-reload' to reload units.

There seems to be no `systemctl daemon-reload`in the RPM scriptlet of this package.

In the %post part of the corresponding specfile there seems to miss a daemon reload, just where the following is specified:

```
%if %{with_tools}
%post -n %{name}-tools-libs
/sbin/ldconfig
```

For the record this issue is fixed in CentOS Stream 9: https://gitlab.com/redhat/centos-stream/rpms/kernel-tools/-/blob/c9s/kernel-tools.spec#L400

Comment 9 errata-xmlrpc 2022-11-08 10:18:41 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 (Moderate: kernel security, 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/RHSA-2022:7683


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