Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-30 Thread Paul de Vrieze
On 30 June 2011 04:47, Mike Frysinger vap...@gentoo.org wrote: On Wednesday, June 29, 2011 22:19:09 Michał Górny wrote: On Wed, 29 Jun 2011 16:46:13 -0500 William Hubbs wrote: Ok, the option that I'm looking at now is to set up openrc so that the init scripts are optional and whether or

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-30 Thread Mike Frysinger
On Thu, Jun 30, 2011 at 08:58, Paul de Vrieze wrote: Why can't we just split up functions.sh into /lib/output.sh we're not changing the file name containing the init script independent (but often gentoo specific) output stuff, and have functions.sh source this. Output.sh would be provided by

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-30 Thread Rich Freeman
On Jun 30, 2011 11:06 AM, Mike Frysinger vap...@gentoo.org wrote: we're not splitting the source trees. the reasons have already been detailed in the bug open on the topic. -mike I think we're generally aiming for perfection when we should be pragmatic. The proposed solution isn't ideal,

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-30 Thread Michał Górny
On Wed, 29 Jun 2011 23:47:42 -0400 Mike Frysinger vap...@gentoo.org wrote: On Wednesday, June 29, 2011 22:19:09 Michał Górny wrote: On Wed, 29 Jun 2011 16:46:13 -0500 William Hubbs wrote: Ok, the option that I'm looking at now is to set up openrc so that the init scripts are optional and

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-30 Thread Mike Frysinger
On Thu, Jun 30, 2011 at 17:14, Michał Górny wrote: On Wed, 29 Jun 2011 23:47:42 -0400 Mike Frysinger wrote: On Wednesday, June 29, 2011 22:19:09 Michał Górny wrote: On Wed, 29 Jun 2011 16:46:13 -0500 William Hubbs wrote: Ok, the option that I'm looking at now is to set up openrc so that

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-30 Thread Michał Górny
On Thu, 30 Jun 2011 17:16:14 -0400 Mike Frysinger vap...@gentoo.org wrote: On Thu, Jun 30, 2011 at 17:14, Michał Górny wrote: On Wed, 29 Jun 2011 23:47:42 -0400 Mike Frysinger wrote: On Wednesday, June 29, 2011 22:19:09 Michał Górny wrote: On Wed, 29 Jun 2011 16:46:13 -0500 William Hubbs

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-30 Thread William Hubbs
On Thu, Jun 30, 2011 at 11:30:51PM +0200, Michał Górny wrote: On Thu, 30 Jun 2011 17:16:14 -0400 Mike Frysinger vap...@gentoo.org wrote: On Thu, Jun 30, 2011 at 17:14, Michał Górny wrote: On Wed, 29 Jun 2011 23:47:42 -0400 Mike Frysinger wrote: On Wednesday, June 29, 2011 22:19:09

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-30 Thread Mike Frysinger
On Thu, Jun 30, 2011 at 17:30, Michał Górny wrote: On Thu, 30 Jun 2011 17:16:14 -0400 Mike Frysinger wrote: On Thu, Jun 30, 2011 at 17:14, Michał Górny wrote: On Wed, 29 Jun 2011 23:47:42 -0400 Mike Frysinger wrote: On Wednesday, June 29, 2011 22:19:09 Michał Górny wrote: On Wed, 29 Jun

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Mike Frysinger
On Wednesday, June 29, 2011 01:48:16 Nirbheek Chauhan wrote: On Wed, Jun 29, 2011 at 10:35 AM, Mike Frysinger wrote: On Wednesday, June 29, 2011 00:04:57 Michał Górny wrote: Honestly, I think a better solution would be to provide a convenience function library, independent of OpenRC.

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Nirbheek Chauhan
On Wed, Jun 29, 2011 at 11:37 AM, Mike Frysinger vap...@gentoo.org wrote: On Wednesday, June 29, 2011 01:48:16 Nirbheek Chauhan wrote: On Wed, Jun 29, 2011 at 10:35 AM, Mike Frysinger wrote: On Wednesday, June 29, 2011 00:04:57 Michał Górny wrote: Honestly, I think a better solution would be

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Ciaran McCreesh
On Wed, 29 Jun 2011 02:07:52 -0400 Mike Frysinger vap...@gentoo.org wrote: /etc/init.d/functions.sh has existed for the last decade, and was long ago decided as the canonical public entry point for scripts external to baselayout (as opposed to a path in /sbin/). it isnt going anywhere, and

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Mike Frysinger
On Wed, Jun 29, 2011 at 02:12, Nirbheek Chauhan wrote: On Wed, Jun 29, 2011 at 11:37 AM, Mike Frysinger wrote: On Wednesday, June 29, 2011 01:48:16 Nirbheek Chauhan wrote: On Wed, Jun 29, 2011 at 10:35 AM, Mike Frysinger wrote: On Wednesday, June 29, 2011 00:04:57 Michał Górny wrote:

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Mike Frysinger
On Wed, Jun 29, 2011 at 02:14, Ciaran McCreesh wrote: On Wed, 29 Jun 2011 02:07:52 -0400 Mike Frysinger wrote: /etc/init.d/functions.sh has existed for the last decade, and was long ago decided as the canonical public entry point for scripts external to baselayout (as opposed to a path in

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Mike Frysinger
2011/6/28 Olivier Crête: As long as we have Gentoo-style init scripts in the tree, we will need these functions to be available. So yes, they should probably be in a separate package from openrc itself to ease the transition to the bright systemd future. systemd is limited (acknowledged by

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Ciaran McCreesh
On Wed, 29 Jun 2011 02:36:05 -0400 Mike Frysinger vap...@gentoo.org wrote: On Wed, Jun 29, 2011 at 02:14, Ciaran McCreesh wrote: On Wed, 29 Jun 2011 02:07:52 -0400 Mike Frysinger wrote: /etc/init.d/functions.sh has existed for the last decade, and was long ago decided as the canonical

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Matt Turner
On Wed, Jun 29, 2011 at 2:12 AM, Nirbheek Chauhan nirbh...@gentoo.org wrote: On Wed, Jun 29, 2011 at 11:37 AM, Mike Frysinger vap...@gentoo.org wrote: On Wednesday, June 29, 2011 01:48:16 Nirbheek Chauhan wrote: On Wed, Jun 29, 2011 at 10:35 AM, Mike Frysinger wrote: On Wednesday, June 29,

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Mike Frysinger
On Wed, Jun 29, 2011 at 02:38, Ciaran McCreesh wrote: On Wed, 29 Jun 2011 02:36:05 -0400 Mike Frysinger wrote: On Wed, Jun 29, 2011 at 02:14, Ciaran McCreesh wrote: On Wed, 29 Jun 2011 02:07:52 -0400 Mike Frysinger wrote: /etc/init.d/functions.sh has existed for the last decade, and was

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Mike Frysinger
probably not worth getting into -mike

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Ciaran McCreesh
On Wed, 29 Jun 2011 02:47:36 -0400 Mike Frysinger vap...@gentoo.org wrote: Both. There's code in Paludis that duplicates a bunch of that stuff simply because I wasn't sure what I could and couldn't rely upon. the file should provide the classic e* output funcs that we've all grown to love,

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Mike Frysinger
On Wed, Jun 29, 2011 at 02:53, Ciaran McCreesh wrote: On Wed, 29 Jun 2011 02:47:36 -0400 Mike Frysinger wrote: Both. There's code in Paludis that duplicates a bunch of that stuff simply because I wasn't sure what I could and couldn't rely upon. the file should provide the classic e* output

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Ulrich Mueller
On Wed, 29 Jun 2011, Mike Frysinger wrote: /etc/init.d/functions.sh has existed for the last decade, and was long ago decided as the canonical public entry point for scripts external to baselayout (as opposed to a path in /sbin/). the file should provide the classic e* output funcs

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Patrick Lauer
On 06/29/11 03:07, Olivier Crête wrote: Hi, On Tue, 2011-06-28 at 17:10 -0500, William Hubbs wrote: The background is that /etc/init.d/functions.sh is a link to /lib/rc/functions.sh, which is part of openrc. Other init systems, like systemd, are coming along which completely replace

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Michał Górny
On Wed, 29 Jun 2011 07:38:45 +0100 Ciaran McCreesh ciaran.mccre...@googlemail.com wrote: On Wed, 29 Jun 2011 02:36:05 -0400 Mike Frysinger vap...@gentoo.org wrote: On Wed, Jun 29, 2011 at 02:14, Ciaran McCreesh wrote: On Wed, 29 Jun 2011 02:07:52 -0400 Mike Frysinger wrote:

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Anthony G. Basile
On 06/29/2011 05:08 AM, Patrick Lauer wrote: On 06/29/11 03:07, Olivier Crête wrote: Hi, On Tue, 2011-06-28 at 17:10 -0500, William Hubbs wrote: The background is that /etc/init.d/functions.sh is a link to /lib/rc/functions.sh, which is part of openrc. Other init systems, like systemd, are

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Rich Freeman
On Wed, Jun 29, 2011 at 5:08 AM, Patrick Lauer patr...@gentoo.org wrote: We tolerate the systemd madness as long as it doesn't interfere with other things. I'd say that welcome is a better word than tolerate - after all, Gentoo is about choice. :) Still, I do agree that we should avoid

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Peter Volkov
В Срд, 29/06/2011 в 07:53 +0100, Ciaran McCreesh пишет: On Wed, 29 Jun 2011 02:47:36 -0400 Mike Frysinger vap...@gentoo.org wrote: Both. There's code in Paludis that duplicates a bunch of that stuff simply because I wasn't sure what I could and couldn't rely upon. the file should

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Olivier Crête
On Wed, 2011-06-29 at 11:08 +0200, Patrick Lauer wrote: On 06/29/11 03:07, Olivier Crête wrote: Hi, On Tue, 2011-06-28 at 17:10 -0500, William Hubbs wrote: The background is that /etc/init.d/functions.sh is a link to /lib/rc/functions.sh, which is part of openrc. Other init

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Patrick Lauer
On 06/29/11 17:14, Olivier Crête wrote: On Wed, 2011-06-29 at 11:08 +0200, Patrick Lauer wrote: On 06/29/11 03:07, Olivier Crête wrote: Hi, On Tue, 2011-06-28 at 17:10 -0500, William Hubbs wrote: The background is that /etc/init.d/functions.sh is a link to /lib/rc/functions.sh, which is

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Jeremy Olexa
On Wed, 29 Jun 2011 17:31:43 +0200, Patrick Lauer wrote: On 06/29/11 17:14, Olivier Crête wrote: Stop polluting the thread with $init vs $init2, please. -Jeremy

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Ciaran McCreesh
On Wed, 29 Jun 2011 11:14:22 -0400 Olivier Crête tes...@gentoo.org wrote: And you also underestimate the amount of momentum that Lennart has managed to amass behind systemd. I expect that much sooner than you think, we won't have a choice but to switch to systemd as many core components will

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Mike Frysinger
On Wed, Jun 29, 2011 at 03:38, Ulrich Mueller wrote: On Wed, 29 Jun 2011, Mike Frysinger wrote: /etc/init.d/functions.sh has existed for the last decade, and was long ago decided as the canonical public entry point for scripts external to baselayout (as opposed to a path in /sbin/). the

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Mike Frysinger
On Wed, Jun 29, 2011 at 06:05, Michał Górny wrote: I'm not sure if it is a good idea to source a script mangling PATH there. the mangling makes sure the system paths are present and come first. it doesnt remove any elements. it probably could be redone to only prepend elements, but i'm not

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread William Hubbs
On Wed, Jun 29, 2011 at 12:56:32PM -0400, Mike Frysinger wrote: On Wed, Jun 29, 2011 at 10:57, William Hubbs wrote: The third option is for openrc to not install the  symbolic link at /etc/init.d/functions.sh since the code is actually at  /lib/rc/functions.sh or /libexec/rc/functions.sh on

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Nirbheek Chauhan
On Wed, Jun 29, 2011 at 9:16 PM, Ciaran McCreesh ciaran.mccre...@googlemail.com wrote: On Wed, 29 Jun 2011 11:14:22 -0400 Olivier Crête tes...@gentoo.org wrote: And you also underestimate the amount of momentum that Lennart has managed to amass behind systemd. I expect that much sooner than

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Rich Freeman
2011/6/29 Olivier Crête tes...@gentoo.org: systemd is where the innovation is today and we, Gentoo, should get on board or be left behind. Certainly agree that systemd is innovative. I think this whole thing is becoming a bit moot. The openrc maintainer is already planning to add use flags to

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Michał Górny
On Wed, 29 Jun 2011 16:46:13 -0500 William Hubbs willi...@gentoo.org wrote: On Wed, Jun 29, 2011 at 12:56:32PM -0400, Mike Frysinger wrote: On Wed, Jun 29, 2011 at 10:57, William Hubbs wrote: The third option is for openrc to not install the  symbolic link at /etc/init.d/functions.sh

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-29 Thread Mike Frysinger
On Wednesday, June 29, 2011 22:19:09 Michał Górny wrote: On Wed, 29 Jun 2011 16:46:13 -0500 William Hubbs wrote: Ok, the option that I'm looking at now is to set up openrc so that the init scripts are optional and whether or not they are installed is controlled by a use flag which I will

[gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-28 Thread William Hubbs
All, the reason for this email is http://bugs.gentoo.org/show_bug.cgi?id=373219 and the bugs that currently depend on it. I'm sure there will be more of those. The background is that /etc/init.d/functions.sh is a link to /lib/rc/functions.sh, which is part of openrc. Other init systems, like

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-28 Thread Olivier Crête
Hi, On Tue, 2011-06-28 at 17:10 -0500, William Hubbs wrote: The background is that /etc/init.d/functions.sh is a link to /lib/rc/functions.sh, which is part of openrc. Other init systems, like systemd, are coming along which completely replace sysvinit and do not use openrc's init scripts

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-28 Thread William Hubbs
Hi, On Tue, Jun 28, 2011 at 09:07:12PM -0400, Olivier Crête wrote: Hi, On Tue, 2011-06-28 at 17:10 -0500, William Hubbs wrote: The background is that /etc/init.d/functions.sh is a link to /lib/rc/functions.sh, which is part of openrc. Other init systems, like systemd, are coming

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-28 Thread Michał Górny
On Tue, 28 Jun 2011 17:10:42 -0500 William Hubbs willi...@gentoo.org wrote: the reason for this email is http://bugs.gentoo.org/show_bug.cgi?id=373219 and the bugs that currently depend on it. I'm sure there will be more of those. The background is that /etc/init.d/functions.sh is a link to

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-28 Thread Mike Frysinger
On Wednesday, June 29, 2011 00:04:57 Michał Górny wrote: Honestly, I think a better solution would be to provide a convenience function library, independent of OpenRC. Sourcing random internal scripts of a random package is just broken by concept. except it hasnt been random and has clearly

Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?

2011-06-28 Thread Nirbheek Chauhan
On Wed, Jun 29, 2011 at 10:35 AM, Mike Frysinger vap...@gentoo.org wrote: On Wednesday, June 29, 2011 00:04:57 Michał Górny wrote: Honestly, I think a better solution would be to provide a convenience function library, independent of OpenRC. Sourcing random internal scripts of a random package