Add microcode_ctl to a reboot list
Resolves: RHEL-17356
This commit is contained in:
parent
1569be61da
commit
89e8cd3565
@ -0,0 +1,40 @@
|
|||||||
|
From e1af3642a7811229567284f6901d393a6ce28b62 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||||
|
Date: Thu, 23 Nov 2023 16:26:06 +0100
|
||||||
|
Subject: [PATCH] needs-restarting: Add microcode_ctl to a reboot list
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
commit 9f46488c6b1ac553989a3fd8a9ea18271451c5e8 upstream.
|
||||||
|
|
||||||
|
To fully update CPU microcode, a reboot is needed because the
|
||||||
|
microcode update should be applied before starting a kernel and other
|
||||||
|
process.
|
||||||
|
|
||||||
|
Therefore recommend a reboot after installing or updating
|
||||||
|
microcode_ctl package.
|
||||||
|
|
||||||
|
https://issues.redhat.com/browse/RHEL-17356
|
||||||
|
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||||
|
---
|
||||||
|
plugins/needs_restarting.py | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/plugins/needs_restarting.py b/plugins/needs_restarting.py
|
||||||
|
index 64d4d0f..92cde0a 100644
|
||||||
|
--- a/plugins/needs_restarting.py
|
||||||
|
+++ b/plugins/needs_restarting.py
|
||||||
|
@@ -40,7 +40,8 @@ import time
|
||||||
|
# For which package updates we should recommend a reboot
|
||||||
|
# Mostly taken from https://access.redhat.com/solutions/27943
|
||||||
|
NEED_REBOOT = ['kernel', 'kernel-rt', 'glibc', 'linux-firmware',
|
||||||
|
- 'systemd', 'dbus', 'dbus-broker', 'dbus-daemon']
|
||||||
|
+ 'systemd', 'dbus', 'dbus-broker', 'dbus-daemon',
|
||||||
|
+ 'microcode_ctl']
|
||||||
|
|
||||||
|
NEED_REBOOT_DEPENDS_ON_DBUS = ['zlib']
|
||||||
|
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
Name: dnf-plugins-core
|
Name: dnf-plugins-core
|
||||||
Version: 4.0.21
|
Version: 4.0.21
|
||||||
Release: 24%{?dist}
|
Release: 25%{?dist}
|
||||||
Summary: Core Plugins for DNF
|
Summary: Core Plugins for DNF
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/rpm-software-management/dnf-plugins-core
|
URL: https://github.com/rpm-software-management/dnf-plugins-core
|
||||||
@ -74,6 +74,7 @@ Patch32: 0032-Doc-update-for-reposync-RhBug-2132383-2182004.patch
|
|||||||
Patch33: 0033-Add-fix-and-test-assertion-for-no-systemd-unit-exist.patch
|
Patch33: 0033-Add-fix-and-test-assertion-for-no-systemd-unit-exist.patch
|
||||||
Patch34: 0034-Fix-zlib-reboot-requirement-RhBug-2092033.patch
|
Patch34: 0034-Fix-zlib-reboot-requirement-RhBug-2092033.patch
|
||||||
Patch35: 0035-Fix-for-issue-with-binary-garbage-in-smaps-files.patch
|
Patch35: 0035-Fix-for-issue-with-binary-garbage-in-smaps-files.patch
|
||||||
|
Patch36: 0036-needs-restarting-Add-microcode_ctl-to-a-reboot-list.patch
|
||||||
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -850,6 +851,9 @@ ln -sf %{_mandir}/man1/%{yum_utils_subpackage_name}.1.gz %{buildroot}%{_mandir}/
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 15 2024 Petr Pisar <ppisar@redhat.com> - 4.0.21-25
|
||||||
|
- Add microcode_ctl to a reboot list (RHEL-17356)
|
||||||
|
|
||||||
* Mon Oct 16 2023 Jaroslav Rohel <jrohel@redhat.com> - 4.0.21-24
|
* Mon Oct 16 2023 Jaroslav Rohel <jrohel@redhat.com> - 4.0.21-24
|
||||||
- Fix for strange issue with binary garbage in smaps files (RHEL-6392, RhBug:2212953)
|
- Fix for strange issue with binary garbage in smaps files (RHEL-6392, RhBug:2212953)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user