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 C213613827E for ; Sat, 14 Dec 2013 12:48:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07836E0BE1; Sat, 14 Dec 2013 12:48:23 +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 1A14AE0BCC for ; Sat, 14 Dec 2013 12:48:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D6FCF33EDCC for ; Sat, 14 Dec 2013 12:48:20 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.22 X-Spam-Level: X-Spam-Status: No, score=-1.22 tagged_above=-999 required=5.5 tests=[AWL=-1.217, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wJC9JS1S_1eG for ; Sat, 14 Dec 2013 12:48:15 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 17B4933F526 for ; Sat, 14 Dec 2013 12:48:14 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vrodd-0006BM-4G for gentoo-dev@gentoo.org; Sat, 14 Dec 2013 13:48:09 +0100 Received: from ip68-231-22-224.ph.ph.cox.net ([68.231.22.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Dec 2013 13:48:09 +0100 Received: from 1i5t5.duncan by ip68-231-22-224.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Dec 2013 13:48:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-dev] Re: rfc: renaming "rc" binary in OpenRC Date: Sat, 14 Dec 2013 12:47:47 +0000 (UTC) Message-ID: References: <20131211204110.GA30092@linux1> <52A9DA57.6070700@plaimi.net> <20131213172307.GA6734@linux1> <20131213220357.GA18419@linux1> 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip68-231-22-224.ph.ph.cox.net User-Agent: Pan/0.140 (Chocolate Salty Balls; GIT 7161f50 /usr/src/portage/src/egit-src/pan2) X-Archives-Salt: febd54e8-b0bf-4845-b208-a6fd4da80456 X-Archives-Hash: 30b9e9d95708c7af57391f0b068d408c William Hubbs posted on Fri, 13 Dec 2013 16:03:57 -0600 as excerpted: > On Fri, Dec 13, 2013 at 07:53:59PM +0000, Duncan wrote: >> William Hubbs posted on Fri, 13 Dec 2013 11:23:07 -0600 as excerpted: >> >>> There are reasons to run the rc binary directly; this is how you >>> should be changing runlevels. >> >> ??? >> >> init 9 (or telinit 9, yes, I have a runlevel 9, basic, just gpm as it >> happens) isn't appropriate? > > Well, I have to qualify what I said. > > There are two "runlevels" you have to worry about. > The OpenRC runlevels are named; you can switch between these using rc > directly, for example: > > rc default > rc single > rc nonetwork > > The sysvinit runlevels are the numbered ones, and these are mapped to > things to run, like 3 is mapped to /sbin/rc default. I believe runlevel > 3 is mapped to other things in inittab, so, I guess the best answer is, > it depends on what you are wanting to change. Does that make sense? Yes, it does. Thanks. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman