From owner-cvs-src@FreeBSD.ORG Mon Oct 22 18:10:29 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2F5316A417; Mon, 22 Oct 2007 18:10:28 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 8E8A513C4AC; Mon, 22 Oct 2007 18:10:28 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id D4309EB9B05; Tue, 23 Oct 2007 02:10:10 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id jjbRPA0HXG9R; Tue, 23 Oct 2007 02:10:06 +0800 (CST) Received: from LI-Xins-MacBook.local (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id E3DF8EB20C6; Tue, 23 Oct 2007 02:10:04 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type; b=GqZQIX/YcdFMD0WomlLS3TbmiRx/iqysegWUuetyHGG0C7epZh3TZSK4DmYg4Agn3 OaEsqYji2NYAI5KV+B3sw== Message-ID: <471CE776.80101@delphij.net> Date: Mon, 22 Oct 2007 11:09:58 -0700 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Doug Barton References: <200710220938.l9M9ciIR057171@repoman.freebsd.org> In-Reply-To: <200710220938.l9M9ciIR057171@repoman.freebsd.org> X-Enigmail-Version: 0.95.3 OpenPGP: url=http://www.delphij.net/delphij.asc Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig051925E2EEA22D31CFC6D710" Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/etc/rc.d named X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2007 18:10:29 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig051925E2EEA22D31CFC6D710 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Doug Barton wrote: > dougb 2007-10-22 09:38:44 UTC >=20 > FreeBSD src repository >=20 > Modified files: > etc/rc.d named=20 > Log: > 1. Determine the location of the rndc* binaries relative to $command > so that when using named from the ports (or elsewhere) the proper rnd= c* > commands will be run. > =20 > 2. Rework the stop routine using ideas from brooks and delphij. > Specifically I am duplicating a lot of code from rc.subr's stop routi= ne > so that this one will behave more like the one in rc.subr, but use rn= dc > to kill the daemon (or regular kill if that fails). This also avoids > the problems related to using killall if rndc fails, which is bad if > you're running more than one named on the same box. Thanks! Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig051925E2EEA22D31CFC6D710 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHHOd2OfuToMruuMARCppoAJ9dWcafH1ayDJi/mD8gOdND9dZQEwCfXfse 6nhMhWbJMJyL8fGUykXYS5o= =0vxl -----END PGP SIGNATURE----- --------------enig051925E2EEA22D31CFC6D710--