Skip to content

Commit

Permalink
GC: Fix systemd link for global catalog service
Browse files Browse the repository at this point in the history
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: #43
  • Loading branch information
flo-renaud authored and abbra committed Mar 16, 2021
1 parent ec09f27 commit ceb86a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipaplatform/redhat/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'


Expand Down

0 comments on commit ceb86a6

Please sign in to comment.