From 94a9dfb9d72ecd25a01316febbf2ffec50912e2e Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 16 Nov 2016 10:39:05 +0100 Subject: Don't modify redhat_system_units ipaplatform.fedora.services used to modify the redhat_system_units dict. It now creates a proper shallow copy. Signed-off-by: Christian Heimes Reviewed-By: Martin Babinsky --- ipaplatform/fedora/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaplatform/fedora/services.py b/ipaplatform/fedora/services.py index 5b1dfc824..a3b951a43 100644 --- a/ipaplatform/fedora/services.py +++ b/ipaplatform/fedora/services.py @@ -26,7 +26,7 @@ from ipaplatform.redhat import services as redhat_services # Mappings from service names as FreeIPA code references to these services # to their actual systemd service names -fedora_system_units = redhat_services.redhat_system_units +fedora_system_units = redhat_services.redhat_system_units.copy() # Service that sets domainname on Fedora is called fedora-domainname.service fedora_system_units['domainname'] = 'fedora-domainname.service' -- cgit