freeipa/ipaserver/install
Florence Blanc-Renaud 6ad11d86d8 ipa-replica-install: properly use the file store
In ipa-replica-install, many components use their own instance
of the FileStore to backup configuration files to the pre-install
state. This causes issues when the calls are mixed, like for
instance:
ds.do_task1_that_backups_file (using ds.filestore)
http.do_task2_that_backups_file (using http.filestore)
ds.do_task3_that_backups_file (using ds.filestore)

because the list of files managed by ds.filestore does not include
the files managed by http.filestore, and the 3rd call would remove
any file added on 2nd call.

The symptom of this bug is that ipa-replica-install does not save
/etc/httpd/conf.d/ssl.conf and subsequent uninstallation does not
restore the file, leading to a line referring to ipa-rewrite.conf
that prevents httpd startup.

The installer should consistently use the same filestore.

Fixes https://pagure.io/freeipa/issue/7684

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2018-09-06 17:32:48 +02:00
..
plugins Move config directives handling code 2018-05-29 17:03:56 +02:00
server ipa-replica-install: properly use the file store 2018-09-06 17:32:48 +02:00
__init__.py Remove __all__ specifications in ipaclient and ipaserver.install 2013-09-06 15:42:33 +02:00
adtrust.py ipaserver/install/adtrust.py: Do not use DOMAIN_LEVEL_0 for minimum 2018-08-13 12:35:06 +02:00
adtrustinstance.py Delay enabling services until end of installer 2018-07-06 13:26:43 +02:00
bindinstance.py Fix pylint 2.0 return-related violations 2018-07-11 10:11:38 +02:00
ca.py Use one Custodia peer to retrieve all secrets 2018-06-10 18:33:38 +02:00
cainstance.py Do not set ca_host when --setup-ca is used 2018-08-28 09:32:45 +02:00
certs.py Auto-retry failed certmonger requests 2018-07-09 20:15:18 +02:00
conncheck.py install: introduce installer class hierarchy 2016-11-11 12:17:25 +01:00
custodiainstance.py Use common replication wait timeout of 5min 2018-06-22 13:01:55 +02:00
dns.py ipa-server-install: do not perform forwarder validation with --no-dnssec-validation 2018-09-03 13:56:39 +02:00
dnskeysyncinstance.py Delay enabling services until end of installer 2018-07-06 13:26:43 +02:00
dogtag.py install: introduce installer class hierarchy 2016-11-11 12:17:25 +01:00
dogtaginstance.py Catch ACIError instead of invalid credentials 2018-06-29 15:48:43 +02:00
dsinstance.py Auto-retry failed certmonger requests 2018-07-09 20:15:18 +02:00
httpinstance.py httpinstance: Restore SELinux context of session_dir /etc/httpd/alias 2018-08-03 13:23:21 +02:00
installutils.py Fix pylint 2.0 conditional-related violations 2018-07-12 08:49:43 +02:00
ipa_backup.py Fix HTTPD SSL configuration for Debian. 2018-05-29 17:03:56 +02:00
ipa_cacert_manage.py Fix pylint 2.0 return-related violations 2018-07-11 10:11:38 +02:00
ipa_kra_install.py Move DL0 raises outside if existing conditionals to calm down pylint 2018-08-13 12:35:06 +02:00
ipa_ldap_updater.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
ipa_otptoken_import.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
ipa_pkinit_manage.py ipa commands: print 'IPA is not configured' when ipa is not setup 2018-08-23 12:08:45 +02:00
ipa_replica_install.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
ipa_replica_prepare.py replica_prepare: Remove the correct NSS DB files 2018-01-16 16:36:10 +01:00
ipa_restore.py ipa_restore: Restore SELinux context of template_dir /var/log/dirsrv/slapd-X 2018-08-03 13:23:21 +02:00
ipa_server_certinstall.py Fix pylint 2.0 return-related violations 2018-07-11 10:11:38 +02:00
ipa_server_install.py Improve console logging for ipa-server-install 2018-06-20 08:38:03 +02:00
ipa_server_upgrade.py ipa commands: print 'IPA is not configured' when ipa is not setup 2018-08-23 12:08:45 +02:00
ipa_winsync_migrate.py ipa commands: print 'IPA is not configured' when ipa is not setup 2018-08-23 12:08:45 +02:00
kra.py Use one Custodia peer to retrieve all secrets 2018-06-10 18:33:38 +02:00
krainstance.py Delay enabling services until end of installer 2018-07-06 13:26:43 +02:00
krbinstance.py Fix pylint 2.0 return-related violations 2018-07-11 10:11:38 +02:00
ldapupdate.py Fix pylint 2.0 return-related violations 2018-07-11 10:11:38 +02:00
odsexporterinstance.py Delay enabling services until end of installer 2018-07-06 13:26:43 +02:00
opendnssecinstance.py Delay enabling services until end of installer 2018-07-06 13:26:43 +02:00
otpdinstance.py Enable pylint missing-final-newline check 2015-12-23 07:59:22 +01:00
replication.py DS replication settings: fix regression with <3.3 master 2018-08-24 16:50:30 +02:00
schemaupdate.py logging: do not use ipa_log_manager to create module-level loggers 2017-07-14 15:55:59 +02:00
service.py Fix pylint 2.0 return-related violations 2018-07-11 10:11:38 +02:00
sysupgrade.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
upgradeinstance.py Re-open the ldif file to prevent error message 2018-08-16 12:45:00 +02:00