Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-14 Thread Mike Gilbert
On Sat, Jul 13, 2019 at 1:51 PM William Hubbs wrote: > > All, > > I removed virtual/daemontools from virtual/init because it doesn't > appear to be an init process; it is just a service manager. > > Here is a list of the rdepends in my proposed virtual/init with > comments. > > ker

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-13 Thread William Hubbs
All, I removed virtual/daemontools from virtual/init because it doesn't appear to be an init process; it is just a service manager. Here is a list of the rdepends in my proposed virtual/init with comments. kernel_linux? ( || ( sys-apps/sysvinit

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-11 Thread Rich Freeman
On Thu, Jul 11, 2019 at 1:22 PM William Hubbs wrote: > > On Thu, Jul 11, 2019 at 12:46:02PM -0400, Rich Freeman wrote: > > On Thu, Jul 11, 2019 at 11:56 AM William Hubbs wrote: > > > > > > On Thu, Jul 11, 2019 at 09:42:02AM -0400, Rich Freeman wrote: > > > > If somebody just installs openrc their

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-11 Thread William Hubbs
On Thu, Jul 11, 2019 at 12:46:02PM -0400, Rich Freeman wrote: > On Thu, Jul 11, 2019 at 11:56 AM William Hubbs wrote: > > > > On Thu, Jul 11, 2019 at 09:42:02AM -0400, Rich Freeman wrote: > > > On Wed, Jul 10, 2019 at 11:02 PM William Hubbs > > > wrote: > > > > > > > > > RDEPEND="sysv-utils? ( !

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-11 Thread William Hubbs
On Thu, Jul 11, 2019 at 12:11:40PM -0400, Michael Orlitzky wrote: > Indeed, the fact that sys-apps/sysvinit installs an inittab that > references /sbin/openrc without depending on sys-apps/openrc already > looks very wrong to me. Correct, that's what I have been thinking about. > Perhaps OpenRC s

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-11 Thread Rich Freeman
On Thu, Jul 11, 2019 at 11:56 AM William Hubbs wrote: > > On Thu, Jul 11, 2019 at 09:42:02AM -0400, Rich Freeman wrote: > > On Wed, Jul 10, 2019 at 11:02 PM William Hubbs wrote: > > > > > > > RDEPEND="sysv-utils? ( !sys-apps/sysvinit ) > > > > !sysv-utils? ( sys-apps/sysvinit )" > > > >

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-11 Thread William Hubbs
On Thu, Jul 11, 2019 at 11:39:10AM -0400, Mike Gilbert wrote: > On Wed, Jul 10, 2019 at 11:02 PM William Hubbs wrote: > > > Systemd already has IUSE=+sysv-utils which has a similar function: > > > [- ] sysv-utils > > > sys-apps/systemd: Install sysvinit compatibility symlinks and > > >

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-11 Thread Michael Orlitzky
On 7/11/19 11:43 AM, William Hubbs wrote: >> >> then by default, OpenRC will pull in sys-apps/sysvinit, and use its >> implementations of init/shutdown. Then later if someone wants to get rid >> of sys-apps/sysvinit, he has the option to uninstall sys-apps/sysvinit >> and then re-emerge OpenRC with

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-11 Thread William Hubbs
On Thu, Jul 11, 2019 at 09:42:02AM -0400, Rich Freeman wrote: > On Wed, Jul 10, 2019 at 11:02 PM William Hubbs wrote: > > > > > RDEPEND="sysv-utils? ( !sys-apps/sysvinit ) > > > !sysv-utils? ( sys-apps/sysvinit )" > > > > I like this, but the second branch (!sysv-utils) is not really nee

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-11 Thread William Hubbs
On Thu, Jul 11, 2019 at 09:01:16AM -0400, Michael Orlitzky wrote: > On 7/10/19 11:14 PM, William Hubbs wrote: > > > > I don't want to remove sysvinit by default. If you want to remove it, > > you can, but I don't want to force that issue. That's why I don't want > > to turn the use flag on by defa

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-11 Thread Mike Gilbert
On Wed, Jul 10, 2019 at 11:02 PM William Hubbs wrote: > > Systemd already has IUSE=+sysv-utils which has a similar function: > > [- ] sysv-utils > > sys-apps/systemd: Install sysvinit compatibility symlinks and > > manpages for init, telinit, halt, poweroff, reboot, runlevel, and > >

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-11 Thread Rich Freeman
On Wed, Jul 10, 2019 at 11:02 PM William Hubbs wrote: > > > RDEPEND="sysv-utils? ( !sys-apps/sysvinit ) > > !sysv-utils? ( sys-apps/sysvinit )" > > I like this, but the second branch (!sysv-utils) is not really needed, > because if we put sysvinit as the first RDEPEND of virtual/init, w

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-11 Thread Michael Orlitzky
On 7/10/19 11:14 PM, William Hubbs wrote: > > I don't want to remove sysvinit by default. If you want to remove it, > you can, but I don't want to force that issue. That's why I don't want > to turn the use flag on by default like systemd does. > After re-reading the bug report and sleeping on t

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-10 Thread William Hubbs
On Wed, Jul 10, 2019 at 08:17:06PM -0400, Michael Orlitzky wrote: *snip* > Will the system boot if you don't install sysvinit and if you don't > provide the /sbin/init wrapper for /sbin/openrc-init? No, but this is also true if you remove sysvinit and install systemd with the sysv-utils use flag

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-10 Thread William Hubbs
After chatting with Rich a bit, I'm going to reply here. On Wed, Jul 10, 2019 at 08:17:17PM -0400, Rich Freeman wrote: > On Wed, Jul 10, 2019 at 8:03 PM William Hubbs wrote: > > > > On Wed, Jul 10, 2019 at 07:30:57PM -0400, Michael Orlitzky wrote: > > > On 7/10/19 7:16 PM, William Hubbs wrote: >

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-10 Thread William Hubbs
I'm replying, because there is one more thing I want to add before I head out. On Wed, Jul 10, 2019 at 07:03:32PM -0500, William Hubbs wrote: > On Wed, Jul 10, 2019 at 07:30:57PM -0400, Michael Orlitzky wrote: > > On 7/10/19 7:16 PM, William Hubbs wrote: > > > 3. add a sysvinit use flag to openrc,

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-10 Thread Rich Freeman
On Wed, Jul 10, 2019 at 8:03 PM William Hubbs wrote: > > On Wed, Jul 10, 2019 at 07:30:57PM -0400, Michael Orlitzky wrote: > > On 7/10/19 7:16 PM, William Hubbs wrote: > > > 3. add a sysvinit use flag to openrc, which will be off by default. When > > > it is on, openrc will block sysvinit since it

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-10 Thread Michael Orlitzky
On 7/10/19 8:03 PM, William Hubbs wrote: >> >> This logic, or maybe the name of the flag, sounds backwards to me. I >> only get sysvinit when USE=sysvinit is NOT set? > > If you don't set sys-apps/openrc[sysvinit], you would have /sbin/init > and /sbin/shutdown as they are now, from sys-apps/sysvi

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-10 Thread William Hubbs
On Wed, Jul 10, 2019 at 07:30:57PM -0400, Michael Orlitzky wrote: > On 7/10/19 7:16 PM, William Hubbs wrote: > > 3. add a sysvinit use flag to openrc, which will be off by default. When > > it is on, openrc will block sysvinit since it will provide /sbin/init > > and /sbin/shutdown. > > > > This

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-10 Thread Michael Orlitzky
On 7/10/19 7:16 PM, William Hubbs wrote: > 3. add a sysvinit use flag to openrc, which will be off by default. When > it is on, openrc will block sysvinit since it will provide /sbin/init > and /sbin/shutdown. > This logic, or maybe the name of the flag, sounds backwards to me. I only get sysvini

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-10 Thread William Hubbs
On Wed, Jul 10, 2019 at 04:48:46PM -0500, William Hubbs wrote: > On Wed, Jul 10, 2019 at 03:25:28PM -0500, William Hubbs wrote: > > All, > > > > I have this bug against openrc: > > > > https://bugs.gentoo.org/599468 > > > > The reason for the hard dependency on sysvinit in OpenRC no longer > > e

Re: [gentoo-dev] rfc: making sysvinit optional

2019-07-10 Thread William Hubbs
On Wed, Jul 10, 2019 at 03:25:28PM -0500, William Hubbs wrote: > All, > > I have this bug against openrc: > > https://bugs.gentoo.org/599468 > > The reason for the hard dependency on sysvinit in OpenRC no longer > exists since we now have a replacement for killall5, and some people > want to use