Re: Detecting if you are running in a container

From: Eric W. Biederman
Date: Fri Oct 14 2011 - 14:04:36 EST


Ted Ts'o <tytso@xxxxxxx> writes:

>> I am of course making it sound a million times easier than it's
>> actually likely to be, but I do think it's possible without too many
>> odd corner cases.
>
> It's not the corner cases, it's all of the different name spaces that
> different system administrators and their sites are going to want to
> use, and how to support them all....
>
> And of course, once we start naming uid name spaces, eventually
> someone will want to virtualize containers, and then we will have
> namespaces for namespaces. (It's turtles all the way down! :-)

I have found and merged a solution that allows us to name namespaces
without needing a namespaces for namespaces.

Eric

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/