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 1MF4QX-0007Ix-Ua for garchives@archives.gentoo.org; Fri, 12 Jun 2009 10:56:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D12AE055E; Fri, 12 Jun 2009 10:56:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 45759E055E for ; Fri, 12 Jun 2009 10:56:04 +0000 (UTC) Received: from [10.20.79.94] (unknown [213.87.80.39]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 350416546C for ; Fri, 12 Jun 2009 10:55:48 +0000 (UTC) Subject: Re: [gentoo-dev] Detecting Baselayout2/OpenRC from init.d scripts (summary of debate and plans from bug 270646) From: Peter Volkov To: gentoo-dev@lists.gentoo.org In-Reply-To: <200906082054.15164.vapier@gentoo.org> References: <20090607195950.GI22927@orbis-terrarum.net> <200906081942.17902.vapier@gentoo.org> <200906082054.15164.vapier@gentoo.org> Content-Type: text/plain; charset="UTF-8" Date: Fri, 12 Jun 2009 14:53:49 +0400 Message-Id: <1244804029.11823.1336.camel@localhost> 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 X-Mailer: Evolution 2.26.2 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 10e719db-1d26-483c-8ffe-f6c789a37476 X-Archives-Hash: 6441adcec192482e4e3af3d6022b6d7b =D0=92 =D0=9F=D0=BD=D0=B4, 08/06/2009 =D0=B2 20:54 -0400, Mike Frysinger = =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > i dont see how that is relevant. we only care about Gentoo here. plus= , the=20 > test is: if /sbin/functions.sh exists, it's baselayout-1 (which no one = else=20 > outside of Gentoo will be using), otherwise it's openrc. once we toss=20 > baselayout-1, there is no test as everything requires openrc. Is there any problem with /etc/openrc-version? Some people already use other service startup/shutdown systems and there are plans to move this work to the tree (e.g. runit, that is in tree, but init scripts still not). So clear check what rc-system is installed will be useful for cases where we need to modify configuration files automatically. --=20 Peter.