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 BEB4F13800E for ; Thu, 9 Aug 2012 20:46:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D0CA21C01F; Thu, 9 Aug 2012 20:46:26 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 8877FE07B2 for ; Thu, 9 Aug 2012 20:45:29 +0000 (UTC) Received: by bkwj4 with SMTP id j4so429745bkw.40 for ; Thu, 09 Aug 2012 13:45:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ieYDf4PQbK17js58uUaN+U2+HnZ/2ezVA/TXqGtj2kI=; b=oeMIjia53ZdTJhO46kEK/qzou9peH3/rrcPbg2yaTk11BAo2eKe72EKXC2iYkKofCd gGg2Dhy8lh8WnJSgRqXHT7m/U4bQ7K+9TwDuWrRWp4mVVMoLjjBhKvRe3DCYDCguV8ef OOFg/ckfJbr/EYpT95iQB7j3oWpy3JvCNbMuMX4CivBbtw3KhDTOBRRoERVW1WI2b4J0 7nfbdzEcXgVL/98aLPcBUodSjVj2ITBLvyy+yeoUnpyTmGg65mHPYf6Ej5/+MpAto+oR lEZxMJqjfRfNZa+cUEtHxaR4idLrYwsn4VFTfFNwKqSePnTJ3NihveM63ohywDP0dPjY K6Yw== 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 Received: by 10.204.145.82 with SMTP id c18mr250572bkv.133.1344545128615; Thu, 09 Aug 2012 13:45:28 -0700 (PDT) Received: by 10.205.33.10 with HTTP; Thu, 9 Aug 2012 13:45:28 -0700 (PDT) In-Reply-To: <20120809223743.4b61ca57@pomiocik.lan> References: <1344366029.24762.31.camel@TesterTop4> <502377E7.8010803@gentoo.org> <20120809140228.18316.qmail@stuge.se> <20120809202737.18212.qmail@stuge.se> <20120809223743.4b61ca57@pomiocik.lan> Date: Thu, 9 Aug 2012 16:45:28 -0400 Message-ID: Subject: Re: [gentoo-dev] pid 1 design From: Michael Mol To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e08a9ca8-0249-4abd-bae8-275a4706c6a5 X-Archives-Hash: e6899e08a6f8d3dd6c07103dfcd9ae12 On Thu, Aug 9, 2012 at 4:37 PM, Micha=C5=82 G=C3=B3rny = wrote: > On Thu, 9 Aug 2012 22:27:37 +0200 > Peter Stuge wrote: > >> Rich Freeman wrote: [snip] >> > Systemd isn't a like-for-like replacement for traditional inits. >> > It aims to be much more, so this is a bit of an apples-to-oranges >> > comparison. >> >> Yes, it is much more, which is a very nice thing on the systems >> it supports. I believe systemd is not usuable at all outside Linux >> and will not likely ever be, so for prefix there will anyway always >> be systemd alternatives in Gentoo! And on those systems the service >> files should never be installed. > > Considering that systemd unit files are sometimes shipped with upstream > packages, and often they are practically equivalent to openrc init > scripts, I'd rather see openrc supporting that file format > as an extension and using it instead of duplicating the same thing > in init.d scripts. > > And yes, that means that people masking service files shoot themselves > in the foot. > > Also, if I had more time (or support), I'd probably start working > on a systemd-compatible init system with a more portable design. I would find this very interesting. I doubt I could find time for much active contribution, unfortunately, but I'd help where I could. > >> > Again, I'm not sure that it HAS to work the way it does >> >> I would say that it does, because it is required in order to >> accomplish what systemd wants to deliver. > > Not necessarily. You can move many 'extra' systemd features outside of > PID 1. For example, unit dependency trees are complex by definition > and practically not necessary for PID 1. > > In other words, it could be designed to move more complex (and thus > risky) tasks outside of PID 1. +1 --=20 :wq