Re: [gentoo-dev] rfc: generic "container" keyword for init scripts

2015-12-03 Thread William Hubbs
On Wed, Dec 02, 2015 at 10:20:33PM -0800, Zac Medico wrote: > On 12/02/2015 03:49 PM, William Hubbs wrote: > > On Tue, Dec 01, 2015 at 03:28:44PM -0600, William Hubbs wrote: > > Here is where my thoughts are on this now. There will be a > > "-containers" keyword, which will expand to list all of th

Re: [gentoo-dev] rfc: generic "container" keyword for init scripts

2015-12-02 Thread Zac Medico
On 12/02/2015 03:49 PM, William Hubbs wrote: > On Tue, Dec 01, 2015 at 03:28:44PM -0600, William Hubbs wrote: > Here is where my thoughts are on this now. There will be a > "-containers" keyword, which will expand to list all of the containers > we can detect on the operating system OpenRC is runn

Re: [gentoo-dev] rfc: generic "container" keyword for init scripts

2015-12-02 Thread William Hubbs
On Tue, Dec 01, 2015 at 03:28:44PM -0600, William Hubbs wrote: > On Tue, Dec 01, 2015 at 11:21:49AM -0800, Zac Medico wrote: > > On 12/01/2015 10:19 AM, William Hubbs wrote: > > > On Tue, Dec 01, 2015 at 11:26:19AM -0600, William Hubbs wrote: > > >> On Tue, Dec 01, 2015 at 09:00:55AM -0800, Zac Med

Re: [gentoo-dev] rfc: generic "container" keyword for init scripts

2015-12-01 Thread William Hubbs
On Tue, Dec 01, 2015 at 11:21:49AM -0800, Zac Medico wrote: > On 12/01/2015 10:19 AM, William Hubbs wrote: > > On Tue, Dec 01, 2015 at 11:26:19AM -0600, William Hubbs wrote: > >> On Tue, Dec 01, 2015 at 09:00:55AM -0800, Zac Medico wrote: > >>> On 12/01/2015 08:50 AM, William Hubbs wrote: > Th

Re: [gentoo-dev] rfc: generic "container" keyword for init scripts

2015-12-01 Thread Zac Medico
On 12/01/2015 10:19 AM, William Hubbs wrote: > On Tue, Dec 01, 2015 at 11:26:19AM -0600, William Hubbs wrote: >> On Tue, Dec 01, 2015 at 09:00:55AM -0800, Zac Medico wrote: >>> On 12/01/2015 08:50 AM, William Hubbs wrote: The "container" keyword, being generic, would have its meaning expanded

Re: [gentoo-dev] rfc: generic "container" keyword for init scripts

2015-12-01 Thread William Hubbs
On Tue, Dec 01, 2015 at 11:26:19AM -0600, William Hubbs wrote: > On Tue, Dec 01, 2015 at 09:00:55AM -0800, Zac Medico wrote: > > On 12/01/2015 08:50 AM, William Hubbs wrote: > > > The "container" keyword, being generic, would have its meaning expanded > > > to cover new container systems as they co

Re: [gentoo-dev] rfc: generic "container" keyword for init scripts

2015-12-01 Thread William Hubbs
On Tue, Dec 01, 2015 at 09:00:55AM -0800, Zac Medico wrote: > On 12/01/2015 08:50 AM, William Hubbs wrote: > > The "container" keyword, being generic, would have its meaning expanded > > to cover new container systems as they come along. This means if a > > service script has the keyword "-containe

Re: [gentoo-dev] rfc: generic "container" keyword for init scripts

2015-12-01 Thread Zac Medico
On 12/01/2015 08:50 AM, William Hubbs wrote: > The "container" keyword, being generic, would have its meaning expanded > to cover new container systems as they come along. This means if a > service script has the keyword "-container" it will not work under any > current or future container systems.

Re: [gentoo-dev] rfc: generic "container" keyword for init scripts

2015-12-01 Thread William Hubbs
On Tue, Dec 01, 2015 at 09:11:45AM -0600, William Hubbs wrote: > On Tue, Dec 01, 2015 at 12:24:05AM +, Robin H. Johnson wrote: > > Rather than replacing all of the system-specific keywords, can we make > > 'container' into an alias that expands to the full list of known container > > types? Tha

Re: [gentoo-dev] rfc: generic "container" keyword for init scripts

2015-12-01 Thread William Hubbs
On Tue, Dec 01, 2015 at 12:24:05AM +, Robin H. Johnson wrote: > A quick grep in the tree shows the following existing cases (wrapped for line > length). > > $ git grep -E \ > 'keyword .*(lxc|systemd-nspawn|vserver|prefix|openvz|uml|jail|xen)' > sys-apps/kmod/files/kmod-static-nodes-r1: >

Re: [gentoo-dev] rfc: generic "container" keyword for init scripts

2015-11-30 Thread Robin H. Johnson
A quick grep in the tree shows the following existing cases (wrapped for line length). $ git grep -E \ 'keyword .*(lxc|systemd-nspawn|vserver|prefix|openvz|uml|jail|xen)' sys-apps/kmod/files/kmod-static-nodes-r1: keyword -lxc -systemd-nspawn sys-fs/eudev/files/udev-postmount: keywo

[gentoo-dev] rfc: generic "container" keyword for init scripts

2015-11-30 Thread William Hubbs
All, it has been proposed to me that we create a "container" keyword for OpenRC init scripts, which would take the place of the various keywords we have currently for separate container types, such as lxc, systemd-nspawn, etc (basically the values RC_SYS can be set to). We would keep all of the cu