From ceb86a65de0f8321c4ca3eb1876c3441b210931e Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Tue, 24 Nov 2020 14:04:55 +0100 Subject: [PATCH] GC: Fix systemd link for global catalog service When installing the Global Catalog, a symlink is created in /etc/systemd/system/dirsrv.target.wants/ for GC: dirsrv@GLOBAL-CATALOG.service -> /usr/lib/systemd/system/dirsrv@GLOBAL-CATALOG.service But the file /usr/lib/systemd/system/dirsrv@GLOBAL-CATALOG.service does not exist. The correct link should be pointing to /usr/lib/systemd/system/dirsrv@.service This happens because the known service for Global Catalog defines the systemd service as dirsrv@GLOBAL-CATALOG.service instead of dirsrv@.service Fixes: https://github.com/abbra/freeipa/issues/43 --- ipaplatform/redhat/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaplatform/redhat/services.py b/ipaplatform/redhat/services.py index d880b141ea8..0d123776fbe 100644 --- a/ipaplatform/redhat/services.py +++ b/ipaplatform/redhat/services.py @@ -74,7 +74,7 @@ redhat_system_units['ods-signerd'] = 'ods-signerd.service' redhat_system_units['ods_signerd'] = redhat_system_units['ods-signerd'] redhat_system_units['gssproxy'] = 'gssproxy.service' -redhat_system_units['globalcatalog'] = 'dirsrv@GLOBAL-CATALOG.service' +redhat_system_units['globalcatalog'] = 'dirsrv@.service' redhat_system_units['ipa-gcsyncd'] = 'ipa-gcsyncd.service'