From owner-freebsd-rc@FreeBSD.ORG Mon Sep 16 08:51:24 2013 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3F0FC75E for ; Mon, 16 Sep 2013 08:51:24 +0000 (UTC) (envelope-from zeus@ibs.dn.ua) Received: from relay.ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B24E82851 for ; Mon, 16 Sep 2013 08:51:23 +0000 (UTC) Received: from ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by relay.ibs.dn.ua with ESMTP id r8G8lfIj099387 for ; Mon, 16 Sep 2013 11:47:41 +0300 (EEST) Message-ID: <20130916114741.99386@relay.ibs.dn.ua> Date: Mon, 16 Sep 2013 11:47:41 +0300 From: "Zeus Panchenko" To: cc: Subject: rc dependencies ... Organization: I.B.S. LLC X-Mailer: MH-E 8.3.1; GNU Mailutils 2.99.98; GNU Emacs 24.0.93 X-Face: &sReWXo3Iwtqql1[My(t1Gkx; y?KF@KF`4X+'9Cs@PtK^y%}^.>Mtbpyz6U=,Op:KPOT.uG )Nvx`=er!l?WASh7KeaGhga"1[&yz$_7ir'cVp7o%CGbJ/V)j/=]vzvvcqcZkf; JDurQG6wTg+?/xA go`}1.Ze//K; Fk&/&OoHd'[b7iGt2UO>o(YskCT[_D)kh4!yY'<&:yt+zM=A`@`~9U+P[qS:f; #9z~ Or/Bo#N-'S'!'[3Wog'ADkyMqmGDvga?WW)qd=?)`Y&k=o}>!ST\ X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Zeus Panchenko List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Sep 2013 08:51:24 -0000 hi, please, help me to understand better scripts dependencies, how to make one rc script wait for other ... for my dhcpd configured with LDAP, I need to start /usr/local/etc/rc.d/isc-dhcpd only after /usr/local/etc/rc.d/slapd for what I edited /usr/local/etc/rc.d/isc-dhcpd --- isc-dhcpd~ 2013-08-31 15:45:32.202899511 +0300 +++ isc-dhcpd 2013-09-04 18:32:36.297221926 +0300 @@ -3,7 +3,7 @@ # $FreeBSD: branches/RELENG_9_1_0/net/isc-dhcp42-server/files/isc-dhcpd.in 300897 2012-07-14 14:29:18Z beat $ # # PROVIDE: dhcpd -# REQUIRE: DAEMON +# REQUIRE: DAEMON slapd # BEFORE: LOGIN # KEYWORD: shutdown # but after reboot, dhcpd still complains: Sep 16 10:02:41 bo20 dhcpd: Error: Cannot start TLS session to foo.bar:389: Can't contact LDAP server when launched by hands, /usr/local/etc/rc.d/isc-dhcpd starts normally so, where is my mistake, why is it not waiting for /usr/local/etc/rc.d/slapd ? -- Zeus V. Panchenko jid:zeus@im.ibs.dn.ua IT Dpt., I.B.S. LLC GMT+2 (EET)