From owner-freebsd-questions@FreeBSD.ORG Sat May 1 08:38:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DA4A1065674 for ; Sat, 1 May 2010 08:38:38 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (imap.infracaninophile.co.uk [81.187.76.162]) by mx1.freebsd.org (Postfix) with ESMTP id AC04B8FC16 for ; Sat, 1 May 2010 08:38:37 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o418cVbu095121 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 1 May 2010 09:38:31 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BDBE887.7020505@infracaninophile.co.uk> Date: Sat, 01 May 2010 09:38:31 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100501101513.64204bb6.robertjenssen@ozemail.com.au> In-Reply-To: <20100501101513.64204bb6.robertjenssen@ozemail.com.au> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: nfe0 startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2010 08:38:38 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/05/2010 01:15:13, Robert Jenssen wrote: > Many thanks to those who responded to my question. It seems that > waiting for the network to start up is a common problem. Recently > Jeremy Chadwick proprosed adding a /usr/local/etc/rc.d/waitnetwork > script. In response others have suggested the more radical step of > replacing /etc/rc.d with launchd. See Message-ID > <20100418213727.GA98129@icarus.home.lan> etc. I will await > developments. launchd(8) is a very interesting proposition, but it replaces a lot more than just the RC framework. It also covers cron(8), devd(8), inetd(8), init(8)/getty(8). Unlike RC scripts, launchd does /not/ expect the programs it manages to daemonise. In that respect, it's a lot more like daemontools or the sysV-ish inittab. While this has advantages (eg. in being able to restart crashed daemons promptly), it's a very different way of doing things, and there would have to be concomitant changes all over /usr/src. Not forgetting all of the available ported software. By my estimation, if FreeBSD were to commit to using launchd(8), the work required would absorb the majority of the available developer time running up to a major release. ie. if the decision was taken to go ahead, as soon as 9.0-RELEASE was branched, work on launchd in 10-CURRENT would have to start immediately, and take priority over many other development efforts in order to have the following 10.0-RELEASE up to the quality expected from the FreeBSD project. I don't think that's going to happen. I can see a launchd-esque system being introduced, but it would have to be radically rewritten compared to what MacOS X uses, offer compatibility shims for all of the systems it was intended to supplant, and it would take many years of gradual developent and change to get it to the desired state. In other words, keep up your RC script-writing skills for the foreseeable future. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvb6IYACgkQ8Mjk52CukIy8KwCglf3zwHd0G28UOUgHcUi0lSz4 eGgAni89VMuk6zknVBJRDcqzfPzHbkfB =7+ik -----END PGP SIGNATURE-----