HI!

I'm trying to get rid of this old patch by Ralf Haferkamp:

https://build.opensuse.org/package/view_file/network:ldap/openldap2/0003-LDAPI-socket-location.dif?expand=1

Background: Today Linux distros prefer that you place temporary run-time files in a directory like

/run/<service-name>

with appropriate ownership and permissions. And also systemd can create a temporary run-time directory on-the-fly and removes it after service stopped.

But if I e.g. use

configure --runstatedir=/run/slapd

the default pathname of the LDAPI socket is

/run/slapd/run/ldapi

Any way to set LDAPI_SOCK directly during build?

Ciao, Michael.

Reply via email to