From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1083 Path: news.gmane.org!not-for-mail From: orc Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: Vision for new platform Date: Tue, 12 Jun 2012 15:46:46 +0800 Message-ID: <20120612154646.78c592e6@sibserver.ru> References: <20120610225226.137363d0@sibserver.ru> <20120610151311.GH163@brightrain.aerifal.cx> <20120610235125.31f38cd7@sibserver.ru> <20120610163359.GJ163@brightrain.aerifal.cx> <20120611015349.701fa061@sibserver.ru> <20120611022606.303f6d07@sibserver.ru> <20120610193348.GK163@brightrain.aerifal.cx> <20120611175922.34fea59b@newbook> <20120612014840.GT163@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1339487318 18472 80.91.229.3 (12 Jun 2012 07:48:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2012 07:48:38 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1084-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jun 12 09:48:37 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1SeLq9-00049F-0F for gllmg-musl@plane.gmane.org; Tue, 12 Jun 2012 09:48:37 +0200 Original-Received: (qmail 22325 invoked by uid 550); 12 Jun 2012 07:48:36 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 22312 invoked from network); 12 Jun 2012 07:48:32 -0000 In-Reply-To: <20120612014840.GT163@brightrain.aerifal.cx> X-Mailer: claws-mail Xref: news.gmane.org gmane.linux.lib.musl.general:1083 Archived-At: Some compromise can be reached here: - User wants runlevels, boot profiles, etc... - a daemon that started by minimal init can be developed, - User do not wants runlevels, his/her system is controlled by, for example, shell scripts - then daemon is optional, init starts shell script that will boot the rest system (as ninit does for example) Daemon must not be overfeatured, must be highly configurable and controllable, and should target only few platforms (generally only platforms that use Linux as kernel). Daemon should not control hardware status, this is a mdev/udev's job. Ideally, as udev/mdev is for hardware, than this daemon is for processes. Both daemon and init can be a part of one package, and when installing, user should be able to select, which components it wants to install (install daemon or not). Init is critical process - when it dies, then whole system becomes unusable. Ideally init must not do anything than reap orphans/zombies, but starting shell scripts does not require init to be expensive, so it should be implemented too. Adding anything not related to this job to the init will be the future source of undefined behavior and fatal errors.