Currently, we silently ignore any errors while removing /etc/ipa/default.conf
# Remove the IPA configuration file try: os.remove("/etc/ipa/default.conf") except Exception: pass root_logger.info("Client uninstall complete.") return rv
Since re-enrollment is not possible unless this file is removed, we should at least warn the user he needs to remove it manually, as we do here:
if fstore.has_files(): root_logger.error('Some files have not been restored, see /var/lib/ipa-client/sysrestore/sysrestore.index') has_state = False for module in statestore.modules.keys(): root_logger.error('Some installation state for %s has not been restored, see /var/lib/ipa/sysrestore/sysrestore.state' % module) has_state = True rv = 1 if has_state: root_logger.warning('Some installation state has not been restored.\nThis may cause re-installation to fail.\nIt should be safe to remove /var/lib/ipa-client/sysrestore.state but it may\nmean your system hasn\'t be restored to its pre-installation state.')
This ticket was fixed as a part of #3462:
master: ade4aae[[BR]] ipa-3-1: d12506c
Updating the Bugzilla field and milestone field.
Metadata Update from @tbabej: - Issue assigned to someone - Issue set to the milestone: FreeIPA 3.2 - 2013/03
Login to comment on this ticket.