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

Exclude dracut-config-rescue from RHEL 8 AMI images

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-8.9.0.z
    • osbuild-composer
    • None
    • Normal
    • sst_image_builder
    • ssg_front_door
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • x86_64
    • None

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

      Our customer is complaining that having 2 initramfs for the rescue mode is taking too much space in /boot.

      osbuild-composer-88.3/vendor/github.com/osbuild/images/pkg/distro/rhel9/ami.go:
      318         Exclude: []string{
      319             "aic94xx-firmware",
      320             "alsa-firmware",
      321             "alsa-tools-firmware",
      322             "biosdevname",
      323             "iprutils",
      324             "ivtv-firmware",
      325             "libertas-sd8787-firmware",
      326             "plymouth",
      327             // RHBZ#2064087
      328             "dracut-config-rescue",
      329             // RHBZ#2075815
      330             "qemu-guest-agent",
      331         },

      I understand it was explicitly excluded on RHEL 9.3 as per the following RHBZ:

          Bug 2064087 - suggest to exclude dracut-config-rescue in rhel ec2 images 
          https://bugzilla.redhat.com/show_bug.cgi?id=2064087

      Please provide the package NVR for which bug is seen:

      osbuild-composer-88.1 (not in 88.3 / RHEL 9.3)

      Expected results

      Only one rescue initramfs, the one with the good machine-id.

      Actual results

      rw------. 1 root root 73661115 Mar 13 21:32 initramfs-0-rescue-ec2495c28ba86b30b73581686680010d.img
      rw------. 1 root root 73030178 Jan 3 02:11 initramfs-0-rescue-ffffffffffffffffffffffffffffffff.img

            osbuilders Osbuilders Bot Account
            rhn-support-cbesson Christophe Besson
            Osbuilders Bot Account Osbuilders Bot Account
            Release Test Team Release Test Team
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: