From owner-freebsd-rc@FreeBSD.ORG Tue Aug 22 12:34:47 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFE4616A4E2 for ; Tue, 22 Aug 2006 12:34:47 +0000 (UTC) (envelope-from flz@xbsd.org) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FB8943D5F for ; Tue, 22 Aug 2006 12:34:41 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp2-g19.free.fr (Postfix) with ESMTP id BBCFB75C15; Tue, 22 Aug 2006 14:34:40 +0200 (CEST) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id EA7931141E; Tue, 22 Aug 2006 14:34:39 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 40539-05; Tue, 22 Aug 2006 14:34:33 +0200 (CEST) Received: from mayday.esat.net (mayday.esat.net [193.95.134.156]) by smtp.xbsd.org (Postfix) with ESMTP id 90F6B11413; Tue, 22 Aug 2006 14:34:32 +0200 (CEST) From: Florent Thoumie To: David Thompson In-Reply-To: <20060822003720.20753.qmail@web55101.mail.re4.yahoo.com> References: <20060822003720.20753.qmail@web55101.mail.re4.yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-RM9nht8GPOOWBNLBL0Qh" Date: Tue, 22 Aug 2006 13:34:31 +0100 Message-Id: <1156250071.53353.75.camel@mayday.esat.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: freebsd-rc@freebsd.org Subject: Re: /etc/rc.d/ypxfrd REQUIRE needs updating X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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: Tue, 22 Aug 2006 12:34:48 -0000 --=-RM9nht8GPOOWBNLBL0Qh Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2006-08-21 at 17:37 -0700, David Thompson wrote: > Hi, >=20 > I see that /etc/rc.d/ypxfrd has, >=20 > # PROVIDE: ypxfrd > # REQUIRE: rpcbind >=20 > but ypxfrd_precmd() does a forcestart on both rpcbind and > ypserv, >=20 > ypxfrd_precmd() > { > if ! checkyesno rpcbind_enable && \ > ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1 > then > force_depend rpcbind || return 1 > fi > if ! checkyesno nis_server_enable && \ > ! /etc/rc.d/ypserv forcestatus 1>/dev/null 2>&1 > then > force_depend ypserv || return 1 > fi >=20 > _domain=3D`domainname` > if [ -z "$_domain" ]; then > warn "NIS domainname(1) is not set." > return 1 > fi > } >=20 > So why isn't ypserv part of ypxfrd's REQUIRE? >=20 > Using 'REQUIRE: rpcbind ypserv' would make /etc/rc > naturally execute ypserv before ypxfrd, courtesy of > rcorder. Makes sense to me. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --=-RM9nht8GPOOWBNLBL0Qh Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBE6vnXMxEkbVFH3PQRAu3kAJ9tk6s0nR4RU2CzcrwlashySL4ZIQCfVpr5 QeTijl53UfenTnHC3448Jms= =+p5c -----END PGP SIGNATURE----- --=-RM9nht8GPOOWBNLBL0Qh--