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

libguestfs inspection does not know about /etc/fstab PARTLABEL=<label>

    • libguestfs-1.50.1-12.el9
    • None
    • Moderate
    • rhel-sst-virtualization
    • ssg_virtualization
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      Libguestfs inspection doesn't understand /etc/fstab partition labels (which map to GPT labels). In this Ubuntu guest we have /etc/fstab containing:

      # / was on /dev/sda2 during curtin installation
      PARTLABEL=SYSTEM / ext4 defaults 0 1
      # /boot/efi was on /dev/sda1 during curtin installation
      PARTLABEL=EFI /boot/efi vfat defaults 0 1
      

      These should be mapped via the part-get-name API:

      ><fs> part-get-name /dev/sda 1
      EFI
      ><fs> part-get-name /dev/sda 2
      SYSTEM
      

              rhn-eng-rjones Richard Jones
              dbarda Danielle Barda
              virt-maint virt-maint
              Yongkui Guo Yongkui Guo
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: