From owner-freebsd-current@FreeBSD.ORG Tue Sep 22 10:58:22 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E10E51065676; Tue, 22 Sep 2009 10:58:21 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 753E88FC18; Tue, 22 Sep 2009 10:58:21 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n8MAwJuh046527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Sep 2009 13:58:19 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n8MAwJ3Q001892; Tue, 22 Sep 2009 13:58:19 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n8MAwIHk001891; Tue, 22 Sep 2009 13:58:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 22 Sep 2009 13:58:18 +0300 From: Kostik Belousov To: "Robert N. M. Watson" Message-ID: <20090922105818.GT47688@deviant.kiev.zoral.com.ua> References: <200908122159.25234.mel.flynn+fbsd.current@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oEj3/8+YnogYHQRs" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean Cc: Mel Flynn , freebsd-current@freebsd.org, Pawel Jakub Dawidek Subject: Re: Call for regression and performance testing - 8.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2009 10:58:22 -0000 --oEj3/8+YnogYHQRs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 22, 2009 at 11:21:48AM +0100, Robert N. M. Watson wrote: >=20 > On 13 Aug 2009, at 06:59, Mel Flynn wrote: >=20 > >On Wednesday 12 August 2009 04:29:35 Robert Watson wrote: > > > >>We actually have a sizable regression test suite in src/tools/=20 > >>regression -- > >>some of these tools will have broken as a result of 8-CURRENT =20 > >>development, > >>so the first task may be to fix them. The next is to run them on 7-=20 > >>STABLE > >>and 8-CURRENT and decide if things have gotten worse -- or maybe we =20 > >>have a > >>bug to fix in both. Pick the tool of your choice, and give it a =20 > >>spin. > >>More than one person per tool is fine, because that way we get more =20 > >>diverse > >>testing. > > > >Well, there's one regression that prevents me from testing a =20 > >regression. In > >gmirror(8) and still on 8.x it is described how to do kernel dumps =20 > >on a > >gmirror, using /etc/rc.early. Yet, /etc/rc.d/early.sh has been =20 > >removed and a > >grep for early in the /etc tree, has not shown me that there's a =20 > >replacement > >in place. >=20 > Catching up on back e-mail here after a lot of conference =20 > organizing :-). Did this issue get resolved to everyone (most =20 > people)'s satisfaction? I've CC'd Pawel. >=20 I mailed the following patch relatively long time ago. I want /etc/rc.early support back. diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile index fbfac8a..45f4dc6 100755 --- a/etc/rc.d/Makefile +++ b/etc/rc.d/Makefile @@ -9,7 +9,7 @@ FILES=3D DAEMON FILESYSTEMS LOGIN NETWORKING SERVERS \ ccd cleanvar cleartmp cron \ ddb defaultroute devd devfs dhclient \ dmesg dumpon \ - encswap \ + early encswap \ faith fsck ftp-proxy ftpd \ gbde geli geli2 gssd \ hcsecd \ diff --git a/etc/rc.d/early b/etc/rc.d/early new file mode 100755 index 0000000..8a863d0 --- /dev/null +++ b/etc/rc.d/early @@ -0,0 +1,29 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: early +# REQUIRE: disks localswap +# BEFORE: fsck + +# +# Support for legacy /etc/rc.early script +# +. /etc/rc.subr + +name=3D"early" +start_cmd=3D"early_start" +stop_cmd=3D":" + +early_start() +{ + if [ -r /etc/rc.early ]; then + echo -n 'Executing rc.early script:' + . /etc/rc.early + echo '.' + fi +} + +load_rc_config $name +run_rc_command "$1" --oEj3/8+YnogYHQRs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkq4rcoACgkQC3+MBN1Mb4hw1wCeLSvRaZQc3AMwjAPQcxJ4LruC FNIAn29wXlKa0rj+wHjtGPfGVwsQ4MCj =WPzp -----END PGP SIGNATURE----- --oEj3/8+YnogYHQRs--