#5262 ipa-server-install --uninstall does not stop named-pkcs11.service and ipa-ods-exporter.socket
Closed: Fixed None Opened 6 years ago by pspacek.

ipaserver-install.log shows this:

2015-08-26T11:01:21Z DEBUG Starting external process
2015-08-26T11:01:21Z DEBUG args='/bin/systemctl' 'stop' 'named.service'

and this:

2015-08-26T11:01:23Z DEBUG Starting external process
2015-08-26T11:01:23Z DEBUG args='/bin/systemctl' 'stop' 'ipa-ods-exporter.service'
2015-08-26T11:01:23Z DEBUG Process finished, return code=0
2015-08-26T11:01:23Z DEBUG stdout=
2015-08-26T11:01:23Z DEBUG stderr=Warning: Stopping ipa-ods-exporter.service, but it can still be activated by:
  ipa-ods-exporter.socket

Here should be stopped named-pkcs11 instead of named

2015-08-26T11:01:21Z DEBUG args='/bin/systemctl' 'stop' 'named.service'

I haven't been able to reproduce this, feel free to reopen bug if you hit the issue again.

Steps to reproduce:

  • install IPA server without DNS
  • install DNS using ipa-server-dns
  • uninstall IPA server: this should stop the server but it does not do that
  • install IPA server again: - it blows up because old DNS server is still running

Issue caused by caching list services that have been started by ipactl (introduced 7f272a3)

ipactl is not aware of new services after ipa-dns-install, ipa-ca-install without ipactl restart/start

Workaround might be to add ipactl start at the end of ipa-dns-install, ipa-ca-install

master:

  • 7baa675 Fix: uninstall does not stop named-pkcs11 and ipa-ods-exporter

ipa-4-3:

  • 0978c3d Fix: uninstall does not stop named-pkcs11 and ipa-ods-exporter

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

5 years ago

Login to comment on this ticket.

Metadata