From: "Serge E. Hallyn" <serge-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
To: James Bottomley
<James.Bottomley-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
Cc: David Howells <dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
ikent-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
Linux Containers
<containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>,
oleg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
ksummit-discuss-cunTk1MwBs98uUxBSJOaYoYkZiVZrdSR2LY78lusg7I@public.gmane.org
Subject: Re: [Ksummit-discuss] [TECH TOPIC] Containerisation, namespaces and keyrings
Date: Tue, 26 Jul 2016 08:30:24 -0500 [thread overview]
Message-ID: <20160726133024.GA2501@mail.hallyn.com> (raw)
In-Reply-To: <1469199065.2382.21.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
Quoting James Bottomley (James.Bottomley-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org):
> On Fri, 2016-07-22 at 12:01 +0100, David Howells wrote:
> > I'm not sure this is the right venue for this, but keyrings will need
> > to be namespaced/containerised at some point.
>
> There are various unvirtualised subsystems within Linux. There has
> been discussion on the containers mailing list about how:
>
> http://thread.gmane.org/gmane.linux.kernel.containers/30371
>
> So far Eric has advocated for making things like this properties of the
> user namespace; I'm more inclined to a separate namespace for
> delegates, but nothing's been decided.
>
> Proposing on the containers list should be your first step (I've added
> the list to the cc).
>
> > The problem is that it's an icky problem given that different key
> > types really want to live in different namespaces, and upcalls may
> > want to done in different containers, depending on the key type.
>
> Surely if you virtualize, you'll have a namespace label per key (or
> keyring) so they'll be in one and only one namespace.
>
> The upcall problem sounds like it might be similar to the nfsd one,
> which is nasty. Describing it on the list would help people
> understand.
>
> > For example, DNS resolver keys - should they be in the network, the
> > filesystem namespace or neither? Should the upcall be in the current
> > container or the root container?
>
> Depends what the upcall does.
>
> > Authentication keys, such as used by kafs and AF_RXRPC - should they
> > be in the filesystem namespace (kafs is an fs), the network namespace
> > (AF_RXRPC is a net protocol) or the user namespace?
>
> I'm sort of starting to see Eric's point now, since every namespace has
> an owning user namespace, if they were in that the question is
> naturally answered.
>
> > Should crypto keys, such as the asymmetric key type, be in the user
> > namespace? What about use by module signing? Should key operations
> > in the current container have access to a blacklist in the root
> > container? Should key verification in the current container have
> > access to system keyrings? The TPM?
> >
> > This might actually be right for a hallway track.
Hi,
Just chiming in to say that if there were to be namespace discussion at
ksummit I'd like to be involved. Mostly staying quiet as I don't expect
it since m-l typically works fine.
>
> Actually, I really think this isn't a KS issue, it should be proposed
> for the Plumbers Containers MC:
>
> http://www.linuxplumbersconf.org/2016/ocw/events/LPC2016/tracks/519
>
> You have all the correct people in that session. At KS you'll have 50%
> bored, 48% hostile because they hate cgroups and 2% interested.
Eh, hostile is useful - forged in the crucible and all that.
> James
-serge
next prev parent reply other threads:[~2016-07-26 13:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <15842.1469185302@warthog.procyon.org.uk>
[not found] ` <15842.1469185302-S6HVgzuS8uM4Awkfq6JHfwNdhmdF6hFW@public.gmane.org>
2016-07-22 14:51 ` [Ksummit-discuss] [TECH TOPIC] Containerisation, namespaces and keyrings James Bottomley
[not found] ` <1469199065.2382.21.camel-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org>
2016-07-26 13:30 ` Serge E. Hallyn [this message]
2016-07-26 13:38 ` Laurent Pinchart
2016-07-26 14:16 ` James Bottomley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160726133024.GA2501@mail.hallyn.com \
--to=serge-a9i7lubdfnhqt0dzr+alfa@public.gmane.org \
--cc=James.Bottomley-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org \
--cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=ikent-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=ksummit-discuss-cunTk1MwBs98uUxBSJOaYoYkZiVZrdSR2LY78lusg7I@public.gmane.org \
--cc=oleg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox