abbra / freeipa

Mirror of FreeIPA, an integrated security information management solution
http://www.freeipa.org
GNU General Public License v3.0
2 stars 1 forks source link

GC: Fix systemd link for global catalog service #70

Closed flo-renaud closed 3 years ago

flo-renaud commented 3 years ago

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

abbra commented 3 years ago

LGTM. Should I merge it or as we are still in rewrite mode just modify the original commit 0cf1c8be9187ec1f0604e822048e021d7f0f1eae? (fixed commit reference)

flo-renaud commented 3 years ago

For me it's easier if you merge :)

abbra commented 3 years ago

Done ;)