Subject: $slapd is not set properly
To: None <port-i386@netbsd.org>
From: Douglas Troeger <dtroeger@ix.netcom.com>
List: port-i386
Date: 01/04/2003 10:28:45
I've only yesterday installed NetBSD 1.6 on a Dell Latitude C800. On
boot, I see a warning message:
...
starting local daemons:.
Updating motd.
/etc/rc: WARNING: $slapd is not set properly.
starting inetd.
...
Can someone tell me where this is coming from, and how to fix it?
I do not mention slapd in rc.conf, openldap-2.0.23 is installed from
pkgsrc, and the slapd script is unchanged from installation:
#! /bin/sh
#
# $NetBSD: slapd.sh,v 1.2 2002/02/05 06:04:37 jlam Exp $
#
# OpenLDAP standalone LDAP daemon
#
# PROVIDE: slapd
# REQUIRE: DAEMON
if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
name="slapd"
rcvar=${name}
command="/usr/pkg/libexec/${name}"
pidfile="/var/openldap/slapd.pid"
required_files="/usr/pkg/etc/openldap/${name}.conf"
extra_commands="reload"
if [ -f /etc/rc.subr ]
then
load_rc_config $name
run_rc_command "$1"
else
echo -n " ${name}"
${command} ${slapd_flags} ${command_args}
fi
With thanks,
Doug Troeger