[Bug 213671] net/openldap-server-2.4.44: no start at boot

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 21 11:49:34 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213671

            Bug ID: 213671
           Summary: net/openldap-server-2.4.44: no start at boot
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Package Infrastructure
          Assignee: portmgr at FreeBSD.org
          Reporter: arkadiusz.majewski at iptrace.pl
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

After upgrade from 10.3-RELEASE to 11.0-RELEASE I encountered the problem with
starting slpad daemon.

Mounting local filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
/usr/local/libexec/openldap
32-bit compatibility ldconfig path: /usr/lib32
Starting slapd.
/etc/rc: WARNING: failed to start slapd

The problem was, I think so, in the startup script of openldap-server in
/usr/local/etc/rc.d/slapd where below line indicates order of another services
have to start before slapd.

WAS: # REQUIRE: FILESYSTEMS ldconfig
CHANGED TO: # REQUIRE: FILESYSTEMS ldconfig netif

Above means that slapd will start after the network service will start.
So when network is not started, slapd will never run.

pkg info
openldap-server-2.4.44         Open source LDAP server implementation

/etc/rc.conf
slapd_enable="YES"
slapd_flags='-h "ldap://10.10.10.10:389/"'

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list