View Issue Details

IDProjectCategoryView StatusLast Update
0000270Rocky-Linux-9podmanpublic2022-08-31 01:08
ReporterJohn Lee Assigned ToLouis Abel  
PriorityurgentSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
OSrocky-linuxOS Version9.0 
Summary0000270: Rocky Linux 9 Podman无法成功启动
Description【ZH-CN】我已经更新了container-selinux的最新版本了,并且执行了yum update -y,然后重启系统,发现podman服务仍然无法正常启动!
------------------------------------------------------------------------------------------------------------------------------------------------
【EN】I had update container-selinux to version 2.189, and execute yum install -y to update the system components to the latest, and reboot the system, But finally I still can not start podman service normallly!
Steps To Reproduce[root@rocky-9 net.d]# rpm -qa container-selinux
container-selinux-2.189.0-1.el9.noarch

[root@rocky-9 net.d]# systemctl status podman.service
● podman.service - Podman API Service
     Loaded: loaded (/usr/lib/systemd/system/podman.service; disabled; vendor preset: disabled)
     Active: active (running) since Wed 2022-08-31 16:33:33 CST; 1ms ago
TriggeredBy: ● podman.socket
       Docs: man:podman-system-service(1)
   Main PID: 45751 (podman)
      Tasks: 1 (limit: 50279)
     Memory: 492.0K
        CPU: 2ms
     CGroup: /system.slice/podman.service
             └─45751 /usr/bin/podman --log-level=info system service

8月 31 16:33:33 rocky-9.0 systemd[1]: Starting Podman API Service...
8月 31 16:33:33 rocky-9.0 systemd[1]: Started Podman API Service.

[root@rocky-9 net.d]# systemctl status podman.service
● podman.service - Podman API Service
     Loaded: loaded (/usr/lib/systemd/system/podman.service; disabled; vendor preset: disabled)
     Active: active (running) since Wed 2022-08-31 16:33:50 CST; 243ms ago
TriggeredBy: ● podman.socket
       Docs: man:podman-system-service(1)
   Main PID: 47014
      Tasks: 2 (limit: 50279)
     Memory: 23.3M
        CPU: 272ms
     CGroup: /system.slice/podman.service

8月 31 16:33:50 rocky-9.0 systemd[1]: podman.service: Failed with result 'exit-code'.
8月 31 16:33:50 rocky-9.0 systemd[1]: Starting Podman API Service...
8月 31 16:33:50 rocky-9.0 systemd[1]: Started Podman API Service.
8月 31 16:33:50 rocky-9.0 podman[47014]: time="2022-08-31T16:33:50+08:00" level=info msg="/usr/bin/podman filtering at log level info"
8月 31 16:33:50 rocky-9.0 podman[47014]: time="2022-08-31T16:33:50+08:00" level=info msg="Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLA>
8月 31 16:33:50 rocky-9.0 podman[47014]: Error: error opening "/etc/cni/net.d/cni.lock": permission denied
8月 31 16:33:50 rocky-9.0 systemd[1]: podman.service: Main process exited, code=exited, status=125/n/a
8月 31 16:33:50 rocky-9.0 systemd[1]: podman.service: Failed with result 'exit-code'.
TagsNo tags attached.

Relationships

has duplicate 0000271 closedLouis Abel Rocky Linux 9 Podman无法成功启动 

Activities

Louis Abel

Louis Abel

2022-08-31 01:08

administrator   ~0000489

Hello.

Based on the information provided in this bug report, it appears you may be mixing packages between Rocky Linux 9 and CentOS Stream 9, which is not recommended. We are also unable to reproduce your issue with the default packages provided by our repositories.

