abbra / freeipa

Mirror of FreeIPA, an integrated security information management solution
http://www.freeipa.org
GNU General Public License v3.0
2 stars 1 forks source link

GC: remove DNS records for last server uninstall #74

Closed flo-renaud closed 3 years ago

flo-renaud commented 3 years ago

The uninstallation of the last server with GC role can happen after various code paths:

In order to detect that the last GC is being uninstalled, the code relies on the output of server-role-find(GC, enabled). The current server is the last GC in the following cases:

In all the above cases, the uninstaller must remove GC DNS records. Fixes: https://pagure.io/freeipa/issue/8758

Signed-off-by: Florence Blanc-Renaud flo@redhat.com

abbra commented 3 years ago

LGTM