From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6F78D13800E for ; Thu, 9 Aug 2012 16:00:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41EE2E0795; Thu, 9 Aug 2012 16:00:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2C0F6E06C0 for ; Thu, 9 Aug 2012 15:59:39 +0000 (UTC) Received: from [192.168.1.101] (dynamic-adsl-84-221-248-58.clienti.tiscali.it [84.221.248.58]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lu_zero) by smtp.gentoo.org (Postfix) with ESMTPSA id 4DC701B401E for ; Thu, 9 Aug 2012 15:59:38 +0000 (UTC) Message-ID: <5023DE6B.9010001@gentoo.org> Date: Thu, 09 Aug 2012 17:59:39 +0200 From: Luca Barbato User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120801 Thunderbird/14.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] pid 1 design References: <1344366029.24762.31.camel@TesterTop4> <502377E7.8010803@gentoo.org> <20120809140228.18316.qmail@stuge.se> In-Reply-To: <20120809140228.18316.qmail@stuge.se> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 9594d211-b345-499b-82bc-bad7dd6d5ec8 X-Archives-Hash: f840924a489bcfcb5a068156064aa22e On 08/09/2012 04:02 PM, Peter Stuge wrote: > Luca Barbato wrote: >> Repeat after me: having your first process require anything more >> than libc is stupid and dangerous. > > Why do you say? Because libc supposedly should be stable, other libraries are a bit more prone to radical changes and other annoyances. You wouldn't like to reboot your system if you replace/update dbus or glib, do you? > And why is libc different from other libraries, say libuuid or > libext2fs? I mean: Why allow pid 1 to require libc, it could > just be statically linked. Actually statically linked initial process would be another reason why you'd like to NOT use large libraries and in large number. Obviously if you are thinking about desktop and not system in which replacing kernels should be done w/out downtime (qnx and some linux patches let you do that) it isn't a huge concern. Yet I'm not used to have to reboot after issuing emerge -u world and most of the times I don't have even to restart X... lu