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

[anaconda] Post-installation copy of HostNQN files

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

    • Icon: Story Story
    • Resolution: Done-Errata
    • Icon: Major Major
    • rhel-9.4
    • rhel-9.4
    • anaconda
    • None
    • anaconda-34.25.4.2-1.el9
    • None
    • rhel-anaconda
    • ssg_front_door
    • 20
    • 0
    • QE ack
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • None

      Anaconda needs to copy /etc/nvme/hostnqn and /etc/nvme/hostid files, ensured to exist by INSTALLER-3679, to the freshly installed /mnt/sysimage (or before rpms are installed).

      On RHEL 9, the nvme-cli %post scriptlets will generate new values if the files don't exist. However the values might be random-generated and need to be overwritten by values used in the earlier installation phases.
      On Fedora, these scriptlets were intentionally removed and the code in INSTALLER-3679 is essential to have in place.
      RHEL10 is still a mystery.

      These files need to exist and have correct values before target initramfs is generated. The dracut nvmf module expects them to exist and silently fails if not present.

              vtrefny@redhat.com Vojtěch Trefný
              tbzatek Tomáš Bžatek
              Jan Stodola Jan Stodola
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: