[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <16761682.puRDTGPHq7@x2>
Date: Tue, 17 Oct 2017 20:23:01 -0400
From: Steve Grubb <sgrubb@...hat.com>
To: James Bottomley <James.Bottomley@...senpartnership.com>
Cc: Casey Schaufler <casey@...aufler-ca.com>, mszeredi@...hat.com,
David Howells <dhowells@...hat.com>,
Andy Lutomirski <luto@...nel.org>, jlayton@...hat.com,
Carlos O'Donell <carlos@...hat.com>,
Linux API <linux-api@...r.kernel.org>,
Linux Containers <containers@...ts.linux-foundation.org>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Eric Paris <eparis@...isplace.org>, linux-audit@...hat.com,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Simo Sorce <simo@...hat.com>, cgroups@...r.kernel.org,
Linux FS Devel <linux-fsdevel@...r.kernel.org>,
trondmy@...marydata.com,
Linux Network Development <netdev@...r.kernel.org>,
Al Viro <viro@...iv.linux.org.uk>
Subject: Re: RFC(v2): Audit Kernel Container IDs
On Tuesday, October 17, 2017 1:57:43 PM EDT James Bottomley wrote:
> > > > The idea is that processes spawned into a container would be
> > > > labelled by the container orchestration system. It's unclear
> > > > what should happen to processes using nsenter after the fact, but
> > > > policy for that should be up to the orchestration system.
> > >
> > > I'm fine with that. The user space policy can be anything y'all
> > > like.
> >
> > I think there should be a login event.
>
> I thought you wanted this for containers? Container creation doesn't
> have login events. In an unprivileged orchestration system it may be
> hard to synthetically manufacture them.
I realize this. This work is very similar to problems we've solved 12 years
ago. We'll figure out what the right name is for it down the road. But the
concept is the same. If something enters a container, we need to know about
it. It needs to get tagged and be associated with the container. The way this
was solved for the loginuid problem was to add a session identifier so that
new logins of the same loginuid can coexist and we can trace actions back to a
specific login. I'd think we can apply lessons learned from a while back to
make container identification act similarly.
-Steve
Powered by blists - more mailing lists