On Apr 06, Daniel Lezcano <daniel.lezc...@free.fr> wrote: > I would not rely on that because lxc may evolve to not use the cgroup if > not present. > > If you use upstart, you can check the 'container=lxc' env variable in > the udev init script in order to know if you are in a container. > Otherwise for sysvrc init, I don't know how to handle that. If the container does not support handling uevents then /sys/kernel/uevent_helper should not exist. This is how openvz behaves.
-- ciao, Marco
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev
_______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel