#5266 Uninstallation of IPA leaves extra entry in /etc/hosts
Closed: Fixed None Opened 8 years ago by mbasti.

If more entries are added into /etc/hosts during installation (ip4+ip6), after uninstall, only the last added entry is removed from /etc/hosts.

This is caused by multiple backups of /etc/host (backup created after each change)

2015-08-27T12:25:13Z DEBUG Backing up system configuration file '/etc/hosts'
2015-08-27T12:25:13Z DEBUG Saving Index File to '/var/lib/ipa/sysrestore/sysrestore.index'
2015-08-27T12:25:13Z DEBUG Backing up system configuration file '/etc/hosts'
2015-08-27T12:25:13Z DEBUG Saving Index File to '/var/lib/ipa/sysrestore/sysrestore.index'

Fixed in #4561

master:

  • 0bcf0c1 Installer: do not modify /etc/hosts before user agreement

ipa-4-2:

  • af10e86 Installer: do not modify /etc/hosts before user agreement

Metadata Update from @mbasti:
- Issue assigned to mbasti
- Issue set to the milestone: FreeIPA 4.2.1

7 years ago

Login to comment on this ticket.

Metadata