Bug 5668 - [Anolis8.8][x86]8.8最新的容器镜像启动后,yum命令无法使用,且会产生coredump
Summary: [Anolis8.8][x86]8.8最新的容器镜像启动后,yum命令无法使用,且会产生coredump
Status: CLOSED FIXED
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 8.8
Hardware: All Linux
: P1-Urgent S1-blocker
Target Milestone: ---
Assignee: gaochang
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-28 17:43 UTC by yunmeng365524
Modified: 2023-06-28 20:19 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-28 17:43:42 UTC
Description of problem:
8.8最新的容器镜像启动后,yum命令无法使用,且会产生coredump

Version-Release number of selected component (if applicable):
[root@98dbc0433aa5 /]# cat /etc/os-release
NAME="Anolis OS"
VERSION="8.8"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.8"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.8"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

[root@98dbc0433aa5 /]# uname -a
Linux 98dbc0433aa5 5.10.134-14.an23.x86_64 #1 SMP Thu Apr 27 16:42:16 CST 2023 x86_64 x86_64 x86_64 GNU/Linux

How reproducible:
下载最新的容器镜像启动后,执行yum命令
[root@iZbp17o07xpb4pve9yqsnaZ home]# docker run -it openanolis/anolisos bash
Unable to find image 'openanolis/anolisos:latest' locally
latest: Pulling from openanolis/anolisos
54273d8675f3: Pull complete
Digest: sha256:b5aceb026244814de1a1ab62a8cc3dc322fcff1578c58de2722035ef47669da5
Status: Downloaded newer image for openanolis/anolisos:latest
[root@98dbc0433aa5 /]#
[root@98dbc0433aa5 /]#
[root@98dbc0433aa5 /]# yum install attr
AnolisOS-8 - AppStream                                                                                                                                                                                                       29 MB/s |  10 MB     00:00
AnolisOS-8 - BaseOS                                                                                                                                                                                                          30 MB/s | 6.8 MB     00:00
AnolisOS-8 - Extras                                                                                                                                                                                                         283 kB/s |  19 kB     00:00
AnolisOS-8 - PowerTools                                                                                                                                                                                                      11 MB/s | 1.6 MB     00:00
terminate called after throwing an instance of 'libdnf::ModulePackageContainer::ResolveException'
  what():  Failed to update from string: Parser error
Aborted (core dumped)

coredump信息如下:
[root@iZbp17o07xpb4pve9yqsnaZ home]# coredumpctl list
TIME                           PID UID GID SIG     COREFILE EXE                              SIZE
Wed 2023-06-28 17:34:47 CST 833295   0   0 SIGABRT present  /usr/libexec/platform-python3.6 14.3M
[root@iZbp17o07xpb4pve9yqsnaZ home]# coredumpctl info 833295
           PID: 833295 (yum)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 6 (ABRT)
     Timestamp: Wed 2023-06-28 17:34:47 CST (3min 9s ago)
  Command Line: /usr/libexec/platform-python /usr/bin/yum install attr
    Executable: /usr/libexec/platform-python3.6
 Control Group: /system.slice/docker-98dbc0433aa5b45644642de322e6d416697a14c69426879a7c7fa3bd9983e243.scope
          Unit: docker-98dbc0433aa5b45644642de322e6d416697a14c69426879a7c7fa3bd9983e243.scope
         Slice: system.slice
       Boot ID: 9a122e547e434fbdb1d569824071b987
    Machine ID: 28eb6b508e01497e94e38583f6164f6b
      Hostname: 98dbc0433aa5
       Storage: /var/lib/systemd/coredump/core.yum.0.9a122e547e434fbdb1d569824071b987.833295.1687944887000000.zst (present)
  Size on Disk: 14.3M
       Message: Process 833295 (yum) of user 0 dumped core.

                Stack trace of thread 13:
                #0  0x00007f8e54e4ea9f n/a (/usr/lib64/libc-2.28.so + 0x4ea9f)
                ELF object binary architecture: AMD x86-64
[root@iZbp17o07xpb4pve9yqsnaZ home]#

Steps to Reproduce:
如上

Actual results:
yum命令不可用

Expected results:
yum命令正常执行

Additional info:
Comment 1 yunmeng365524 2023-06-28 20:19:24 UTC
suhui说是仓的问题,已经修复
[root@iZbp17o07xpb4pve9yqsnaZ pytorch]# docker run -it openanolis/anolisos bash
[root@a2906a165e9f /]# yum install attr
AnolisOS-8 - AppStream                                                                                                                                                                                                       21 MB/s |  10 MB     00:00
AnolisOS-8 - BaseOS                                                                                                                                                                                                          32 MB/s | 6.8 MB     00:00
AnolisOS-8 - Extras                                                                                                                                                                                                         294 kB/s |  19 kB     00:00
AnolisOS-8 - PowerTools                                                                                                                                                                                                      13 MB/s | 1.6 MB     00:00
Dependencies resolved.
============================================================================================================================================================================================================================================================
 Package                                                  Architecture                                               Version                                                               Repository                                                  Size
============================================================================================================================================================================================================================================================
Installing:
 attr                                                     x86_64                                                     2.4.48-3.0.1.an8                                                      BaseOS                                                      63 k

Transaction Summary
============================================================================================================================================================================================================================================================
Install  1 Package

Total download size: 63 k
Installed size: 152 k
Is this ok [y/N]: y
Downloading Packages:
attr-2.4.48-3.0.1.an8.x86_64.rpm                                                                                                                                                                                            681 kB/s |  63 kB     00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                       674 kB/s |  63 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                                    1/1
  Installing       : attr-2.4.48-3.0.1.an8.x86_64                                                                                                                                                                                                       1/1
  Running scriptlet: attr-2.4.48-3.0.1.an8.x86_64                                                                                                                                                                                                       1/1
  Verifying        : attr-2.4.48-3.0.1.an8.x86_64                                                                                                                                                                                                       1/1

Installed:
  attr-2.4.48-3.0.1.an8.x86_64

Complete!
[root@a2906a165e9f /]# exit
exit