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

  1. 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.

  2. Remove the live patching package:

    # dnf remove kpatch-patch-6.12.0-0.el10_0.x86_64

    When 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.

  3. Reboot your system.
  4. Verify the live patching package is removed:

    # dnf list installed | grep kpatch-patch

    The command displays no output if the package has been successfully removed.

Verification

  1. 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.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部