[lxc-devel] Hostname setting in Fedora template
Hi, Fedora systems using systemd should use /etc/hostname instead of /etc/sysconfig/network (the HOSTNAME=... setting), cf. https://bugzilla.redhat.com/show_bug.cgi?id=881785 So, we should probably change the lxc-fedora template to use this. - Thomas -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
Re: [lxc-devel] Clarifying the licensing of LXC
2013/8/30 Stéphane Graber : > Serge already did all of his and Dwight was contacted about lua-lxc/core.c Thanks for the quick response! - Thomas -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] lxc-destroy considered harmful
Hi, in https://bugzilla.redhat.com/show_bug.cgi?id=1003136 , a Fedora LXC user reports a problem with lxc-destroy removing parts of his host file system. He's using 0.8.0, and the obvious advice for him is to try with 0.9.0 (which I am currently building packages of), but that said, the problem is deeper imho. The lxc-destroy script contains this line at its end: rm -rf --one-file-system --preserve-root $lxc_path/$lxc_name Now, if - for one reason or the other (we cannot guarantee the lxc is bug free, or that the configuration is correct, etc.) - the bind mounts pointing to the host's file system are still present at that point in the script, the rm command will do something very harmful to the host. We should protect the user here. The --one-file-system option does not help in the case of bind mounts. This has been discussed in coreutils bug #9472 (see http://lists.gnu.org/archive/html/bug-coreutils/2011-09/msg00040.html, as I once experienced the same problem :( ), which is still open afaik. Wouldn't it be possible to have some code around that final rm command in lxc-destroy to avoid this scenario? Something like temporarily bind-mounting $lxc_path somewhere and then rm'ing $lxc_name in that bind mount? What do you think? Regards Thomas -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
Re: [lxc-devel] [PATCH] lua: fix logic to enable lua support in configure
2013/9/6 Natanael Copa : > I wonder it it would be an idea to replace the 2 switches: > > --enable-lua > --with-lua-pc[=PKG] > > with a single switch: > > --with-lua[=PKG] > > As it works now, if you specify either --enable-lua or --with-lua-pc, > lua will be enabled and configure will fail if Lua headers is missing. > Even '--disable-lua --with-lua-pc' will actually enable Lua. Having only one switch would absolutely make sense imho. - Thomas -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel