Call for regression and performance testing - 8.0
Kostik Belousov
kostikbel at gmail.com
Tue Sep 22 10:58:22 UTC 2009
On Tue, Sep 22, 2009 at 11:21:48AM +0100, Robert N. M. Watson wrote:
>
> On 13 Aug 2009, at 06:59, Mel Flynn wrote:
>
> >On Wednesday 12 August 2009 04:29:35 Robert Watson wrote:
> >
> >>We actually have a sizable regression test suite in src/tools/
> >>regression --
> >>some of these tools will have broken as a result of 8-CURRENT
> >>development,
> >>so the first task may be to fix them. The next is to run them on 7-
> >>STABLE
> >>and 8-CURRENT and decide if things have gotten worse -- or maybe we
> >>have a
> >>bug to fix in both. Pick the tool of your choice, and give it a
> >>spin.
> >>More than one person per tool is fine, because that way we get more
> >>diverse
> >>testing.
> >
> >Well, there's one regression that prevents me from testing a
> >regression. In
> >gmirror(8) and still on 8.x it is described how to do kernel dumps
> >on a
> >gmirror, using /etc/rc.early. Yet, /etc/rc.d/early.sh has been
> >removed and a
> >grep for early in the /etc tree, has not shown me that there's a
> >replacement
> >in place.
>
> Catching up on back e-mail here after a lot of conference
> organizing :-). Did this issue get resolved to everyone (most
> people)'s satisfaction? I've CC'd Pawel.
>
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= 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="early"
+start_cmd="early_start"
+stop_cmd=":"
+
+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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090922/273a01b3/attachment.pgp
More information about the freebsd-current
mailing list