[root@awx ~]# dnf install container-tools -y --quiet
[root@awx ~]# dnf history info last
Transaction ID : 21
Begin time : Tue 30 Aug 2022 05:44:05 PM MST
Begin rpmdb : 9471a68ba877f64fd802559d871b9522cf32937782488b37925a25bbc3192e42
End time : Tue 30 Aug 2022 05:45:09 PM MST (64 seconds)
End rpmdb : 7fa47b8dfce67515c3045d09852eec0844921747a1cbb955caa1636bf138e35d
User : Louis Abel <label>
Return-Code : Success
Releasever : 9
Command Line : install container-tools
Comment :
Packages Altered:
    Install shadow-utils-subid-2:4.9-3.el9.x86_64 @baseos
    Install python3-podman-3:4.0.0-1.el9.noarch @appstream
    Install container-tools-1-10.el9.noarch @appstream
    Install udica-0.2.6-4.el9.noarch @appstream
    Install python3-pyxdg-0.27-3.el9.noarch @appstream
    Install cockpit-podman-43-1.el9_0.noarch @appstream
    Install container-selinux-3:2.188.0-1.el9_0.noarch @appstream
    Install containernetworking-plugins-1.0.1-3.el9.x86_64 @appstream
    Install fuse-overlayfs-1.9-1.el9_0.x86_64 @appstream
    Install conmon-2:2.1.2-2.el9_0.x86_64 @appstream
    Install buildah-1:1.26.2-1.el9_0.x86_64 @appstream
    Install skopeo-2:1.8.0-4.el9_0.x86_64 @appstream
    Install python3-toml-0.10.2-6.el9.noarch @appstream
    Install slirp4netns-1.2.0-2.el9_0.x86_64 @appstream
    Install podman-remote-2:4.1.1-1.el9_0.x86_64 @appstream
    Install podman-catatonit-2:4.1.1-1.el9_0.x86_64 @appstream
    Install podman-2:4.1.1-1.el9_0.x86_64 @appstream
    Install podman-docker-2:4.1.1-1.el9_0.noarch @appstream
    Install runc-4:1.1.3-2.el9_0.x86_64 @appstream
    Install toolbox-0.0.99.3-3.el9_0.x86_64 @appstream
    Install criu-libs-3.15-13.el9.x86_64 @appstream
    Install criu-3.15-13.el9.x86_64 @appstream
    Install crun-1.4.5-2.el9_0.x86_64 @appstream
    Install libnet-1.2-6.el9.x86_64 @appstream
    Install netavark-2:1.0.1-36.el9_0.x86_64 @appstream
    Install containers-common-2:1-36.el9_0.x86_64 @appstream
    Install aardvark-dns-2:1.0.1-36.el9_0.x86_64 @appstream
    Install fuse3-libs-3.10.2-5.el9.x86_64 @appstream
    Install fuse3-3.10.2-5.el9.x86_64 @appstream

[root@awx ~]# systemctl start podman.service podman.socket
[root@awx ~]# systemctl status podman.service podman.socket
○ podman.service - Podman API Service
     Loaded: loaded (/usr/lib/systemd/system/podman.service; disabled; vendor preset: disabled)
     Active: inactive (dead) since Tue 2022-08-30 17:58:30 MST; 6min ago
TriggeredBy: ● podman.socket
       Docs: man:podman-system-service(1)
    Process: 47901 ExecStart=/usr/bin/podman $LOGGING system service (code=exited, status=0/SUCCESS)
   Main PID: 47901 (code=exited, status=0/SUCCESS)
        CPU: 97ms

Aug 30 17:58:24 awx.angelsofclockwork.net systemd[1]: Starting Podman API Service...
Aug 30 17:58:25 awx.angelsofclockwork.net systemd[1]: Started Podman API Service.
Aug 30 17:58:25 awx.angelsofclockwork.net podman[47901]: time="2022-08-30T17:58:25-07:00" level=info msg="/usr/bin/podman filtering at log level info"
Aug 30 17:58:25 awx.angelsofclockwork.net podman[47901]: time="2022-08-30T17:58:25-07:00" level=info msg="Not using native diff for overlay, this may cause degraded performance for building images:…CT_DIR enabled"Aug 30 17:58:25 awx.angelsofclockwork.net podman[47901]: time="2022-08-30T17:58:25-07:00" level=info msg="Setting parallel job count to 13"
Aug 30 17:58:25 awx.angelsofclockwork.net podman[47901]: time="2022-08-30T17:58:25-07:00" level=info msg="Using systemd socket activation to determine API endpoint"
Aug 30 17:58:25 awx.angelsofclockwork.net podman[47901]: time="2022-08-30T17:58:25-07:00" level=info msg="API service listening on \"/run/podman/podman.sock\". URI: \"/run/podman/podman.sock\""
Aug 30 17:58:25 awx.angelsofclockwork.net podman[47901]: time="2022-08-30T17:58:25-07:00" level=info msg="API service listening on \"/run/podman/podman.sock\""
Aug 30 17:58:30 awx.angelsofclockwork.net systemd[1]: podman.service: Deactivated successfully.

● podman.socket - Podman API Socket
     Loaded: loaded (/usr/lib/systemd/system/podman.socket; disabled; vendor preset: disabled)
     Active: active (listening) since Tue 2022-08-30 17:58:24 MST; 6min ago
      Until: Tue 2022-08-30 17:58:24 MST; 6min ago
   Triggers: ● podman.service
       Docs: man:podman-system-service(1)
     Listen: /run/podman/podman.sock (Stream)
     CGroup: /system.slice/podman.socket

Aug 30 17:58:24 awx.angelsofclockwork.net systemd[1]: Listening on Podman API Socket.
Hint: Some lines were ellipsized, use -l to show in full.

Issue History

Date Modified Username Field Change
2022-08-31 00:38 John Lee New Issue
2022-08-31 00:55 John Lee Issue cloned: 0000271
2022-08-31 00:59 Louis Abel Relationship added has duplicate 0000271
2022-08-31 01:08 Louis Abel Assigned To => Louis Abel
2022-08-31 01:08 Louis Abel Status new => closed
2022-08-31 01:08 Louis Abel Resolution open => unable to reproduce
2022-08-31 01:08 Louis Abel Note Added: 0000489