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

sap-preconfigure does not update initramfs

    • sst_sap
    • False
    • Hide

      None

      Show
      None
    • If docs needed, set a value

      Description of problem:
      After running sap-preconfigure on RHEL 8.5 the role correctly adjusted /etc/hostname to have only the short hostname part there. However, initramfs also includes /etc/hostname and this change is not reflected there since the role does not run dracut leaving the configuration inconsistent and causing the system to boot with the incorrect configuration:

      [ 0.664782] systemd[1]: Set hostname to <sap.example.com>.
      [ 2.286483] systemd[1]: Set hostname to <sap>.

      rhel-system-roles-sap should run dracut -f --regenerate-all or such when needed to keep initramfs and root fs configurations in sync.

      Version-Release number of selected component (if applicable):
      rhel-system-roles-sap-3.1.1-9.el8_5.noarch

            rhn-support-bfinger Bernd Finger
            myllynen Marko Myllynen
            Bernd Finger Bernd Finger
            Daniel Streit Daniel Streit
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: