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 AB86A1381F3 for ; Sun, 26 May 2013 14:54:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1FD0E0D42; Sun, 26 May 2013 14:54:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 16A2DE0D10 for ; Sun, 26 May 2013 14:54:26 +0000 (UTC) Received: from [192.168.1.160] (bas1-ottawa09-2925287262.dsl.bell.ca [174.92.87.94]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: axs) by smtp.gentoo.org (Postfix) with ESMTPSA id E7F6533DF65 for ; Sun, 26 May 2013 14:54:24 +0000 (UTC) Message-ID: <51A22224.1030503@gentoo.org> Date: Sun, 26 May 2013 10:54:28 -0400 From: Ian Stakenvicius User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130523 Thunderbird/17.0.6 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] eselect init References: <51A08A68.3020900@gentoo.org> <20130525153827.61ed2ca4@TOMWIJ-GENTOO> <5d832c4680bfbd3ae7da6dfe5608be2d.squirrel@www.antarean.org> <20130525215520.77ca8df0@TOMWIJ-GENTOO> <67590649bf4a40ee66c557235e41c9b5.squirrel@www.antarean.org> In-Reply-To: <67590649bf4a40ee66c557235e41c9b5.squirrel@www.antarean.org> X-Enigmail-Version: 1.6a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 502b5473-c61c-44fe-bca8-58891f9283f6 X-Archives-Hash: 080cb00ff54092f6f9c820de8af78f03 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 26/05/13 08:59 AM, J. Roeleveld wrote: > On Sat, May 25, 2013 21:55, Tom Wijsman wrote: >> On Sat, 25 May 2013 21:09:47 +0200 "J. Roeleveld" >> wrote: >> >>> How will the stop/start part of services/init-scripts/... be >>> done? >> >> Not sure what you mean here; if you keep init function the same >> as the init you boot with, this should continue to work. > > As an example. Lets say I want to test a new init-system. To do > this, I follow the (still to be written) guide on "eselect init" > and boot into new-and-shiny-init-system. > > I am still used to stopping/starting services using > "/etc/init.d/ start/stop" And using the "rc" command to > add/remove services from the runlevel(s). > > If I then, accidentally, type "/etc/init.d/xyz start" when "xyz" > hasn't been started by any means yet. What will happen? I would > assume that openrc will try to start "xyz"? This is, I believe, > something that could cause issues as dependencies might also try to > start and I then have a service running not managed by the > "new-and-shiny-init-system" that I was testing. Point #1 - openrc isn't init -- 'eselect init' or w/e is not necessarily going to be the same as 'eselect rc-system'. It's unlikely that you'll want to use another rc system if using systemd for your init, but that doesn't mean you can't. Point #2 - yes, this can be an issue and I believe it's already being worked on separately; WilliamH has mentioned issues like this more than once on irc, at least, although I don't know if he's implemented any solution(s). This bit should go into a separate thread or bug, and not be considered part of the overall 'eselect init' solution imo. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EAREIAAYFAlGiIiQACgkQ2ugaI38ACPA7dwD/Y6IJo+/j2Ho4p1bM8mGMt7E8 ZglL7SvNS7g/90K6n1gA/37F0u5v2gzIoSTVi6uEmyhcPMW/2I2vr+YRv0rALO8S =PuVY -----END PGP SIGNATURE-----