Red Hat Bugzilla – Bug 1276153
ipa-client-automount --uninstall removes sss entirely from /etc/nssswitch.conf
Last modified: 2015-11-05 08:55:15 EST
Description of problem:
Uninstalling automount removes sss from nssswitch.conf whereas it should be only touching the automount line. I suspect it is doing backup/restore at a very coarse granularity, and possibly restoring it to a time before the ipa client was installed (instead of the time before automount was setup )
Version-Release number of selected component (if applicable):
Not easily. I've seen it a few times on some systems.
Steps to Reproduce:
1. ipa-client-automount --uninstall
sss is purged entirely from nssswitch.conf
sss should be removed only from the automount line
Confirming. On FreeIPA 4.2
$ ipa-client-automount --uninstall
Returns nsswitch.conf to a state before ipa-client-install
This doesn't mean that all sss is removed but that the restoration of backup files doesn't work well.
The reason is that(at least on 4.2) ipa-client-automount shares backup state with ipa-client-install. It doesn't touch nsswith.conf on installation(no new backup) but on --uninstall it restores nsswith.conf.
*** This bug has been marked as a duplicate of bug 1141799 ***