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

lsinitrd fails on rpm-ostree/bootc/edge systems

    • Icon: Story Story
    • Resolution: Done-Errata
    • Icon: Minor Minor
    • rhel-9.5
    • rhel-9.4
    • dracut
    • dracut-057-70.git20240819.el9
    • Medium
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • 26
    • 5
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

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

      lsinitrd

      Please provide the package NVR for which bug is seen:

      dracut-057-53.git20240104.el9.x86_64

      Steps to reproduce

      1. `lsinitrd` on a system using rpm-ostree/bootc/RHEL for Edge
      2.  
      3.  

      Expected results

      It should automatically target the running kernels initramfs

      EDGE keeps it here:
      /boot/ostree/rhel-edge-<something>/initramfs-<version>.img

      BOOTC keeps it here:
      /boot/ostree/default-<something>/initramfs-<version>.img

      Actual results

      [root@bootc ~]# lsinitrd
      No <initramfs file> specified and the default image '/boot/efi/8aec2c13ba8a43f0ac04dc349d033dcf/5.14.0-427.13.1.el9_4.x86_64/initrd' cannot be accessed!

      Usage: lsinitrd [options] [<initramfs file> [<filename> [<filename> [...] ]]]
      Usage: lsinitrd [options] -k <kernel version>

      -h, --help                  print a help message and exit.
      -s, --size                  sort the contents of the initramfs by size.
      -m, --mod                   list modules.
      -f, --file <filename>       print the contents of <filename>.
      --unpack                    unpack the initramfs, instead of displaying the contents.
                                  If optional filenames are given, will only unpack specified files,
                                  else the whole image will be unpacked. Won't unpack anything from early cpio part.
      --unpackearly               unpack the early microcode part of the initramfs.
                                  Same as --unpack, but only unpack files from early cpio part.
      -v, --verbose               unpack verbosely.
      -k, --kver <kernel version> inspect the initramfs of <kernel version>.

              pvalena@redhat.com Pavel Valena
              rhn-support-jcastran John Castranio
              dracut maint mailing list dracut maint mailing list
              Frantisek Sumsal Frantisek Sumsal
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: