From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Lutomirski Subject: Re: Device Namespaces Date: Tue, 1 Oct 2013 18:27:45 +0100 Message-ID: References: <20130822182118.GA28331@sergelap> <8761udlu0d.fsf@xmission.com> <871u4yddg4.fsf@xmission.com> <87bo3gshz5.fsf_-_@xmission.com> <20130926053320.GB3725@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Janne Karhunen Cc: Greg Kroah-Hartman , Linux Containers , Kay Sievers , Stephane Graber , "Eric W. Biederman" , lxc-devel , mhw , devel List-Id: containers.vger.kernel.org On Tue, Oct 1, 2013 at 7:19 AM, Janne Karhunen wrote: > On Thu, Sep 26, 2013 at 8:33 AM, Greg Kroah-Hartman > wrote: > >>> - We can relay a call of /sbin/hotplug from outside of a container >>> to inside of a container based on policy. >>> (But no one uses /sbin/hotplug anymore). >> >> That's right, they should be listening to libudev events, so why can't >> your daemon shuffle them off to the proper container, all in userspace? > > Which reminds me, one potential reason being.. > http://lists.linuxfoundation.org/pipermail/containers/2013-May/032591.html > Can't the daemon live outside the container and shuffle stuff in? IOW, there seems to be little point in containerizing things if you're just going to punch a privilege hole in the namespace. FWIW, I think that the capability evolution rules are crap, but changing them is a can of worms, and enough people seem to thing the status quo is acceptable that this is unlikely to ever get fixed. --Andy