Skip to content

StopWhenUnneeded for ldap-slapd (BUGZ-3836)

Dedicated nordugrid-arc-ldap-slapd service is present only in systemd flavor of startup scripts.

This complicates the unified services control from arcctl and adding separate conditional control only for systemd does not sounds the good way.

Even more, the situation when BDII stops working, but SLAPD is still running is buggy by definition. It means we are publishing some outdated stuff that will not work.

After a bit of investigation I comes to this very tiny elegant solution at the end:

  • arcctl still consistently controls only "main" nordugrid-arc-ldap service
  • SLAPD unit stop is handled by systemd: in case of no longer needed (BDII stops working) slapd stops also

Merge request reports

Loading