Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1353463

Re: Thoughts on tightening up user namespace creation

From "Serge E. Hallyn" <serge@hallyn.com>
Newsgroups linux.kernel
Subject Re: Thoughts on tightening up user namespace creation
Date 2016-03-08 23:50 +0100
Message-ID <rayBY-7hS-25@gated-at.bofh.it> (permalink)
References <raidP-4Nk-3@gated-at.bofh.it> <raj0e-5qh-37@gated-at.bofh.it> <rauI2-4Kx-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Quoting Andy Lutomirski (luto@amacapital.net):
> On Mar 7, 2016 10:06 PM, "Serge E. Hallyn" <serge.hallyn@ubuntu.com> wrote:
> >
> > On Mon, Mar 07, 2016 at 09:15:25PM -0800, Andy Lutomirski wrote:
> > >  - Ubuntu requires CAP_SYS_ADMIN
> >
> > No, it does not.  It has temporarily re-added a sysctl which can enable
> > that behavior, but it's not set by default.  The reason for providing it
> > is not a distrust of user namespaces in general, but because we're enabling
> > some bleeding edge patches which haven't been accepted upstream yet.  Once
> > they're accepted upstream I expect that patch to be dropped again, unless
> > it has gone upstream.
> >
> > Debian does afaik still have a version of a patch I'd originally written
> > before user namespaces were upstream which defaulted unprivileged userns
> > cloning to off.  Did you mean Debian here?
> 
> I meant Ubuntu 14.04, which I tested, possibly poorly.

Weird, 14.04 with the default kernel (3.13.0-79-generic #123-Ubuntu)
doesn't have the sysctl at all.

-serge

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Thoughts on tightening up user namespace creation Andy Lutomirski <luto@amacapital.net> - 2016-03-08 06:20 +0100
  Re: Thoughts on tightening up user namespace creation "Serge E. Hallyn" <serge.hallyn@ubuntu.com> - 2016-03-08 07:10 +0100
    Re: Thoughts on tightening up user namespace creation Andy Lutomirski <luto@amacapital.net> - 2016-03-08 19:40 +0100
      Re: Thoughts on tightening up user namespace creation "Serge E. Hallyn" <serge@hallyn.com> - 2016-03-08 23:50 +0100
  Re: Thoughts on tightening up user namespace creation Alexander Larsson <alexl@redhat.com> - 2016-03-08 11:10 +0100
  Re: Thoughts on tightening up user namespace creation ebiederm@xmission.com (Eric W. Biederman) - 2016-03-08 17:50 +0100
  Re: Thoughts on tightening up user namespace creation Kees Cook <keescook@chromium.org> - 2016-03-09 19:20 +0100
    Re: Thoughts on tightening up user namespace creation Colin Walters <walters@verbum.org> - 2016-03-09 20:00 +0100
      Re: Thoughts on tightening up user namespace creation "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2016-03-09 20:10 +0100
      Re: Thoughts on tightening up user namespace creation "Serge E. Hallyn" <serge@hallyn.com> - 2016-03-09 20:30 +0100
        Re: Thoughts on tightening up user namespace creation Kees Cook <keescook@chromium.org> - 2016-03-09 20:30 +0100
    Re: Thoughts on tightening up user namespace creation "Serge E. Hallyn" <serge@hallyn.com> - 2016-03-09 20:10 +0100
      Re: Thoughts on tightening up user namespace creation Kees Cook <keescook@chromium.org> - 2016-03-09 20:20 +0100

csiph-web