Bug 918260
| Summary: | Part of ipa-client-install --uninstall code is not executed when confirming the reboot | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Namita Soman <nsoman> |
| Component: | ipa | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | ksiddiqu, mkosek, tbabej |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-3.2.1-1.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 11:10:49 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Namita Soman
2013-03-05 19:09:30 UTC
Please provide steps to verify Steps to verify: 1.) install IPA client 2.) check that /etc/default.conf exists (this is sanity check only) 3.) uninstall IPA client in the attended mode and confirm the reboot 4.) verify that /etc/default.conf has been removed Fixed upstream: master: https://fedorahosted.org/freeipa/changeset/ade4aaef9aba7e05276dc2f436a43e0bb7d42da3 ipa-3-1: https://fedorahosted.org/freeipa/changeset/d12506c2ffaa362b2549bdf4a9538389ec15baec As a part of the uninstall patch, a related upstream ticket 3463 was also fixed (warning is printed when default.conf cannot be removed): https://fedorahosted.org/freeipa/ticket/3463 Verified. File /etc/ipa/defautl.conf does not exists on client machine after reboot. IPA client version: =================== [root@rhel70-client ~]# rpm -q ipa-client ipa-client-3.3.3-10.el7.x86_64 [root@rhel70-client ~]# (1)Installing ipa client [root@rhel70-client ~]# ipa-client-install -U --domain=testrelm.com --realm=TESTRELM.COM -p admin -w xxxxxxxx --server=rhel70-master.testrelm.com ... .... ..... Configured /etc/ssh/ssh_config Configured /etc/ssh/sshd_config Client configuration complete. [root@rhel70-client ~]# (2)/etc/ipa/default.conf exists after client install [root@rhel70-client ~]# ls /etc/ipa/|grep default.conf default.conf [root@rhel70-client ~]# ipa-client-install --uninstall -U (3)ipa-client un-installation in attended mode and confirming the reboot when asked. [root@rhel70-client ~]# ipa-client-install --uninstall Unenrolling client from IPA server Removing Kerberos service principals from /etc/krb5.keytab Disabling client Kerberos and LDAP configurations Redundant SSSD configuration file /etc/sssd/sssd.conf was moved to /etc/sssd/sssd.conf.deleted Restoring client configuration files Client uninstall complete. The original nsswitch.conf configuration has been restored. You may need to restart services or reboot the machine. Do you want to reboot the machine? [no]: yes Write failed: Broken pipe [ksiddiqu@ksiddiqu ~]$ (4)Logged to client machine and checked existence of /etc/ipa/defautl.conf [ksiddiqu@ksiddiqu ~]$ ssh root.207.125 reverse mapping checking getaddrinfo for dhcp207-125.lab.eng.pnq.redhat.com [10.65.207.125] failed - POSSIBLE BREAK-IN ATTEMPT! root.207.125's password: Last login: Fri Jan 10 16:45:13 2014 from vpn-233-60.phx2.redhat.com [root@rhel70-client ~]# ls /etc/ipa/|grep default.conf [root@rhel70-client ~]# /etc/ipa/defautl.conf does not exists on machine. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |