From owner-freebsd-rc@FreeBSD.ORG Mon Aug 21 07:51:12 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 D82E916A4DF for ; Mon, 21 Aug 2006 07:51:12 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EC0C43D49 for ; Mon, 21 Aug 2006 07:51:11 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 30C2851393; Mon, 21 Aug 2006 09:51:10 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id D17F45138F for ; Mon, 21 Aug 2006 09:51:05 +0200 (CEST) Date: Mon, 21 Aug 2006 09:50:57 +0200 From: Pawel Jakub Dawidek To: freebsd-rc@FreeBSD.org Message-ID: <20060821075057.GA8940@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: Subject: rc(8) out-of-date. 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: Mon, 21 Aug 2006 07:51:12 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. AFAIK /usr/local/etc/rc.d/ is using rcorder(8) now. Could someone update rc(8) manual page? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFE6WXhForvXbEpPzQRAijsAKC98nL9eOvk7yKoJFqjz0rQeeGJ4wCaA7NG CX8CRrxYICOG1dJ+qJLAZiw= =TCo7 -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR-- From owner-freebsd-rc@FreeBSD.ORG Mon Aug 21 19:56:34 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 5898516A513 for ; Mon, 21 Aug 2006 19:56:34 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD9A843E22 for ; Mon, 21 Aug 2006 19:56:08 +0000 (GMT) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7LJtZmM062617 for ; Mon, 21 Aug 2006 19:55:35 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7LJtYQf062613 for freebsd-rc@FreeBSD.org; Mon, 21 Aug 2006 19:55:34 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Aug 2006 19:55:34 GMT Message-Id: <200608211955.k7LJtYQf062613@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-rc@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 21 Aug 2006 19:56:34 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/48881 rc [PATCH] The influence of /etc/start_ifname on /etc/rc. o conf/98734 rc [patch] /etc/rc.subr restart_postcmd is failing start_ 2 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/45226 rc Fix for rc.network, ppp-user annoyance o conf/48870 rc [PATCH] rc.network: allow to cancel interface status d o conf/55916 rc [PATCH] ppp-user options o conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} o conf/73677 rc [patch] add support for powernow states to power_profi o conf/74817 rc [patch] network.subr: fixed automatic configuration of o conf/77663 rc Suggestion: add /etc/rc.d/addnetswap after addcritremo o conf/78906 rc [patch] Allow mixer_enable="NO" in rc.conf o conf/79196 rc [PATCH] configurable dummynet loading from /etc/rc.co o kern/81006 rc ipnat not working with tunnel interfaces on startup o conf/85363 rc syntax error in /etc/rc.d/devfs o conf/85819 rc [patch] script allowing multiuser mode in spite of fsc o conf/88913 rc [patch] wrapper support for rc.subr o conf/89061 rc [patch] IPv6 6to4 auto-configuration enhancement o conf/89870 rc [patch] feature request to make netif verbose rc.conf o conf/92523 rc [patch] allow rc scripts to kill process after a timeo o conf/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d o conf/95162 rc [patch] Missing feature in rc.subr o conf/96343 rc [patch] rc.d order change to start inet6 before pf o conf/96766 rc run_rc_command doesn't work for Python scripts o conf/97311 rc [patch] /etc/rc.d/ipfilter reload can load bad files o conf/99444 rc [patch] Enhancement: rc.subr could easily support star o conf/99595 rc [PATCH] /etc/rc.d/dhclient doesn't interact well with o conf/99721 rc [patch] /etc/rc.initdiskless problem copy dotfile in s o bin/100287 rc /etc/rc.subr cannot deal properly with interpreted dae 25 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Aug 21 21:37:11 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 2338E16A4DA for ; Mon, 21 Aug 2006 21:37:11 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.FreeBSD.org (Postfix) with SMTP id 6C2B443D45 for ; Mon, 21 Aug 2006 21:37:09 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 1241 invoked by uid 399); 21 Aug 2006 21:37:09 -0000 Received: from localhost (HELO ?192.168.0.10?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 21 Aug 2006 21:37:09 -0000 Message-ID: <44EA2784.6070209@FreeBSD.org> Date: Mon, 21 Aug 2006 14:37:08 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20060821075057.GA8940@garage.freebsd.pl> In-Reply-To: <20060821075057.GA8940@garage.freebsd.pl> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org Subject: Re: rc(8) out-of-date. 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: Mon, 21 Aug 2006 21:37:11 -0000 Pawel Jakub Dawidek wrote: > Hi. > > AFAIK /usr/local/etc/rc.d/ is using rcorder(8) now. Could someone update > rc(8) manual page? I thought I had done that, at least in HEAD. What branch are you seeing the omission in? Doug -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Mon Aug 21 21:46:28 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 D143A16A4DF; Mon, 21 Aug 2006 21:46:28 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3702143D45; Mon, 21 Aug 2006 21:46:27 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 2074351395; Mon, 21 Aug 2006 23:46:26 +0200 (CEST) Received: from localhost (dlp131.neoplus.adsl.tpnet.pl [83.24.45.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 917D25138F; Mon, 21 Aug 2006 23:46:20 +0200 (CEST) Date: Mon, 21 Aug 2006 23:46:09 +0200 From: Pawel Jakub Dawidek To: Doug Barton Message-ID: <20060821214609.GD12183@garage.freebsd.pl> References: <20060821075057.GA8940@garage.freebsd.pl> <44EA2784.6070209@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q0rSlbzrZN6k9QnT" Content-Disposition: inline In-Reply-To: <44EA2784.6070209@FreeBSD.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-rc@FreeBSD.org Subject: Re: rc(8) out-of-date. 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: Mon, 21 Aug 2006 21:46:28 -0000 --Q0rSlbzrZN6k9QnT Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 21, 2006 at 02:37:08PM -0700, Doug Barton wrote: > Pawel Jakub Dawidek wrote: > > Hi. > >=20 > > AFAIK /usr/local/etc/rc.d/ is using rcorder(8) now. Could someone update > > rc(8) manual page? >=20 > I thought I had done that, at least in HEAD. What branch are you seeing t= he > omission in? On: > uname -v FreeBSD 7.0-CURRENT #9: Thu Aug 10 23:56:04 CEST 2006 root@anger.dawidek.n= et:/usr/obj/usr/src/sys/ANGER I see this: o The scripts within each directory are executed in lexicographical order. If a specific order is required, numbers may be used as a prefix to the existing filenames, so for example 100.foo would be executed before 200.bar; without the numeric prefixes the opposite would be true. I thought this is not longer true, is it? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Q0rSlbzrZN6k9QnT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFE6imhForvXbEpPzQRAmS9AKDXGdKUQnoAx3jTWdDxzX3vpKl36QCg5C/C jpM/W6biXKjAz1Srsu0wzOI= =Gkxi -----END PGP SIGNATURE----- --Q0rSlbzrZN6k9QnT-- From owner-freebsd-rc@FreeBSD.ORG Tue Aug 22 00:37:21 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 D2A5416A4DA for ; Tue, 22 Aug 2006 00:37:21 +0000 (UTC) (envelope-from dat1965@yahoo.com) Received: from web55101.mail.re4.yahoo.com (web55101.mail.re4.yahoo.com [206.190.58.150]) by mx1.FreeBSD.org (Postfix) with SMTP id 4990D43D45 for ; Tue, 22 Aug 2006 00:37:21 +0000 (GMT) (envelope-from dat1965@yahoo.com) Received: (qmail 20755 invoked by uid 60001); 22 Aug 2006 00:37:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1QLvYjRtmmbnmArQkSERb6ycD1xfMngQsnbRwDN6QXp0vLUqdZNbeKtWwBa1EJCn7n3dbFcOVdWuopMJmLAMmktUWyppIRNmIQzqMgZL9UaTTq6he/yRsL1VALlE9n46uZZ74VUzgUon1gsPDxlcV9FFdxDDkLzwYxCJ8h/62II= ; Message-ID: <20060822003720.20753.qmail@web55101.mail.re4.yahoo.com> Received: from [67.131.247.220] by web55101.mail.re4.yahoo.com via HTTP; Mon, 21 Aug 2006 17:37:20 PDT Date: Mon, 21 Aug 2006 17:37:20 -0700 (PDT) From: David Thompson To: freebsd-rc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: /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 00:37:21 -0000 Hi, I see that /etc/rc.d/ypxfrd has, # PROVIDE: ypxfrd # REQUIRE: rpcbind but ypxfrd_precmd() does a forcestart on both rpcbind and ypserv, 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 _domain=`domainname` if [ -z "$_domain" ]; then warn "NIS domainname(1) is not set." return 1 fi } So why isn't ypserv part of ypxfrd's REQUIRE? Using 'REQUIRE: rpcbind ypserv' would make /etc/rc naturally execute ypserv before ypxfrd, courtesy of rcorder. $ uname -v FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP -- David __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-rc@FreeBSD.ORG Tue Aug 22 08:26:25 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 BF47B16A4E1 for ; Tue, 22 Aug 2006 08:26:25 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.FreeBSD.org (Postfix) with SMTP id 72C3A43D86 for ; Tue, 22 Aug 2006 08:25:54 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 29476 invoked by uid 399); 22 Aug 2006 08:25:53 -0000 Received: from localhost (HELO ?192.168.0.10?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 22 Aug 2006 08:25:53 -0000 Message-ID: <44EABF90.2030602@FreeBSD.org> Date: Tue, 22 Aug 2006 01:25:52 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20060821075057.GA8940@garage.freebsd.pl> <44EA2784.6070209@FreeBSD.org> <20060821214609.GD12183@garage.freebsd.pl> In-Reply-To: <20060821214609.GD12183@garage.freebsd.pl> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org Subject: Re: rc(8) out-of-date. 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 08:26:25 -0000 Pawel Jakub Dawidek wrote: > On Mon, Aug 21, 2006 at 02:37:08PM -0700, Doug Barton wrote: >> Pawel Jakub Dawidek wrote: >>> Hi. >>> >>> AFAIK /usr/local/etc/rc.d/ is using rcorder(8) now. Could someone update >>> rc(8) manual page? >> I thought I had done that, at least in HEAD. What branch are you seeing the >> omission in? > > On: > > > uname -v > FreeBSD 7.0-CURRENT #9: Thu Aug 10 23:56:04 CEST 2006 root@anger.dawidek.net:/usr/obj/usr/src/sys/ANGER > > I see this: > > o The scripts within each directory are executed in lexicographical > order. If a specific order is required, numbers may be used as a > prefix to the existing filenames, so for example 100.foo would be > executed before 200.bar; without the numeric prefixes the opposite > would be true. > > I thought this is not longer true, is it? > I see now. :) You missed the header at the top of that section that says, "The following key points apply to old-style scripts in /usr/local/etc/rc.d." Scripts that don't use rc.d (PROVIDE, REQUIRE, etc.) are still handled in the manner described. If we get all (?) the scripts in ports converted to rc.d we might deprecate this behavior for 7-RELEASE, but it will stay for 6.x-RELEASE for sure, and probably won't be deprecated until 8-RELEASE. hth, Doug -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Tue Aug 22 09:13:53 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 A6C8416A4DD; Tue, 22 Aug 2006 09:13:53 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id F197943D69; Tue, 22 Aug 2006 09:13:52 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 950BC51339; Tue, 22 Aug 2006 11:13:51 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id AB1D550E96; Tue, 22 Aug 2006 11:13:46 +0200 (CEST) Date: Tue, 22 Aug 2006 11:13:35 +0200 From: Pawel Jakub Dawidek To: Doug Barton Message-ID: <20060822091335.GB16593@garage.freebsd.pl> References: <20060821075057.GA8940@garage.freebsd.pl> <44EA2784.6070209@FreeBSD.org> <20060821214609.GD12183@garage.freebsd.pl> <44EABF90.2030602@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rJwd6BRFiFCcLxzm" Content-Disposition: inline In-Reply-To: <44EABF90.2030602@FreeBSD.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-rc@FreeBSD.org Subject: Re: rc(8) out-of-date. 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 09:13:53 -0000 --rJwd6BRFiFCcLxzm Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 22, 2006 at 01:25:52AM -0700, Doug Barton wrote: > Pawel Jakub Dawidek wrote: > I see now. :) You missed the header at the top of that section that says, > "The following key points apply to old-style scripts in > /usr/local/etc/rc.d." Scripts that don't use rc.d (PROVIDE, REQUIRE, etc.) > are still handled in the manner described. >=20 > If we get all (?) the scripts in ports converted to rc.d we might depreca= te > this behavior for 7-RELEASE, but it will stay for 6.x-RELEASE for sure, a= nd > probably won't be deprecated until 8-RELEASE. Ok, thanks. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --rJwd6BRFiFCcLxzm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFE6sq/ForvXbEpPzQRAn++AJ4yzp+WSSFPoVe/kDt1Z+WCdaX2jACeNxiY ucv9mldKqPLJN0OzGU7/n6o= =G6t4 -----END PGP SIGNATURE----- --rJwd6BRFiFCcLxzm-- 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-- From owner-freebsd-rc@FreeBSD.ORG Tue Aug 22 14:39:42 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 D323E16A517 for ; Tue, 22 Aug 2006 14:39:42 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58C9143D49 for ; Tue, 22 Aug 2006 14:39:42 +0000 (GMT) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net ([12.207.12.9]) by sccmmhc91.asp.att.net (sccmmhc91) with ESMTP id <20060822143941m910087cs7e>; Tue, 22 Aug 2006 14:39:41 +0000 Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.6/8.13.6) with ESMTP id k7MEdcuu012317; Tue, 22 Aug 2006 09:39:38 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.6/8.13.6/Submit) id k7MEdcZ2012315; Tue, 22 Aug 2006 09:39:38 -0500 (CDT) (envelope-from brooks) Date: Tue, 22 Aug 2006 09:39:38 -0500 From: Brooks Davis To: David Thompson Message-ID: <20060822143938.GB12125@lor.one-eyed-alien.net> References: <20060822003720.20753.qmail@web55101.mail.re4.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KFztAG8eRSV9hGtP" Content-Disposition: inline In-Reply-To: <20060822003720.20753.qmail@web55101.mail.re4.yahoo.com> User-Agent: Mutt/1.5.11 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 14:39:42 -0000 --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 21, 2006 at 05:37:20PM -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. This sounds correct. This example highlights one the weakness of rc.d vs Apple's startup scripts. We only have a way to control ordering, not a way say "don't start _this_ if _that_ didn't start". -- Brooks --KFztAG8eRSV9hGtP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE6xcpXY6L6fI4GtQRAsP6AJ9C02QM8kv1hcTFUcJv9TNvrRgPZQCeMgm2 GMaaO1wsQRHidNs8PzYSIAw= =389/ -----END PGP SIGNATURE----- --KFztAG8eRSV9hGtP-- From owner-freebsd-rc@FreeBSD.ORG Fri Aug 25 23:07:09 2006 Return-Path: X-Original-To: freebsd-rc@hub.freebsd.org Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 333B316A4DE; Fri, 25 Aug 2006 23:07:09 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A54A643D5C; Fri, 25 Aug 2006 23:07:08 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7PN78RW052417; Fri, 25 Aug 2006 23:07:08 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7PN78DT052413; Fri, 25 Aug 2006 23:07:08 GMT (envelope-from linimon) Date: Fri, 25 Aug 2006 23:07:08 GMT From: Mark Linimon Message-Id: <200608252307.k7PN78DT052413@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org Cc: Subject: Re: conf/102502: [patch] ifconfig name does't rename netgraph node in network.subr 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: Fri, 25 Aug 2006 23:07:09 -0000 Old Synopsis: ifconfig name does't rename netgraph node New Synopsis: [patch] ifconfig name does't rename netgraph node in network.subr Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Fri Aug 25 23:06:19 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=102502 From owner-freebsd-rc@FreeBSD.ORG Sat Aug 26 14:30:16 2006 Return-Path: X-Original-To: freebsd-rc@hub.freebsd.org Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93C7116A4DD for ; Sat, 26 Aug 2006 14:30:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AE8E449A4 for ; Sat, 26 Aug 2006 14:30:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7QEUG7p032142 for ; Sat, 26 Aug 2006 14:30:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7QEUGMj032140; Sat, 26 Aug 2006 14:30:16 GMT (envelope-from gnats) Date: Sat, 26 Aug 2006 14:30:16 GMT Message-Id: <200608261430.k7QEUGMj032140@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Ruslan Ermilov Cc: Subject: Re: conf/102502: ifconfig name does't rename netgraph node X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ruslan Ermilov 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: Sat, 26 Aug 2006 14:30:16 -0000 The following reply was made to PR conf/102502; it has been noted by GNATS. From: Ruslan Ermilov To: Aleksey Shirokih Cc: Gleb Smirnoff , bug-followup@FreeBSD.org Subject: Re: conf/102502: ifconfig name does't rename netgraph node Date: Sat, 26 Aug 2006 18:26:25 +0400 On Fri, Aug 25, 2006 at 11:05:02AM +0000, Aleksey Shirokih wrote: > > >Number: 102502 > >Category: conf > >Synopsis: ifconfig name does't rename netgraph node > ng_ether(4) creates all nodes when it's loaded, or when a new interface is attached, and it *attempts* to name a node with its interface's name. This is not guaranteed though. If you need to rename interfaces, you can load ng_ether module *after* doing the renames. It's not ideal, e.g., it'll still require manual intervention if a new interface is plugged, but I don't think that automatic renaming of nodes should happen, unconditionally. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer