[Bug 280849] net/openldap26-server: Delay slapd startup until after NETWORKING
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Aug 2024 07:26:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280849 Bug ID: 280849 Summary: net/openldap26-server: Delay slapd startup until after NETWORKING Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: delphij@FreeBSD.org Reporter: john@jmarshall.id.au Flags: maintainer-feedback?(delphij@FreeBSD.org) Assignee: delphij@FreeBSD.org Created attachment 252805 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252805&action=edit [PATCH] Delay slapd startup until after NETWORKING In an environment where slapd is required to bind to particular addresses instead of to interface wildcard, e.g. slapd -h "ldap://host.example.com ldaps://host.example.com" slapd may be started before the required addresses are configured on the interface. This was my experience. I checked with rcorder(8) and discovered that slapd was being started in the middle of the network startup. Fixed this by making the rc file REQUIRE: NETWORKING instead of FILESYSTEMS. Now slapd starts reliably during startup instead of complaining it can't bind to the required address. -- You are receiving this mail because: You are the assignee for the bug.