From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1456515767.3481.48.camel@redhat.com> Subject: Re: Strange AVC with latest rawhide kernel. From: Daniel J Walsh To: Paul Moore Cc: Stephen Smalley , Eric Paris , selinux@tycho.nsa.gov Date: Fri, 26 Feb 2016 14:42:47 -0500 In-Reply-To: References: <1456423369.3702.42.camel@redhat.com> <56CF4574.3030709@tycho.nsa.gov> <1456426779.3702.52.camel@redhat.com> <56CF523A.7000503@tycho.nsa.gov> <1456429021.31341.34.camel@redhat.com> <56CF5A54.7020600@tycho.nsa.gov> <1456432101.3702.67.camel@redhat.com> <56CF6A08.6010305@tycho.nsa.gov> <1456491264.3481.2.camel@redhat.com> <1456504306.3481.42.camel@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: On Fri, 2016-02-26 at 12:15 -0500, Paul Moore wrote: > On Fri, Feb 26, 2016 at 11:31 AM, Daniel J Walsh > wrote: > > > > On Fri, 2016-02-26 at 10:46 -0500, Paul Moore wrote: > > > > > > Would that resolve all your problems Dan with Docker, runc, etc.? > > > From our discussions the other day I thought you needed the > > > ability > > > transition to svirt_lxc_net_t from domains other than > > > unconfined_t > > > and docker_t ... or was I misunderstanding you? > > Well the two ways we transition to svirt_sandbox_file_t is from > > runc > > which will usually from either docker_t or from unconfined_t.  And > > from > > docker. > > > > We just need to label runc as docker_exec_t so that if you run it > > from > > a systemd unit file the correct transitions will happen. > Okay, easy enough.  Looks like we don't have to worry about this > right now. > Although I will probably need to change the policy from docker_* to containerapp_* since we will need to apply this policy to all tools that launch containers.  rkt, runc, docker, systemd-nspawn ...