Hi Serge, >> 1. What about the naming convention? Stick with /lxc/$name or go >> with >> /machine/$name.lxc (see prev. email)? Or I could make that >> configurable? > > $name.lxc or lxc.$name seems good for all cases. It'll benefit > unprivileged users also. By "/machine/$name.lxc" did you actually > mean under the /machine group? If we add lxc as a prefix or suffix, > do you think that suffices for the grouping?
I was looking at what other people (i.e. libvirt) were doing, see this previous mail of mine: http://article.gmane.org/gmane.linux.kernel.containers.lxc.devel/3999 >> 2. Any objections to implementing the mountcgroups hook in C? >> Especially if I want to do the cgroup mount point detection >> right >> (and not just assume /sys/fs/cgroup) it is going to be a huge >> pain >> to do that in shell, whereas in C I could reuse code. > > Nope - it'll require a hooks/Makefile.am tweak, is all. I was > using scripts originally to encourage people to hack on them, > but I'm not sure people are doing that anyway. (If we wanted > to continue supporting that then we might want to use python) I think scripts are generally a good idea for this, but not in every use case, such as this one. And since the mountcgroups hook might be considered part of 'core' functionality, I also think Python is perhaps not the best choice, especially since LXC only supports Python 3.2+. -- Christian ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel