Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 6): Bug 1141799
Description of problem: ipa-client-automount saves a second copy of /etc/nsswitch.conf and during uninstall the original version (before ipa-client-install) without the sss entries is restored. So, it should be documented that uninstalling automount on its own is not supported. If you want to remove it you have to unconfigure the whole client and then call ipa-client-install again. Version-Release number of selected component (if applicable): ipa-client-3.0.0-42.el6.x86_64 How reproducible: Inconsistently Steps to Reproduce: 1. Install ipa-client 2. Install ipa-client-automount 3. Uninstall ipa-client-automount Additional info: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : :: [ LOG ] :: ipa_trust_func_automount_cleanup: cleanup for automount tests ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : :: [ BEGIN ] :: Running 'kdestroy -A' :: [ PASS ] :: Command 'kdestroy -A' (Expected 0, got 0) :: [ BEGIN ] :: Running 'echo Secret123|kinit admin' Password for admin@STEEVE09051337.TEST: :: [ PASS ] :: Command 'echo Secret123|kinit admin' (Expected 0, got 0) :: [ BEGIN ] :: Running 'ipa automountlocation-del trust_location' ------------------------------------------- Deleted automount location "trust_location" ------------------------------------------- :: [ PASS ] :: Command 'ipa automountlocation-del trust_location' (Expected 0, got 0) :: [ BEGIN ] :: Running 'rm -rf /export /export2' :: [ PASS ] :: Command 'rm -rf /export /export2' (Expected 0, got 0) :: [ BEGIN ] :: Running 'ssh ibm-p730-03-lp1.steeve09051337.test 'cp -r /var/lib/ipa-client/sysrestore /var/lib/ipa-client/sysrestore_before_automnt'' :: [ PASS ] :: Command 'ssh ibm-p730-03-lp1.steeve09051337.test 'cp -r /var/lib/ipa-client/sysrestore /var/lib/ipa-client/sysrestore_before_automnt'' (Expected 0, got 0) :: [ BEGIN ] :: Running 'ssh ibm-p730-03-lp1.steeve09051337.test 'ipa-client-automount --uninstall -U' | tee ipa_trust_func_automount_cleanup.Rv96ou 2>&1' Restoring configuration Unable to find 'admin' user with 'getent passwd admin'! This may mean that sssd didn't re-start properly after the configuration changes.
See downstream bug for additional comments.
This is not a priority for next release, pushing out. Help welcome!
Metadata Update from @mkosek: - Issue assigned to mbabinsk - Issue set to the milestone: Future Releases
This was fixed "recently" in ipa-4-8. Closing.
Metadata Update from @fcami: - Issue assigned to fcami (was: mbabinsk) - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.