8.10. Removing the live patching package
Disable the Red Hat Enterprise Linux kernel live patching solution by removing the live patching package.
Prerequisites
- You have root permissions on the system.
- The live patching package is installed.
Procedure
Select the live patching package:
# dnf list installed | grep kpatch-patch kpatch-patch-6.12.0-0.el10_0.x86_64 0-0.el10 @@commandline …The example output lists live patching packages that you installed.
Remove the live patching package:
# dnf remove kpatch-patch-6.12.0-0.el10_0.x86_64When a live patching package is removed, the kernel remains patched until the next reboot, but the kernel patch module is removed from disk. On future reboot, the corresponding kernel will no longer be patched.
- Reboot your system.
Verify the live patching package is removed:
# dnf list installed | grep kpatch-patchThe command displays no output if the package has been successfully removed.
Verification
Verify the kernel live patching solution is disabled:
# kpatch list Loaded patch modules:The example output shows that the kernel is not patched and the live patching solution is not active because there are no patch modules that are currently loaded.
Currently, Red Hat does not support reverting live patches without rebooting your system. In case of any issues, contact our support team.