Bug 5386 - [Anolis23 GA][x86/arm]当前源缺少kpatch软件包
Summary: [Anolis23 GA][x86/arm]当前源缺少kpatch软件包
Status: CLOSED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.0
Hardware: All Linux
: P2-High S2-major
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-02 15:01 UTC by yunmeng365524
Modified: 2023-06-27 14:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yunmeng365524 2023-06-02 15:01:41 UTC
Description of problem:
当前源缺少kpatch软件包

Version-Release number of selected component (if applicable):
[root@iZbp15k38m0xei9mfnkl3aZ ~]# uname -a
Linux iZbp15k38m0xei9mfnkl3aZ 5.10.134-14.an23.x86_64 #1 SMP Thu Apr 27 16:42:16 CST 2023 x86_64 GNU/Linux
[root@iZbp15k38m0xei9mfnkl3aZ ~]# cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

How reproducible:
[root@iZbp15k38m0xei9mfnkl3aZ ~]# yum search kpatch
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:08:54 ago on Fri Jun  2 14:44:14 2023.
=============================================== Name & Summary Matched: kpatch ================================================
kpatch-build.src : kpatch - live kernel patching
kpatch-build.x86_64 : kpatch - live kernel patching

Steps to Reproduce:
如上,可以看出当前只有kpatch-build软件包

Actual results:
没有kpatch软件包

Expected results:
跟release note中3.5.1 应用工具的“集成热补丁工具”描述保持一致。
https://gitee.com/happy_orange/rnotes/blob/master/anolis/rnotes/anolis-23.0-ga.md#373-ai-%E5%9C%BA%E6%99%AF


Additional info:
Comment 1 happy_orange alibaba_cloud_group 2023-06-09 14:12:53 UTC
kpatch 软件已经编译完成:http://8.131.87.1/koji/buildinfo?buildID=30992
待进行正式发布到 nightly mirror 中。
Comment 3 yunmeng365524 2023-06-27 14:32:00 UTC
回归通过
[root@iZbp18zpeh3mcx8x8tilxdZ yum.repos.d]# yum install -y kpatch
Last metadata expiration check: 0:06:33 ago on Tue 27 Jun 2023 02:25:03 PM CST.
Dependencies resolved.
============================================================================================================================================================================================================================================================
 Package                                                      Architecture                                             Version                                                          Repository                                                     Size
============================================================================================================================================================================================================================================================
Installing:
 kpatch                                                       noarch                                                   0.9.4-1.an23                                                     BaseOS-Test                                                    13 k
Installing weak dependencies:
 kpatch-dnf                                                   noarch                                                   0.4-1.an23                                                       BaseOS-Test                                                    14 k

Transaction Summary
============================================================================================================================================================================================================================================================
Install  2 Packages

Total download size: 28 k
Installed size: 33 k
Downloading Packages:
(1/2): kpatch-0.9.4-1.an23.noarch.rpm                                                                                                                                                                                       392 kB/s |  13 kB     00:00
(2/2): kpatch-dnf-0.4-1.an23.noarch.rpm                                                                                                                                                                                     382 kB/s |  14 kB     00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                       701 kB/s |  28 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                                    1/1
  Installing       : kpatch-dnf-0.4-1.an23.noarch                                                                                                                                                                                                       1/2
  Running scriptlet: kpatch-dnf-0.4-1.an23.noarch                                                                                                                                                                                                       1/2
To enable automatic kpatch-patch subscription, run:
	$ dnf kpatch auto

  Installing       : kpatch-0.9.4-1.an23.noarch                                                                                                                                                                                                         2/2
  Running scriptlet: kpatch-0.9.4-1.an23.noarch                                                                                                                                                                                                         2/2
  Verifying        : kpatch-0.9.4-1.an23.noarch                                                                                                                                                                                                         1/2
  Verifying        : kpatch-dnf-0.4-1.an23.noarch                                                                                                                                                                                                       2/2

Installed:
  kpatch-0.9.4-1.an23.noarch                                                                                                  kpatch-dnf-0.4-1.an23.noarch

Complete!
[root@iZbp18zpeh3mcx8x8tilxdZ yum.repos.d]# yum erase -y kpatch
Dependencies resolved.
============================================================================================================================================================================================================================================================
 Package                                                      Architecture                                             Version                                                         Repository                                                      Size
============================================================================================================================================================================================================================================================
Removing:
 kpatch                                                       noarch                                                   0.9.4-1.an23                                                    @BaseOS-Test                                                    17 k
Removing unused dependencies:
 kpatch-dnf                                                   noarch                                                   0.4-1.an23                                                      @BaseOS-Test                                                    15 k

Transaction Summary
============================================================================================================================================================================================================================================================
Remove  2 Packages

Freed space: 33 k
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                                    1/1
  Erasing          : kpatch-0.9.4-1.an23.noarch                                                                                                                                                                                                         1/2
  Erasing          : kpatch-dnf-0.4-1.an23.noarch                                                                                                                                                                                                       2/2
  Running scriptlet: kpatch-dnf-0.4-1.an23.noarch                                                                                                                                                                                                       2/2
  Verifying        : kpatch-0.9.4-1.an23.noarch                                                                                                                                                                                                         1/2
  Verifying        : kpatch-dnf-0.4-1.an23.noarch                                                                                                                                                                                                       2/2

Removed:
  kpatch-0.9.4-1.an23.noarch                                                                                                  kpatch-dnf-0.4-1.an23.noarch

Complete!