From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SUffW-0007n8-P8 for garchives@archives.gentoo.org; Wed, 16 May 2012 14:57:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A4A9E0743; Wed, 16 May 2012 14:57:22 +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 17008E0743 for ; Wed, 16 May 2012 14:55:43 +0000 (UTC) Received: by bkcjk13 with SMTP id jk13so781883bkc.40 for ; Wed, 16 May 2012 07:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=1vMTKAyXiXIKZDJiDM+/f/7PzcK5kxF/YZMtXBWwKWo=; b=TBPmiY73yIMy6ywkXsj7zJMlyXhmxkywm+DhswiAL0mF7h6ZzvBWasMA9EUeJnIcaK JD7XC3X8l8iKW4NThqZH9S4bIjBEAcCLIO18SuQ0JrSCzd4AsPHRHw+AJVQHavFt40p/ 6Cwb+ss9ZyoYeSECkP/OQtvZCc4o+nt/541Khn5X93ueGpxroZ0qvruhiOFc13MPJiCs Ovjv4bPwotN8w/NU6dnzx71PG3sYTfi8Om2/f5dZs5WKU0qu9aZWi5xID61rC1lZ66m0 GkAFVdHMfo2+2+Yu/zjX7rFwm7sO+fBXiGz59MvmK7nmfZS/AkPX7hAwpSYIWyr732AN 5bPg== Received: by 10.204.156.209 with SMTP id y17mr1265291bkw.113.1337180143157; Wed, 16 May 2012 07:55:43 -0700 (PDT) Received: from [172.21.36.94] (global-1-83.nat.csx.cam.ac.uk. [131.111.184.83]) by mx.google.com with ESMTPS id x23sm5721296bkw.12.2012.05.16.07.55.41 (version=SSLv3 cipher=OTHER); Wed, 16 May 2012 07:55:42 -0700 (PDT) Message-ID: <4FB3BFFE.5060500@gmail.com> Date: Wed, 16 May 2012 15:55:58 +0100 From: Ignas Anikevicius User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120506 Thunderbird/12.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org CC: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= Subject: Re: [gentoo-user] Runlevels, ordering initscripts and running them in background References: <4FB367FA.2050705@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 35f07d62-aec4-4cfb-87dd-0f1c8b94dd79 X-Archives-Hash: 5c7f11f1382af1b3a8658787d4e6eed8 On 16/05/12 13:13, Canek Pel=C3=A1ez Vald=C3=A9s wrote: > On Wed, May 16, 2012 at 3:40 AM, Ignas Anikevicius > wrote: >> Hello everybody, >> >> I was wondering if the following is possible: >> - Add a lot of daemons to a newly created runlevel post-default >> - Switch to it after the xdm is started (or after some time) >> >> I want to do this, so that I do not have to wait while non-crucial >> services are being started (e.g. fcron, bitlbee, ntpd to name a few). >> Maybe it is possible to somehow prioritize the initscripts? >> >> Another related question is that I come from Arch and there I could ju= st >> give the *order* of the daemons/initscripts to start and some of them >> could be started and 'in background'. Is it possible to do that with >> openrc? I saw the rc_parallel option in rc.conf, but I do not know, >> whether I need anything else. >=20 > Be aware that the rc_parallel option has never been really supported, > and it actually doesn't appear in the /etc/rc.conf of the one machine > I have access to that still uses OpenRC. >=20 > You may want to try systemd, it sounds like it does (out of the box) > exactly what you want to. >=20 > Regards. I did know, that this was removed. If I experience problems I'll remove the option, but maybe I'll remove it all together. I have systemd installed as I wanted to try, but I do not like the way everything is managed. I like the idea of simple bash initscripts, which can be easily extended if needed. I can also write bash scripts, which configure my system the way I want (i.e. set battery charging thresholds or something similar). I do not care for a split second advantage, but I just do not see a lot of point in waiting for bitlbee to start before xdm so that I might need maybe a while after I boot into my computer. Thanks for suggestions to everybody. Cheers, Ignas