Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2012 09:48:22 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Richard Yao <ryao@gentoo.org>, Vincent Hoffman <vince@unsane.co.uk>, Nathan Whitehorn <nwhitehorn@freebsd.org>, Outback Dingo <outbackdingo@gmail.com>, openrc@gentoo.org, =?ISO-8859-1?Q?Atte_Peltom=E4ki?= <atte.peltomaki@iki.fi>
Subject:   Re: Replacing rc(8) (Was: FreeBSD Boot Times)
Message-ID:  <4FE0AD56.8050604@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.00.1206190636100.1823@wojtek.tensor.gdynia.pl>
References:  <20120615124849.GI96212@ass.kameli.org> <CAKYr3zxSOFOUghqao=3U_8sBNHwqce8AGK6mSFd6is11qzjS8w@mail.gmail.com> <20120618081140.GK96212@ass.kameli.org> <4FDF6177.5050608@unsane.co.uk> <4FDF6586.9060501@gentoo.org> <4FDFB166.2040709@FreeBSD.org> <alpine.BSF.2.00.1206190636100.1823@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/18/2012 9:39 PM, Wojciech Puchar wrote:
>> The latter item is the only place where making changes to rc.d is going
>> to help, and only then by parellelizing, and even then you are not
>> really going to gain much since most things at boot time are serial.
> 
> grep sleep /etc/rc.d/* usr/local/etc/rc.d/*

Sleeps in /etc tend to be there for good reasons, and new ones are
vigorously scrutinized. If you see any that you think are dubious, feel
free to mention them on freebsd-rc@.

In the ports' scripts we tend to be more forgiving, but I've worked with
several maintainers to apply more effective solutions where there is a
good reason to wait for a dependent service to actually be running.

This also brings up a good point, any new rc-alike solution we consider
must have support for scripts in ports that is at least as robust as
what we have now.

Doug

-- 

    This .signature sanitized for your protection





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE0AD56.8050604>