08.04.2010 11:56, Michael Tokarev wrote: [] > The problem. The current detection is based on the > content of container's /var/run/utmp. This is goood > provided the container actually touches that file, > but this is not true for "single-application" > containers, i.e. the ones without full init.d > system.
And one more problem: this does not work if the container mounts a separate tmpfs on top of /var/run (which is quite typical nowadays). (Sure it can be mounted from the outside too, in which case the detection will work, but the point is that this detection is quite fragile). /mjt ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel