Date: Tue, 22 Sep 2009 13:58:18 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: "Robert N. M. Watson" <rwatson@freebsd.org> Cc: Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net>, freebsd-current@freebsd.org, Pawel Jakub Dawidek <pjd@freebsd.org> Subject: Re: Call for regression and performance testing - 8.0 Message-ID: <20090922105818.GT47688@deviant.kiev.zoral.com.ua> In-Reply-To: <CE739B49-29B2-4612-AA15-B75057C416E1@freebsd.org> References: <alpine.BSF.2.00.0908121329130.66335@fledge.watson.org> <200908122159.25234.mel.flynn%2Bfbsd.current@mailing.thruhere.net> <CE739B49-29B2-4612-AA15-B75057C416E1@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090922105818.GT47688>