When IPA server/replica is being uninstalled it may fail with the following error:
$ sudo ipa-server-install --uninstall --unattended Shutting down all IPA services Removing IPA client configuration Unconfiguring ntpd Unconfiguring named Unconfiguring web server Unconfiguring krb5kdc Unconfiguring ipa_kpasswd Unconfiguring directory server Unexpected error - see ipaserver-uninstall.log for details: [Errno 2] No such file or directory: '/var/lib/ipa/sysrestore/711f525f1ed07682-dirsrv'
This is caused by: 1. inconsistent sysrestore files handling by Directory Server installation instance 2. missing sysrestore file detection bug in a FileStore handler
FileStore
Even though the flaw is present both in installation and uninstallation procedure, no relevant installation error was observed.
Addendum: I have discovered the impact for installer too. Directory server's dirsrv and limits.com configuration files in /var/lib/ipa/sysrestore/ won't get to sysrestore.index because of this bug. This may cause problem in server uninstallation - these config files won't get restored.
dirsrv
limits.com
/var/lib/ipa/sysrestore/
sysrestore.index
master: f785af4
Metadata Update from @mkosek: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 2.0.3 RC3 (bug fixing)
Login to comment on this ticket.