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: port...@freebsd.org
          Reporter: arkadiusz.majew...@iptrace.pl
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@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.
_______________________________________________
freebsd-amd64@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "freebsd-amd64-unsubscr...@freebsd.org"

Reply via email to