ipa-client-install does not restore nsswitch.conf in all cases.
1.Set automount: files sss (basically reverse the orde) 2. ipa-client-install ... 3. grep automount /etc/nsswitch.conf: sss files 4. ipa-client-automount -U 5. grep automount /etc/nsswitch.conf: sss files 6. ipa-client-automount --uninstall -U 7. grep automount /etc/nsswitch.conf: sss files 8. ipa-client-install --uninstall -U 9. grep automount /etc/nsswitch.conf: sss files This shows the file was not restored properly to its previous state.
https://pagure.io/freeipa/issue/8038 is related and @rcritten found #8042
Metadata Update from @fcami: - Issue marked as depending on: #8038
Metadata Update from @pcech: - Issue tagged with: Falcon
Closing as duplicate of https://pagure.io/freeipa/issue/8189
Metadata Update from @fcami: - Issue close_status updated to: duplicate - Issue status updated to: Closed (was: Open)