-
Bug
-
Resolution: Done
-
Normal
-
None
-
rhel-8.5.0
-
None
-
None
-
rhel-sst-sap
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
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
- external trackers