Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-29 Thread Enrico Weigelt, metux IT consult
On 17.10.20 18:51, Eric W. Biederman wrote: Hi folks, >> I believe subusers aren't meant for tyical containers (like docker or >> lxc), but unprivileged user programs that wanna have further isolation >> for subprocesses (eg. a browser's renderer or js engine). >> >> Correct me if I'm wrong. >

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-19 Thread Giuseppe Scrivano
"Serge E. Hallyn" writes: > On Tue, Oct 13, 2020 at 05:17:36PM +0200, Giuseppe Scrivano wrote: >> "Serge E. Hallyn" writes: >> >> > On Mon, Oct 12, 2020 at 07:05:10PM +0200, Giuseppe Scrivano wrote: >> >> Josh Triplett writes: >> >> >> >> > On Fri, Oct 09, 2020 at 11:26:06PM -0500, Serge E.

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-18 Thread Christian Brauner
On Sat, Oct 17, 2020 at 11:51:22AM -0500, Eric W. Biederman wrote: > "Enrico Weigelt, metux IT consult" writes: > > > On 30.08.20 16:39, Christian Brauner wrote: > > > > Hi Christian, > > > >> P1. Isolated id mappings can only be guaranteed to be locally isolated. > >> A container

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-17 Thread Eric W. Biederman
"Enrico Weigelt, metux IT consult" writes: > On 30.08.20 16:39, Christian Brauner wrote: > > Hi Christian, > >> P1. Isolated id mappings can only be guaranteed to be locally isolated. >> A container runtime/daemon can only guarantee non-overlapping id mappings >> when no other users on

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-17 Thread Eric W. Biederman
"Serge E. Hallyn" writes: > On Wed, Oct 14, 2020 at 02:46:46PM -0500, Eric W. Biederman wrote: >> "Serge E. Hallyn" writes: >> >> > On Mon, Oct 12, 2020 at 12:01:09AM -0500, Eric W. Biederman wrote: >> >> Andy Lutomirski writes: >> >> >> >> > On Sun, Oct 11, 2020 at 1:53 PM Josh Triplett

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-15 Thread Enrico Weigelt, metux IT consult
On 30.08.20 16:39, Christian Brauner wrote: Hi Christian, > P1. Isolated id mappings can only be guaranteed to be locally isolated. > A container runtime/daemon can only guarantee non-overlapping id mappings > when no other users on the system create containers. Indeed. But couldn't we

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-15 Thread Serge E. Hallyn
On Tue, Oct 13, 2020 at 05:17:36PM +0200, Giuseppe Scrivano wrote: > "Serge E. Hallyn" writes: > > > On Mon, Oct 12, 2020 at 07:05:10PM +0200, Giuseppe Scrivano wrote: > >> Josh Triplett writes: > >> > >> > On Fri, Oct 09, 2020 at 11:26:06PM -0500, Serge E. Hallyn wrote: > >> >> > 3. Find a

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-15 Thread Serge E. Hallyn
On Wed, Oct 14, 2020 at 02:46:46PM -0500, Eric W. Biederman wrote: > "Serge E. Hallyn" writes: > > > On Mon, Oct 12, 2020 at 12:01:09AM -0500, Eric W. Biederman wrote: > >> Andy Lutomirski writes: > >> > >> > On Sun, Oct 11, 2020 at 1:53 PM Josh Triplett > >> > wrote: > >> >> > >> >> On Fri,

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-14 Thread Eric W. Biederman
"Serge E. Hallyn" writes: > On Mon, Oct 12, 2020 at 12:01:09AM -0500, Eric W. Biederman wrote: >> Andy Lutomirski writes: >> >> > On Sun, Oct 11, 2020 at 1:53 PM Josh Triplett >> > wrote: >> >> >> >> On Fri, Oct 09, 2020 at 11:26:06PM -0500, Serge E. Hallyn wrote: >> >> > > 3. Find a way to

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-13 Thread Giuseppe Scrivano
"Serge E. Hallyn" writes: > On Mon, Oct 12, 2020 at 07:05:10PM +0200, Giuseppe Scrivano wrote: >> Josh Triplett writes: >> >> > On Fri, Oct 09, 2020 at 11:26:06PM -0500, Serge E. Hallyn wrote: >> >> > 3. Find a way to allow setgroups() in a user namespace while keeping >> >> >in mind the

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-13 Thread Serge E. Hallyn
On Mon, Oct 12, 2020 at 07:05:10PM +0200, Giuseppe Scrivano wrote: > Josh Triplett writes: > > > On Fri, Oct 09, 2020 at 11:26:06PM -0500, Serge E. Hallyn wrote: > >> > 3. Find a way to allow setgroups() in a user namespace while keeping > >> >in mind the case of groups used for negative

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-12 Thread Giuseppe Scrivano
Josh Triplett writes: > On Fri, Oct 09, 2020 at 11:26:06PM -0500, Serge E. Hallyn wrote: >> > 3. Find a way to allow setgroups() in a user namespace while keeping >> >in mind the case of groups used for negative access control. >> >This was suggested by Josh Triplett and Geoffrey Thomas.

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-12 Thread Serge E. Hallyn
On Mon, Oct 12, 2020 at 12:01:09AM -0500, Eric W. Biederman wrote: > Andy Lutomirski writes: > > > On Sun, Oct 11, 2020 at 1:53 PM Josh Triplett wrote: > >> > >> On Fri, Oct 09, 2020 at 11:26:06PM -0500, Serge E. Hallyn wrote: > >> > > 3. Find a way to allow setgroups() in a user namespace

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-11 Thread Eric W. Biederman
Andy Lutomirski writes: > On Sun, Oct 11, 2020 at 1:53 PM Josh Triplett wrote: >> >> On Fri, Oct 09, 2020 at 11:26:06PM -0500, Serge E. Hallyn wrote: >> > > 3. Find a way to allow setgroups() in a user namespace while keeping >> > >in mind the case of groups used for negative access

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-11 Thread Andy Lutomirski
On Sun, Oct 11, 2020 at 1:53 PM Josh Triplett wrote: > > On Fri, Oct 09, 2020 at 11:26:06PM -0500, Serge E. Hallyn wrote: > > > 3. Find a way to allow setgroups() in a user namespace while keeping > > >in mind the case of groups used for negative access control. > > >This was suggested by

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-11 Thread Josh Triplett
On Fri, Oct 09, 2020 at 11:26:06PM -0500, Serge E. Hallyn wrote: > > 3. Find a way to allow setgroups() in a user namespace while keeping > >in mind the case of groups used for negative access control. > >This was suggested by Josh Triplett and Geoffrey Thomas. Their idea was > > to > >

Re: LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-10-09 Thread Serge E. Hallyn
> 3. Find a way to allow setgroups() in a user namespace while keeping >in mind the case of groups used for negative access control. >This was suggested by Josh Triplett and Geoffrey Thomas. Their idea was to >investigate adding a prctl() to allow setgroups() to be called in a user >

LPC 2020 Hackroom Session: summary and next steps for isolated user namespaces

2020-08-30 Thread Christian Brauner
Hello everyone, ## Preliminaries This is the summary of the Hackroom session Stéphane and I led as a follow-up to our presentations in the Containers & Checkpoint/Restore micro-conference at Linux Plumbers 2020. Please make sure to see the Action Items section below as it outlines the next