[Devel] 2.6.35: unshare(NEWNS) does not work inside a container anymore?

Michael Tokarev mjt at tls.msk.ru
Tue Aug 31 04:02:15 PDT 2010


I just noticed a regression - immediately after updating
kernel from 2.6.32 to 2.6.35 (I skipped .33 and .34).
Namely, unshare(CLONE_NEWNS) stopped workin from within
a container, like this:

unshare(CLONE_NEWNS)              = -1 EINVAL (Invalid argument)

There's no other fancy stuff going on around, just plain
unshare and exec a new shell.

What's wrong with 2.6.35 in this context?

Thanks.

/mjt
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list