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

bootc-destructive-cleanup.service: Unable to locate executable '/usr/lib/bootc/fedora-bootc-destructive-cleanup': No such file or directory

Linking RHIVOS CVEs to...Migration: Automation ...RHELPRIO AssignedTeam ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.2
    • bootc
    • None
    • None
    • None
    • rhel-image-mode
    • 3
    • False
    • False
    • Hide

      None

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

      system-reinstall-bootc was used, but we do not have a Jira component for that so using bootc.

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

      Convert a RHEL 10 rpm system to an image mode system. On reboot these two systemd services (+ a custom one I had added to the container) failed to boot:

        bootc-destructive-cleanup.service
        bootc-publish-rhsm-facts.service

      What is the impact of this issue to you?

      I am not sure what this is suppose to do, but this is the output of the failed services:

      [root@realtime-03 ~]# journalctl -u bootc-destructive-cleanup.service -b --no-pager
      Nov 25 16:00:01 localhost systemd[1]: Starting bootc-destructive-cleanup.service - Cleanup previous the installation after an alongside installation...
      Nov 25 16:00:01 localhost (-cleanup)[1900]: bootc-destructive-cleanup.service: Unable to locate executable '/usr/lib/bootc/fedora-bootc-destructive-cleanup': No such file or directory
      Nov 25 16:00:01 localhost (-cleanup)[1900]: bootc-destructive-cleanup.service: Failed at step EXEC spawning /usr/lib/bootc/fedora-bootc-destructive-cleanup: No such file or directory
      Nov 25 16:00:01 localhost systemd[1]: bootc-destructive-cleanup.service: Main process exited, code=exited, status=203/EXEC
      Nov 25 16:00:01 localhost systemd[1]: bootc-destructive-cleanup.service: Failed with result 'exit-code'.
      Nov 25 16:00:01 localhost systemd[1]: Failed to start bootc-destructive-cleanup.service - Cleanup previous the installation after an alongside installation. 
      [root@realtime-03 bound-images.d]# journalctl -u bootc-publish-rhsm-facts.service -b --no-pager
      Nov 25 16:00:01 localhost systemd[1]: Starting bootc-publish-rhsm-facts.service - Publish bootc facts to Red Hat Subscription Manager...
      Nov 25 16:00:01 localhost bootc[1901]: error: unrecognized subcommand 'publish-rhsm-facts'
      Nov 25 16:00:01 localhost bootc[1901]: Usage: bootc internals <COMMAND>
      Nov 25 16:00:01 localhost bootc[1901]: For more information, try '--help'.
      Nov 25 16:00:01 localhost systemd[1]: bootc-publish-rhsm-facts.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
      Nov 25 16:00:01 localhost systemd[1]: bootc-publish-rhsm-facts.service: Failed with result 'exit-code'.
      Nov 25 16:00:01 localhost systemd[1]: Failed to start bootc-publish-rhsm-facts.service - Publish bootc facts to Red Hat Subscription Manager.
       

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

      bootc 1.10.0
      Note: the latest version of system-reinstall-bootc in RHEL 10 y-stream was used to convert this image as of 2025 Nov 25.

      How reproducible is this bug?:

      It seems to happen on every boot.

      Steps to reproduce
      Prepare a RHEL10 system for image mode.
      system-reinstall-bootc quay.io/jwyatt/builds:jw-rhel10-rt-image (see below for container file)
      ssh into the machine and see the failed boot units.
      Expected results
      For the systemd units not to fail.
      Actual results
      Failed units: one of them seems to be very dependent on a file named with the word 'fedora'.

      Containerfile

      FROM images.paas.redhat.com/bootc/rhel-bootc:latest-10
      COPY dotfile_rh.repo /etc/yum.repos.d/
      RUN dnf remove -y kernel{,-core,-modules,-modules-core} && \
          dnf install -y kernel-rt kernel-rt-debuginfo tuned realtime-tests rtla rteval rteval-loads && \
          dnf install -y stress-ng tuna tmux vim system-reinstall-bootc glibc-debuginfo && \
          dnf -y update && \
          dnf -y clean all
      RUN systemctl enable tuned
      RUN systemctl disable irqbalance
      COPY rt-post-install-tuning.service /usr/lib/systemd/system/rt-post-install-tuning.service
      COPY --chmod=0755 rt-tuning-first-boot.sh /usr/local/sbin/custom-rt-tuning-first-boot.sh
      RUN systemctl enable rt-post-install-tuning# Install the real-time kernel and its dependencies
      #RUN dnf groupinstall -y 'RT' && \
      #    dnf clean all# Set the real-time kernel as the default
      # The installation of the 'RT' group usually sets the RT kernel as default.
      # This command explicitly ensures it.
      #RUN grub2-set-default 'Red Hat Enterprise Linux (kernel-rt)' || \
      #    echo "Default kernel set by group install"

       
      rt-post-install-tuning.service

      [Unit]
      Description=Service to RH/CentOS RT after installation of bootc
      Requires=tuned.service
      After=tuned.service
      ConditionPathExists=!/var/lib/rt-post-install-tuning.done[Service]
      Type=oneshot
      ExecStart=/usr/local/sbin/custom-rt-tuning-first-boot.sh
      ExecStartPost=/usr/bin/touch /var/lib/rt-post-install-tuning.done
      RemainAfterExit=yes[Install]
      WantedBy=multi-user.target

      rt-tuning-first-boot.sh

      #!/bin/bash
      tuned-adm profile realtime

      dotfile-rh.repo

       

      [beaker-AppStream-debuginfo]
      name=beaker-AppStream-debuginfo
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/AppStream/x86_64/debug/tree
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      [beaker-AppStream]
      name=beaker-AppStream
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/AppStream/x86_64/os
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      [beaker-BaseOS-debuginfo]
      name=beaker-BaseOS-debuginfo
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/BaseOS/x86_64/debug/tree
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      [beaker-BaseOS]
      name=beaker-BaseOS
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/BaseOS/x86_64/os
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      [beaker-CRB-debuginfo]
      name=beaker-CRB-debuginfo
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/CRB/x86_64/debug/tree
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      [beaker-CRB]
      name=beaker-CRB
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/CRB/x86_64/os
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      [beaker-NFV-debuginfo]
      name=beaker-NFV-debuginfo
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/NFV/x86_64/debug/tree
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      [beaker-NFV]
      name=beaker-NFV
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/NFV/x86_64/os
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      [beaker-RT-debuginfo]
      name=beaker-RT-debuginfo
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/RT/x86_64/debug/tree
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      [beaker-RT]
      name=beaker-RT
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/RT/x86_64/os
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      [beaker-SAP-debuginfo]
      name=beaker-SAP-debuginfo
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/SAP/x86_64/debug/tree
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      [beaker-SAPHANA-debuginfo]
      name=beaker-SAPHANA-debuginfo
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/SAPHANA/x86_64/debug/tree
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      [beaker-SAPHANA]
      name=beaker-SAPHANA
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/SAPHANA/x86_64/os
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      [beaker-SAP]
      name=beaker-SAP
      baseurl=http://download.engineering.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10/compose/SAP/x86_64/os
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      
      [epel-modular]
      name=Extra Packages for Enterprise Linux Modular $releasever - x86_64
      #baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Modular/x86_64
      metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-modular-$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgcheck=0
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      [epel-modular-debuginfo]
      name=Extra Packages for Enterprise Linux Modular $releasever - x86_64 - Debug
      #baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Modular/x86_64/debug
      metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-modular-debug-$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      gpgcheck=0
      [epel-modular-source]
      name=Extra Packages for Enterprise Linux Modular $releasever - x86_64 - Source
      #baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Modular/SRPMS
      metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-modular-source-$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      gpgcheck=0
      [epel-playground]
      name=Extra Packages for Enterprise Linux $releasever - Playground - x86_64
      #baseurl=https://download.fedoraproject.org/pub/epel/playground/$releasever/Everything/x86_64/os
      metalink=https://mirrors.fedoraproject.org/metalink?repo=playground-epel$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgcheck=0
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      [epel-playground-debuginfo]
      name=Extra Packages for Enterprise Linux $releasever - Playground - x86_64 - Debug
      #baseurl=https://download.fedoraproject.org/pub/epel/playground/$releasever/Everything/x86_64/debug
      metalink=https://mirrors.fedoraproject.org/metalink?repo=playground-debug-epel$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      gpgcheck=0
      [epel-playground-source]
      name=Extra Packages for Enterprise Linux $releasever - Playground - x86_64 - Source
      #baseurl=https://download.fedoraproject.org/pub/epel/playground/$releasever/Everything/source/tree/
      metalink=https://mirrors.fedoraproject.org/metalink?repo=playground-source-epel$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      gpgcheck=0
      [epel]
      name=Extra Packages for Enterprise Linux $releasever - x86_64
      #baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/x86_64
      metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=1
      skip_if_unavailable=1
      gpgcheck=0
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      [epel-debuginfo]
      name=Extra Packages for Enterprise Linux $releasever - x86_64 - Debug
      #baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/x86_64/debug
      metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      gpgcheck=0
      [epel-source]
      name=Extra Packages for Enterprise Linux $releasever - x86_64 - Source
      #baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/SRPMS
      metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      gpgcheck=0
      [epel-testing-modular]
      name=Extra Packages for Enterprise Linux Modular $releasever - Testing - x86_64
      #baseurl=https://download.fedoraproject.org/pub/epel/testing/$releasever/Modular/x86_64
      metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-modular-epel$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgcheck=0
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      [epel-testing-modular-debuginfo]
      name=Extra Packages for Enterprise Linux Modular $releasever - Testing - x86_64 - Debug
      #baseurl=https://download.fedoraproject.org/pub/epel/testing/$releasever/Modular/x86_64/debug
      metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-modular-debug-epel$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      gpgcheck=0
      [epel-testing-modular-source]
      name=Extra Packages for Enterprise Linux Modular $releasever - Testing - x86_64 - Source
      #baseurl=https://download.fedoraproject.org/pub/epel/testing/$releasever/Modular/SRPMS
      metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-modular-source-epel$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      gpgcheck=0
      [epel-testing]
      name=Extra Packages for Enterprise Linux $releasever - Testing - x86_64
      #baseurl=https://download.fedoraproject.org/pub/epel/testing/$releasever/Everything/x86_64
      metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-epel$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgcheck=0
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      [epel-testing-debuginfo]
      name=Extra Packages for Enterprise Linux $releasever - Testing - x86_64 - Debug
      #baseurl=https://download.fedoraproject.org/pub/epel/testing/$releasever/Everything/x86_64/debug
      metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      gpgcheck=0
      [epel-testing-source]
      name=Extra Packages for Enterprise Linux $releasever - Testing - x86_64 - Source
      #baseurl=https://download.fedoraproject.org/pub/epel/testing/$releasever/Everything/SRPMS
      metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel$releasever&arch=x86_64&infra=$infra&content=$contentdir
      enabled=0
      skip_if_unavailable=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-10
      gpgcheck=0
      [rhel-buildroot]
      name=rhel-buildroot
      baseurl=http://download.eng.rdu2.redhat.com/rhel-10/nightly/BUILDROOT-10/latest-BUILDROOT-10-RHEL-10/compose/Buildroot/x86_64/os/
      enabled=1
      gpgcheck=0
      skip_if_unavailable=1
      priority=999
      [beaker-libs]
      name=beaker-libs
      baseurl=https://beaker.engineering.redhat.com/harness/RedHatEnterpriseLinux10/
      enabled=1
      gpgcheck=0
      sslverify=0
      skip_if_unavailable=1
      

       

              walters@redhat.com Colin Walters
              jwyatt@redhat.com John Wyatt
              Colin Walters Colin Walters
              Xiaofeng Wang Xiaofeng Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: