From: Michael Tokarev <mjt-XAri/EZa3C4vJsYlp49lxw@public.gmane.org>
To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: 2.6.35: unshare(NEWNS) does not work inside a container anymore?
Date: Tue, 31 Aug 2010 15:02:15 +0400 [thread overview]
Message-ID: <4C7CE137.5090009@msgid.tls.msk.ru> (raw)
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
next reply other threads:[~2010-08-31 11:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 11:02 Michael Tokarev [this message]
[not found] ` <4C7CE137.5090009-Gdu+ltImwkhes2APU0mLOQ@public.gmane.org>
2010-09-01 16:28 ` 2.6.35: unshare(NEWNS) does not work inside a container anymore? Serge E. Hallyn
[not found] ` <20100901162833.GA13274-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
2010-09-01 17:27 ` Michael Tokarev
[not found] ` <4C7E8D1B.2060204-Gdu+ltImwkhes2APU0mLOQ@public.gmane.org>
2010-09-01 19:41 ` Serge E. Hallyn
[not found] ` <20100901194136.GA13918-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
2010-09-01 19:53 ` Michael Tokarev
2010-09-02 9:20 ` Michael Tokarev
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=4C7CE137.5090009@msgid.tls.msk.ru \
--to=mjt-xari/eza3c4vjsylp49lxw@public.gmane.org \
--cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@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