From owner-freebsd-current@FreeBSD.ORG Sat Jan 14 15:30:46 2012 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 F26F1106564A for ; Sat, 14 Jan 2012 15:30:46 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id B711E8FC16 for ; Sat, 14 Jan 2012 15:30:46 +0000 (UTC) Received: by iagz16 with SMTP id z16so1752391iag.13 for ; Sat, 14 Jan 2012 07:30:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=HfXajkrSMEHCGU+BS8redraW08aIh3s0YlccULzl16o=; b=xjx3KHsUqel2zoVbYK82kZIoawrPWNnom5MlNHpw/ZYJlFQ1tLwCUQJiWGj14EZm0c 1aJJkiP8K8RKX97MHyLelHUty2QSUI4Alb/xZaKZ+Cv21FTv5CFBloqeDbz6y8s1pBjm olU5bGQN+8p3L16rWSXI8co/7D5MSfT9QJIO0= Received: by 10.50.17.195 with SMTP id q3mr5448190igd.11.1326555046268; Sat, 14 Jan 2012 07:30:46 -0800 (PST) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.231.207.7 with HTTP; Sat, 14 Jan 2012 07:30:15 -0800 (PST) In-Reply-To: <4F119C40.2080503@gwdg.de> References: <4F114577.30201@FreeBSD.org> <4F119C40.2080503@gwdg.de> From: Chris Rees Date: Sat, 14 Jan 2012 15:30:15 +0000 X-Google-Sender-Auth: LFb-lZNipjgDvfSL7lGcHVToKHk Message-ID: To: Rainer Hurling Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current Subject: Re: HEADS UP: set_rcvar() removed from rc.subr 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: Sat, 14 Jan 2012 15:30:47 -0000 On 14 January 2012 15:16, Rainer Hurling wrote: > On 14.01.2012 10:05 (UTC+1), Doug Barton wrote: >> >> Howdy, >> >> Per discussion in freebsd-rc@, I have removed set_rcvar() from rc.subr. >> The concept of set_rcvar() was nice in theory, but the forks it creates >> are a drag on the startup process, which is especially noticeable on >> slower systems, such as embedded ones. >> >> I have no plans to MFC this change, so it should only affect users who >> are actually on 10-current. If you have scripts in /usr/local/etc/rc.d >> (which if you have ports installed you almost certainly do) ... >> >> to make the change by hand, change this: >> >> name=3Dfoo >> rcvar=3D`set_rcvar` >> >> to: >> >> name=3Dfoo >> rcvar=3Dfoo_enable >> >> I didn't bump PORTREVISIONs because the change only applies to HEAD. But >> all of the ports are updated, so if you can't figure out how to make the >> change, just reinstall it. >> >> >> Doug > > > Seems that ports-mgmt/tinderbox needs an update like this: > > files/patch-etc__rc.d__tinderd > > --- etc/rc.d/tinderd.orig =A0 =A0 =A0 2011-11-20 07:01:09.000000000 +0100 > +++ etc/rc.d/tinderd =A0 =A02012-01-14 16:07:38.000000000 +0100 > @@ -16,7 +16,7 @@ > =A0. /etc/rc.subr > > =A0name=3D"tinderd" > -rcvar=3D`set_rcvar` > +rcvar=3Dtinderd_enable > > =A0# read settings, set default values > =A0load_rc_config "${name}" > I'm in the process of fixing this upstream. Chris