Rocky 9.4 bootstrapping bug
gbts opened this issue · comments
There's a small issue preventing the headnode from booting on the new Rocky 9.4 AMIs. The failure is in this step:
authselect select sssd with-mkhomedir
fails with the following error:
[error] File [/etc/pam.d/system-auth] exists but it needs to be overwritten!
[error] File [/etc/pam.d/password-auth] exists but it needs to be overwritten!
[error] File [/etc/pam.d/fingerprint-auth] exists but it needs to be overwritten!
[error] File [/etc/pam.d/smartcard-auth] exists but it needs to be overwritten!
[error] File [/etc/pam.d/postlogin] exists but it needs to be overwritten!
[error] File [/etc/nsswitch.conf] exists but it needs to be overwritten!
[error] File that needs to be overwritten was found
[error] Refusing to activate profile unless this file is removed or overwrite is requested.
Some unexpected changes to the configuration were detected.
Use --force parameter if you want to overwrite these changes.
As it suggests, adding the --force
parameter fixes it, although I'm not sure if there any side-effects. I'm seeing a similar bug report on RHEL's issue tracker so this possibly affects RHEL 9.4 too.