Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-79505

[RHEL9.6 image mode] "System has not been booted with systemd as init system (PID 1). Can't operate." observed during podman build process

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.6
    • nvme-cli
    • None
    • No
    • None
    • rhel-storage-io-2
    • ssg_platform_storage
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      Steps to reproduce

      # [yizhan@yizhan-image-mode ~]$ cat Dockerfiles/rhel.repo
      [BaseOS]
      name=BaseOS
      baseurl=https://download-01.eng.brq.redhat.com/rhel-9/nightly/RHEL-9/latest-RHEL-9/compose/BaseOS/$basearch/os
      enabled=1
      gpgcheck=0
      sslverify=0
      
      [AppStream]
      name=AppStream
      baseurl=https://download-01.eng.brq.redhat.com/rhel-9/nightly/RHEL-9/latest-RHEL-9/compose/AppStream/$basearch/os
      enabled=1
      gpgcheck=0
      sslverify=0
      
      # [yizhan@yizhan-image-mode ~]$ cat Dockerfiles/rhel9.6
      FROM registry.stage.redhat.io/rhel9/rhel-bootc:9.6
      # install required packages
      ADD ./rhel.repo /etc/yum.repos.d/rhel.repo
      RUN dnf -y install nvme-cli nvmetcli gcc gcc-c++ fio blktrace ndctl git vim mdadm targetcli iscsi-initiator-utils iscsi-initiator-utils-iscsiuio
      RUN dnf clean all
      # [yizhan@yizhan-image-mode ~]$ podman build -t quay.io/storageqe/rhel-bootc:9.6-nvme  -f Dockerfiles/rhel9.6
      # check the build log
      

      Expected results

      Actual results

        Upgrading        : nvme-cli-2.11-5.el9.x86_64                         142/143
        Running scriptlet: nvme-cli-2.11-5.el9.x86_64                         142/143
      System has not been booted with systemd as init system (PID 1). Can't operate.
      Failed to connect to bus: Host is down
      Failed to send reload request: No such file or directory
      
        Cleanup          : nvme-cli-2.11-4.el9.x86_64                         143/143
        Running scriptlet: fontconfig-2.14.0-2.el9_1.x86_64                   143/143
        Running scriptlet: nvme-cli-2.11-4.el9.x86_64                         143/143
      

              mlombard@redhat.com Maurizio Lombardi
              yizhan@redhat.com Yi Zhang
              Maurizio Lombardi Maurizio Lombardi
              Yi Zhang Yi Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: