Date: Thu, 21 Jun 2012 17:19:27 +0100 From: Chris Rees <utisoft@gmail.com> To: Jason Hellenthal <jhellenthal@dataix.net> Cc: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, openrc@gentoo.org, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: Replacing rc(8) (Was: FreeBSD Boot Times) Message-ID: <CADLo838E7iUXAuFm9ZA5aewcUPZpbCdhafxaHk9LAhW_NQn-XQ@mail.gmail.com> In-Reply-To: <20120621161513.GA88762@DataIX.net> References: <4FE0C123.8030301@gentoo.org> <CAGH67wRidMZrzjzTSdwud%2BZ5V--wOTN8CHXOWcOr%2BE5XHYo2rA@mail.gmail.com> <4FE0F773.1080403@gentoo.org> <CAGH67wQdb-c0Kf=60rkaJSH8Hd0OjwCi=rQQMzGq8xfp2q7b=Q@mail.gmail.com> <4FE100F9.2050009@funtoo.org> <20120620073920.GA5300@lonesome.com> <alpine.BSF.2.00.1206201618560.75278@wojtek.tensor.gdynia.pl> <CAPDOV49kkOdeV%2B6LVW5j5PO6VYrrNVqWZEksc_GzvWHjbufoAQ@mail.gmail.com> <20120620214006.GA1651@aspire.rulingia.com> <alpine.BSF.2.00.1206211159280.1662@wojtek.tensor.gdynia.pl> <20120621161513.GA88762@DataIX.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 21, 2012 5:15 PM, "Jason Hellenthal" <jhellenthal@dataix.net> wrote: > > > > On Thu, Jun 21, 2012 at 12:22:08PM +0200, Wojciech Puchar wrote: > > Lets make a summary. > > > > What functionality would be good to have in FreeBSD that doesn't exist: > > > > 1) "runlevels" with arbitrary names. runlevel change would start and stop > > right services. > > 2) exploit startup parallelism. > > > > > > What we do not want to change: > > > > - file structure which is simple. one file in rc.d/ per service and one > > global config file (rc.conf) > > - anything else that would make things more complicated. > > > > > > As for > > > > 1) i propose in rc.conf an option to put "NO", "YES" (or ALL) or runlevel > > list for each service or runlevel exclusion list for service. > > > > > > examples: > > > > service1_enable="YES" > > service2_enable="NO" > > service3_enable="foolevel maintenance" > > service4_enable="YES -foolevel" (or ALL -funkyrunlevel) > > > > name of default runlevel may be "full" or "multiuser" > > > > service 1 will always work, service 2 never, service 3 only at runlevels > > "foolevel" and "maintenance", service4 with any runlevel except > > "foolevel". > > > > still single rc.conf, not much bigger in practice. > > > > 2) no change in rc.d/* scripts and rc.conf, but change in scripts. > > > > > > If everyone agree i think i may write this new scripts. > > Sorry but I completely disagree here. Why ? > > Because do one thing and do one thing well. What do you mean ? He means the UNIX philosophy. http://www.faqs.org/docs/artu/ch01s06.html Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo838E7iUXAuFm9ZA5aewcUPZpbCdhafxaHk9LAhW_NQn-XQ>