[lxc-devel] [lxc/lxc] cd0bcc: tests: Add lxc-test-usernic to the dist tarball
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: cd0bcc4958e58a2750cf9086f75649d14c83ac70 https://github.com/lxc/lxc/commit/cd0bcc4958e58a2750cf9086f75649d14c83ac70 Author: Stéphane Graber Date: 2013-09-03 (Tue, 03 Sep 2013) Changed paths: M src/tests/Makefile.am Log Message: --- tests: Add lxc-test-usernic to the dist tarball Signed-off-by: Stéphane Graber -- 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/lxc] 250b1e: licensing: Add missing headers and FSF address
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 250b1eec71b074acdff1c5f6b5a1f0d7d2c20b77 https://github.com/lxc/lxc/commit/250b1eec71b074acdff1c5f6b5a1f0d7d2c20b77 Author: Stéphane Graber Date: 2013-09-03 (Tue, 03 Sep 2013) Changed paths: M autogen.sh M doc/common_options.sgml.in M doc/legacy/lxc-ls.sgml.in M doc/lxc-attach.sgml.in M doc/lxc-cgroup.sgml.in M doc/lxc-checkconfig.sgml.in M doc/lxc-checkpoint.sgml.in M doc/lxc-clone.sgml.in M doc/lxc-console.sgml.in M doc/lxc-create.sgml.in M doc/lxc-destroy.sgml.in M doc/lxc-device.sgml.in M doc/lxc-execute.sgml.in M doc/lxc-freeze.sgml.in M doc/lxc-info.sgml.in M doc/lxc-kill.sgml.in M doc/lxc-ls.sgml.in M doc/lxc-monitor.sgml.in M doc/lxc-netstat.sgml.in M doc/lxc-ps.sgml.in M doc/lxc-restart.sgml.in M doc/lxc-start-ephemeral.sgml.in M doc/lxc-start.sgml.in M doc/lxc-stop.sgml.in M doc/lxc-top.sgml.in M doc/lxc-unfreeze.sgml.in M doc/lxc-unshare.sgml.in M doc/lxc-version.sgml.in M doc/lxc-wait.sgml.in M doc/lxc.conf.sgml.in M doc/lxc.sgml.in M doc/see_also.sgml.in M hooks/mountcgroups M hooks/mountecryptfsroot M lxc.spec.in M runapitests.sh M src/include/getline.c M src/include/getline.h M src/include/lxcmntent.c M src/include/lxcmntent.h M src/include/openpty.c M src/include/openpty.h M src/lxc/af_unix.c M src/lxc/af_unix.h M src/lxc/apparmor.c M src/lxc/apparmor.h M src/lxc/arguments.c M src/lxc/arguments.h M src/lxc/attach.c M src/lxc/attach.h M src/lxc/attach_options.h M src/lxc/bdev.c M src/lxc/bdev.h M src/lxc/caps.c M src/lxc/caps.h M src/lxc/cgroup.c M src/lxc/cgroup.h M src/lxc/checkpoint.c M src/lxc/commands.c M src/lxc/commands.h M src/lxc/conf.c M src/lxc/conf.h M src/lxc/confile.c M src/lxc/confile.h M src/lxc/console.c M src/lxc/console.h M src/lxc/error.c M src/lxc/error.h M src/lxc/execute.c M src/lxc/freezer.c M src/lxc/genl.c M src/lxc/genl.h M src/lxc/legacy/lxc-ls.in M src/lxc/list.c M src/lxc/list.h M src/lxc/log.c M src/lxc/log.h M src/lxc/lxc-destroy.in M src/lxc/lxc-device M src/lxc/lxc-ls M src/lxc/lxc-netstat.in M src/lxc/lxc-ps.in M src/lxc/lxc-start-ephemeral.in M src/lxc/lxc.functions.in M src/lxc/lxc.h M src/lxc/lxc_attach.c M src/lxc/lxc_cgroup.c M src/lxc/lxc_checkpoint.c M src/lxc/lxc_config.c M src/lxc/lxc_console.c M src/lxc/lxc_execute.c M src/lxc/lxc_freeze.c M src/lxc/lxc_info.c M src/lxc/lxc_init.c M src/lxc/lxc_kill.c M src/lxc/lxc_monitor.c M src/lxc/lxc_monitord.c M src/lxc/lxc_restart.c M src/lxc/lxc_start.c M src/lxc/lxc_stop.c M src/lxc/lxc_unfreeze.c M src/lxc/lxc_unshare.c M src/lxc/lxc_usernsexec.c M src/lxc/lxc_wait.c M src/lxc/lxccontainer.h M src/lxc/lxcseccomp.h M src/lxc/lxcutmp.c M src/lxc/lxcutmp.h M src/lxc/mainloop.c M src/lxc/mainloop.h M src/lxc/monitor.c M src/lxc/monitor.h M src/lxc/namespace.c M src/lxc/namespace.h M src/lxc/network.c M src/lxc/network.h M src/lxc/nl.c M src/lxc/nl.h M src/lxc/parse.c M src/lxc/parse.h M src/lxc/restart.c M src/lxc/rtnl.c M src/lxc/rtnl.h M src/lxc/seccomp.c M src/lxc/start.c M src/lxc/start.h M src/lxc/state.c M src/lxc/state.h M src/lxc/sync.c M src/lxc/sync.h M src/lxc/utils.c M src/lxc/utils.h M src/lxc/version.c M src/lxc/version.h M src/python-lxc/examples/api_test.py M src/python-lxc/examples/pyconsole-vte.py M src/python-lxc/examples/pyconsole.py M src/python-lxc/lxc.c M src/python-lxc/lxc/__init__.py M src/python-lxc/setup.py M src/tests/lxc-test-usernic M templates/lxc-altlinux.in M templates/lxc-archlinux.in M templates/lxc-busybox.in M templates/lxc-debian.in M templates/lxc-fedora.in M templates/lxc-opensuse.in M templates/lxc-oracle.in M templates/lxc-sshd.in Log Message: --- licensing: Add missing headers and FSF address Signed-off-by: Stéphane Graber -- 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/lxc] d75462: fix wrong license text for parts of liblxc library
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: d75462e4d663c58bde0787fdbe0ef3148e44cdde https://github.com/lxc/lxc/commit/d75462e4d663c58bde0787fdbe0ef3148e44cdde Author: Serge Hallyn Date: 2013-08-30 (Fri, 30 Aug 2013) Changed paths: M src/lxc/lxccontainer.c M src/lxc/lxclock.c M src/lxc/lxclock.h Log Message: --- fix wrong license text for parts of liblxc library Signed-off-by: Serge Hallyn -- 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/lxc] 0f0813: remove old stale comments (lxc-clone is now implem...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 0f081315a9310bf04fe4bc64b900ec6bac36f85d https://github.com/lxc/lxc/commit/0f081315a9310bf04fe4bc64b900ec6bac36f85d Author: Serge Hallyn Date: 2013-08-30 (Fri, 30 Aug 2013) Changed paths: M src/lxc/lxccontainer.h Log Message: --- remove old stale comments (lxc-clone is now implemented) Signed-off-by: Serge Hallyn -- 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/lxc] 188e0a: Add a section about licensing to CONTRIBUTING
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 188e0ab60bda276c688ad15877c6d6402081c6c9 https://github.com/lxc/lxc/commit/188e0ab60bda276c688ad15877c6d6402081c6c9 Author: Stéphane Graber Date: 2013-08-30 (Fri, 30 Aug 2013) Changed paths: M CONTRIBUTING Log Message: --- Add a section about licensing to CONTRIBUTING Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn -- 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/lxc] acbb59: fix license text in ubuntu and ubuntu-cloud templa...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: acbb59f50d5196facde837ea377f70e98ce1e6f8 https://github.com/lxc/lxc/commit/acbb59f50d5196facde837ea377f70e98ce1e6f8 Author: Serge Hallyn Date: 2013-08-30 (Fri, 30 Aug 2013) Changed paths: M templates/lxc-ubuntu-cloud.in M templates/lxc-ubuntu.in Log Message: --- fix license text in ubuntu and ubuntu-cloud templates Signed-off-by: Serge Hallyn -- 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/lxc] d08c3a: ubuntu: iproute is now called iproute2
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: d08c3aaebca1ccc47f1f14dcd6fbca39953f8dda https://github.com/lxc/lxc/commit/d08c3aaebca1ccc47f1f14dcd6fbca39953f8dda Author: Stéphane Graber Date: 2013-09-03 (Tue, 03 Sep 2013) Changed paths: M templates/lxc-ubuntu.in Log Message: --- ubuntu: iproute is now called iproute2 Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn -- 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/lxc] ca9548: python: Fix api_test to use the new attach() API
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: ca9548ad02238600899a1f86ded308279964e018 https://github.com/lxc/lxc/commit/ca9548ad02238600899a1f86ded308279964e018 Author: Stéphane Graber Date: 2013-09-03 (Tue, 03 Sep 2013) Changed paths: M src/python-lxc/examples/api_test.py Log Message: --- python: Fix api_test to use the new attach() API Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn -- 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/lxc] c66e9b: lua: update license
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: c66e9b01f04840c5abc34d235dbbb2ec9ca55205 https://github.com/lxc/lxc/commit/c66e9b01f04840c5abc34d235dbbb2ec9ca55205 Author: Serge Hallyn Date: 2013-09-03 (Tue, 03 Sep 2013) Changed paths: M src/lua-lxc/core.c M src/lua-lxc/lxc.lua Log Message: --- lua: update license As with other files, update to be LGPL since these are part of the lxc library. Signed-off-by: Serge Hallyn -- 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/lxc] 80bcb0: lxc-commands: add a comment explaining CMD_* rules
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 80bcb05357a90cc9a2e21e942a2b0a53cddfa7a6 https://github.com/lxc/lxc/commit/80bcb05357a90cc9a2e21e942a2b0a53cddfa7a6 Author: Serge Hallyn Date: 2013-09-03 (Tue, 03 Sep 2013) Changed paths: M src/lxc/commands.c Log Message: --- lxc-commands: add a comment explaining CMD_* rules We wish to ensure that, henceforth, newer lxc tools are always compatible with older lxc monitors. Add a comment to commands.c to explain the rule we wish to enforce to this end. Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber -- 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/lxc] e34b5d: bdev_copy segfaults if bdevtype is NULL
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: e34b5d2ef2c329afe6540bbfc298ae631378832e https://github.com/lxc/lxc/commit/e34b5d2ef2c329afe6540bbfc298ae631378832e Author: S.Çağlar Onur Date: 2013-09-04 (Wed, 04 Sep 2013) Changed paths: M src/lxc/bdev.c Log Message: --- bdev_copy segfaults if bdevtype is NULL Signed-off-by: S.Çağlar Onur Signed-off-by: Serge Hallyn -- 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/lxc] 75b553: lxc-alpine: add hwaddr for a single macvlan interf...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 75b5535282453b3442a41df4a3ba6d3058cd6e48 https://github.com/lxc/lxc/commit/75b5535282453b3442a41df4a3ba6d3058cd6e48 Author: Natanael Copa Date: 2013-09-04 (Wed, 04 Sep 2013) Changed paths: M templates/lxc-alpine.in Log Message: --- lxc-alpine: add hwaddr for a single macvlan interface We already add harware address for a single veth interface. Do the same with a single macvlan interface. Signed-off-by: Natanael Copa Signed-off-by: Serge Hallyn -- 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/lxc] 41c3b7: valgrind: fix memory leak on container new/put
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 41c3b7c7ac9b33bc562ebad9ea124912577f2ba5 https://github.com/lxc/lxc/commit/41c3b7c7ac9b33bc562ebad9ea124912577f2ba5 Author: Dwight Engen Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M src/lxc/lxclock.c Log Message: --- valgrind: fix memory leak on container new/put Signed-off-by: Dwight Engen Signed-off-by: Serge Hallyn -- 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
[lxc-devel] [lxc/lxc] 1fb86a: introduce lxc.cap.keep
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 1fb86a7cdc22d22b14d03eb0cbd1aa6702862dd4 https://github.com/lxc/lxc/commit/1fb86a7cdc22d22b14d03eb0cbd1aa6702862dd4 Author: Serge Hallyn Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M doc/lxc.conf.sgml.in M src/lxc/conf.c M src/lxc/conf.h M src/lxc/confile.c Log Message: --- introduce lxc.cap.keep The lxc configuration file currently supports 'lxc.cap.drop', a list of capabilities to be dropped (using the bounding set) from the container. The problem with this is that over time new capabilities are added. So an older container configuration file may, over time, become insecure. Walter has in the past suggested replacing lxc.cap.drop with lxc.cap.preserve, which would have the inverse sense - any capabilities in that set would be kept, any others would be dropped. Realistically both have the same problem - the sendmail capabilities bug proved that running code with unexpectedly dropped privilege can be dangerous. This patch gives the admin a choice: You can use either lxc.cap.keep or lxc.cap.drop, not both. Both continue to be ignored if a user namespace is in use. Signed-off-by: Serge Hallyn -- 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
[lxc-devel] [lxc/lxc] 59d66a: bdev: free after bdev_init
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 59d66af29da6ca8c5fa8cb63a5bbfc443811bb81 https://github.com/lxc/lxc/commit/59d66af29da6ca8c5fa8cb63a5bbfc443811bb81 Author: Serge Hallyn Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M src/lxc/conf.c M src/lxc/lxccontainer.c Log Message: --- bdev: free after bdev_init (Except in cases where we will immediately exit) Signed-off-by: Serge Hallyn -- 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
[lxc-devel] [lxc/lxc] 2a2d36: fix typo
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 2a2d36a42512160e7771b2472cb7922423523048 https://github.com/lxc/lxc/commit/2a2d36a42512160e7771b2472cb7922423523048 Author: Serge Hallyn Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M src/lxc/lxccontainer.c Log Message: --- fix typo Signed-off-by: Serge Hallyn -- 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
[lxc-devel] [lxc/lxc] eee59f: clone: don't copy rdepends when not doing a snapsh...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: eee59f9408398849e9b7fc58dbe68ec176de4d50 https://github.com/lxc/lxc/commit/eee59f9408398849e9b7fc58dbe68ec176de4d50 Author: Serge Hallyn Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M src/lxc/lxccontainer.c Log Message: --- clone: don't copy rdepends when not doing a snapshot clone Signed-off-by: Serge Hallyn -- 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
[lxc-devel] [lxc/lxc] 2698b4: lua: fix a bug in the parsing of /proc/mounts
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 2698b46924ab861b1f39fb11560c852d080e7b02 https://github.com/lxc/lxc/commit/2698b46924ab861b1f39fb11560c852d080e7b02 Author: Natanael Copa Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M src/lua-lxc/lxc.lua Log Message: --- lua: fix a bug in the parsing of /proc/mounts Signed-off-by: Natanael Copa Acked-by: Dwight Engen Acked-by: Stéphane Graber Commit: 44a80d675ffb81ebb1a66a62c162e93a4c5882a0 https://github.com/lxc/lxc/commit/44a80d675ffb81ebb1a66a62c162e93a4c5882a0 Author: Natanael Copa Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M src/lua-lxc/core.c M src/lua-lxc/lxc.lua Log Message: --- lua: prepare for Lua 5.2 Adjust code for Lua 5.2 and keep compatibility with Lua 5.1. Signed-off-by: Natanael Copa Acked-by: Dwight Engen Acked-by: Stéphane Graber Commit: 12e93188de7dfe9ba66e022f9c28aa1f696a22e8 https://github.com/lxc/lxc/commit/12e93188de7dfe9ba66e022f9c28aa1f696a22e8 Author: Natanael Copa Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M configure.ac M src/lua-lxc/Makefile.am Log Message: --- configure/makefile: Allow specify Lua pkg-config file with --with-lua-pc Enable support for both Lua 5.1 and 5.2 by letting user specify the Lua pkg-config package name. By default it will use 'lua' and try figure out which version it is. Signed-off-by: Natanael Copa Acked-by: Stéphane Graber Commit: ac8255280d2e4348ab0eba5ec6982edc92ee6fbd https://github.com/lxc/lxc/commit/ac8255280d2e4348ab0eba5ec6982edc92ee6fbd Author: Natanael Copa Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M src/lua-lxc/core.c M src/lxc/lxc-top Log Message: --- lua: implement usleep in C module So we avoid running os.execute Signed-off-by: Natanael Copa Acked-by: Stéphane Graber Commit: c25c2970a6aabc45ee6375cc127ed45efea2f9bf https://github.com/lxc/lxc/commit/c25c2970a6aabc45ee6375cc127ed45efea2f9bf Author: Natanael Copa Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M src/lua-lxc/core.c M src/lua-lxc/lxc.lua Log Message: --- lua: implement dirname in C rather than depend on external executable Instead of popen and run external executable dirname we implement a dirname in C in the core module. We also remove the unused basename function. Signed-off-by: Natanael Copa Acked-by: Stéphane Graber Commit: 330da5fa322cf628aadc425c5be86814530d313e https://github.com/lxc/lxc/commit/330da5fa322cf628aadc425c5be86814530d313e Author: Dwight Engen Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M src/lua-lxc/lxc.lua M src/lxc/lxc-top Log Message: --- lua: fix stats gathering - remove lxc subdir in cgroup paths (done in commit b98f7d6e) - remove extraneous debug printfs - remove extra call to stats_clear Signed-off-by: Dwight Engen Acked-by: Stéphane Graber Commit: 3a1675bf08b35bd5a5078f5638048c2c72c3e981 https://github.com/lxc/lxc/commit/3a1675bf08b35bd5a5078f5638048c2c72c3e981 Author: Dwight Engen Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M configure.ac Log Message: --- add AS_VAR_COPY for older autoconf versions Signed-off-by: Dwight Engen Acked-by: Stéphane Graber Compare: https://github.com/lxc/lxc/compare/eee59f940839...3a1675bf08b3 -- 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
[lxc-devel] [lxc/lxc] 2caf9a: sanity-check number of detected capabilities
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 2caf9a97d90a61e5eaf9d7c218e5bcc35dfbfbb3 https://github.com/lxc/lxc/commit/2caf9a97d90a61e5eaf9d7c218e5bcc35dfbfbb3 Author: Serge Hallyn Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M src/lxc/conf.c Log Message: --- sanity-check number of detected capabilities Signed-off-by: Serge Hallyn -- 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
[lxc-devel] [lxc/lxc] 69c757: lua: fix logic to enable lua support in configure
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 69c757b343b5bbd2543adc4f3f0204d4696515e0 https://github.com/lxc/lxc/commit/69c757b343b5bbd2543adc4f3f0204d4696515e0 Author: Natanael Copa Date: 2013-09-06 (Fri, 06 Sep 2013) Changed paths: M configure.ac Log Message: --- lua: fix logic to enable lua support in configure When there is no --enable-lua or --with-lua-pc, Lua should not be enabled. This fixes a bug introduced with 12e93188 (configure/makefile: Allow specify Lua pkg-config file with --with-lua-pc) that caused configure script to fail if lua headers was missing. Signed-off-by: Natanael Copa Acked-by: Stéphane Graber -- 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
[lxc-devel] [lxc/lxc] 5c068d: lxc_spawn: don't close pinfd until container is st...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 5c068da9695bcbfa46e0b3666128e3a533c9ddc7 https://github.com/lxc/lxc/commit/5c068da9695bcbfa46e0b3666128e3a533c9ddc7 Author: Serge Hallyn Date: 2013-09-06 (Fri, 06 Sep 2013) Changed paths: M src/lxc/start.c Log Message: --- lxc_spawn: don't close pinfd until container is stopped Otherwise containers may be able to remount -o ro their rootfs at shutdown. Reported-by: Harald Dunkel Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber -- 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
[lxc-devel] [lxc/lxc] f756cd: configure: enable Lua if found and continue withou...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: f756cda05c4058dd7f5d46f2cf51c3bc7fd002d1 https://github.com/lxc/lxc/commit/f756cda05c4058dd7f5d46f2cf51c3bc7fd002d1 Author: Natanael Copa Date: 2013-09-06 (Fri, 06 Sep 2013) Changed paths: M configure.ac Log Message: --- configure: enable Lua if found and continue without if not Search for Lua if no --enable-lua/--disable-lua specified but continue without if not found. If --enable-lua is specified and Lua is not found then return error. If --disable-lua is specified, then don't search for Lua. Signed-off-by: Natanael Copa Acked-by: Stéphane Graber -- 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
[lxc-devel] [lxc/lxc] eef3d4: Add Japanese man pages.
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: eef3d4245ff6511e4791b7cdde84bc553f7313c6 https://github.com/lxc/lxc/commit/eef3d4245ff6511e4791b7cdde84bc553f7313c6 Author: KATOH Yasufumi Date: 2013-09-05 (Thu, 05 Sep 2013) Changed paths: M configure.ac M doc/Makefile.am A doc/ja/FAQ.txt A doc/ja/Makefile.am A doc/ja/common_options.sgml.in A doc/ja/legacy/lxc-ls.sgml.in A doc/ja/lxc-attach.sgml.in A doc/ja/lxc-cgroup.sgml.in A doc/ja/lxc-checkconfig.sgml.in A doc/ja/lxc-checkpoint.sgml.in A doc/ja/lxc-clone.sgml.in A doc/ja/lxc-console.sgml.in A doc/ja/lxc-create.sgml.in A doc/ja/lxc-destroy.sgml.in A doc/ja/lxc-device.sgml.in A doc/ja/lxc-execute.sgml.in A doc/ja/lxc-freeze.sgml.in A doc/ja/lxc-info.sgml.in A doc/ja/lxc-kill.sgml.in A doc/ja/lxc-ls.sgml.in A doc/ja/lxc-monitor.sgml.in A doc/ja/lxc-netstat.sgml.in A doc/ja/lxc-ps.sgml.in A doc/ja/lxc-restart.sgml.in A doc/ja/lxc-shutdown.sgml.in A doc/ja/lxc-start-ephemeral.sgml.in A doc/ja/lxc-start.sgml.in A doc/ja/lxc-stop.sgml.in A doc/ja/lxc-top.sgml.in A doc/ja/lxc-unfreeze.sgml.in A doc/ja/lxc-unshare.sgml.in A doc/ja/lxc-version.sgml.in A doc/ja/lxc-wait.sgml.in A doc/ja/lxc.conf.sgml.in A doc/ja/lxc.sgml.in A doc/ja/see_also.sgml.in Log Message: --- Add Japanese man pages. Japanese man pages is installed under $mandir/ja. At this time, it is based on version 0.9.0. Commit: 347f5baec2e18e483bb7d9d5e37b2872e5c135c8 https://github.com/lxc/lxc/commit/347f5baec2e18e483bb7d9d5e37b2872e5c135c8 Author: hallyn Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M configure.ac M doc/Makefile.am A doc/ja/FAQ.txt A doc/ja/Makefile.am A doc/ja/common_options.sgml.in A doc/ja/legacy/lxc-ls.sgml.in A doc/ja/lxc-attach.sgml.in A doc/ja/lxc-cgroup.sgml.in A doc/ja/lxc-checkconfig.sgml.in A doc/ja/lxc-checkpoint.sgml.in A doc/ja/lxc-clone.sgml.in A doc/ja/lxc-console.sgml.in A doc/ja/lxc-create.sgml.in A doc/ja/lxc-destroy.sgml.in A doc/ja/lxc-device.sgml.in A doc/ja/lxc-execute.sgml.in A doc/ja/lxc-freeze.sgml.in A doc/ja/lxc-info.sgml.in A doc/ja/lxc-kill.sgml.in A doc/ja/lxc-ls.sgml.in A doc/ja/lxc-monitor.sgml.in A doc/ja/lxc-netstat.sgml.in A doc/ja/lxc-ps.sgml.in A doc/ja/lxc-restart.sgml.in A doc/ja/lxc-shutdown.sgml.in A doc/ja/lxc-start-ephemeral.sgml.in A doc/ja/lxc-start.sgml.in A doc/ja/lxc-stop.sgml.in A doc/ja/lxc-top.sgml.in A doc/ja/lxc-unfreeze.sgml.in A doc/ja/lxc-unshare.sgml.in A doc/ja/lxc-version.sgml.in A doc/ja/lxc-wait.sgml.in A doc/ja/lxc.conf.sgml.in A doc/ja/lxc.sgml.in A doc/ja/see_also.sgml.in Log Message: --- Merge pull request #39 from tenforward/ja_man_work Add Japanese man pages. Compare: https://github.com/lxc/lxc/compare/f756cda05c40...347f5baec2e1 -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 3e15e0: Fixed opensuse template to make lxc-shutdown work.
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 3e15e0d37ebcff516261d3fa1475e14ae80555e5 https://github.com/lxc/lxc/commit/3e15e0d37ebcff516261d3fa1475e14ae80555e5 Author: Cedric Bosdonnat Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M templates/lxc-opensuse.in Log Message: --- Fixed opensuse template to make lxc-shutdown work. The fix is described by: https://wiki.archlinux.org/index.php/Linux_Containers#Container_cannot_be_shutdown_if_using_systemd Signed-off-by: Cedric Bosdonnat Acked-by: Stéphane Graber -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] d7063d: API support for container snapshots (v2)
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: d7063dcf4926a3bff38de2f35217d66065d47e5a https://github.com/lxc/lxc/commit/d7063dcf4926a3bff38de2f35217d66065d47e5a Author: Serge Hallyn Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M src/lxc/lxccontainer.c M src/lxc/lxccontainer.h M src/tests/Makefile.am A src/tests/snapshot.c Log Message: --- API support for container snapshots (v2) The api allows for creating, listing, and restoring of container snapshots. Snapshots are created as snapshot clones of the original container - i.e. btrfs and lvm will be done as snapshot, a directory-backed container will have overlayfs snapshots. A restore is a copy-clone, using the same backing store as the original container had. Changelog: . remove lxcapi_snap_open, which wasn't defined anyway. . rename get_comment to get_commentpath . if no newname is specified at restore, use c->name (as we meant to) rather than segving. . when choosing a snapshot index, use the correct path to check for. Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber Commit: b49d70ab1541fe8ec41f022a28b7fbc5bd53a5fd https://github.com/lxc/lxc/commit/b49d70ab1541fe8ec41f022a28b7fbc5bd53a5fd Author: Serge Hallyn Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M src/lxc/Makefile.am A src/lxc/lxc_snapshot.c Log Message: --- introduce lxc-snapshot Hopefully someone else will come in and spruce it up :) This version is as simple as can be lxc-snapshot -n a1 create a snapshot of a1 echo "second commit" > /tmp/a lxc-snapshot -n a1 -c /tmp/a create a snapshot of a1 with /tmp/a as a commit comment lxc-snapshot -n a1 -L list a1's snapshots lxc-snapshot -n a1 -L -C list a1's snapshots along with commit comments lxc-snapshot -n a1 -r snap0 a2 restore snapshot 0 of a1 as container a2 Some easy nice-to-haves: 1. sort snapshots in the list 2. allow a comment to be given in-line 3. an option to remove a snapshot? Removing a snapshot can just as well be done with lxc-destroy -P /var/lib/lxcsnaps/c1 -n snap2 so I leave it to others to decide whether they really want it, and provide the patch if so. Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber Commit: 1b92e80dc74fc20aad9c1b07965b35e469a219a5 https://github.com/lxc/lxc/commit/1b92e80dc74fc20aad9c1b07965b35e469a219a5 Author: Serge Hallyn Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M src/lxc/error.c Log Message: --- error.c: don't return error if container init signaled We log that at INFO level in case it is needed. However, in a modern kernel a container which was shut down using 'shutdown' will always have been signaled with SIGINT. Making lxc-start return an error to reflect that seems overkill. It's *conceivable* that someone is depending on this behavior, so I'm sending this out for anyone to NACK, but if I hear no complaints I'll apply. Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber Compare: https://github.com/lxc/lxc/compare/3e15e0d37ebc...1b92e80dc74f -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 3a3ead: global config: Unify parsing, add additional check...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 3a3ead949cc17aa66ab7696d18214eee9dcb5afb https://github.com/lxc/lxc/commit/3a3ead949cc17aa66ab7696d18214eee9dcb5afb Author: Christian Seiler Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M src/lxc/utils.c M src/lxc/utils.h Log Message: --- global config: Unify parsing, add additional checks Instead of duplicating the code for parsing the global config file for each option, write one main function, lxc_global_config_value, that does the parsing for an arbitrary option name and just call that function from the existing ones. Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Commit: fed8903685000e2307e22a60ff528a7bcdb260b3 https://github.com/lxc/lxc/commit/fed8903685000e2307e22a60ff528a7bcdb260b3 Author: Christian Seiler Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M configure.ac M src/lxc/Makefile.am M src/lxc/utils.c Log Message: --- Add cgroup.pattern global configuration option Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Commit: 1511808b4abe14dbfb1af8a1dde395ddb9310f57 https://github.com/lxc/lxc/commit/1511808b4abe14dbfb1af8a1dde395ddb9310f57 Author: Christian Seiler Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M src/lxc/utils.c M src/lxc/utils.h Log Message: --- Add fopen_cloexec function to emulate 'e' mode Newer glibc versions (that we can't require) allow for an additional letter 'e' in the fopen mode that will cause the file to be opened with the O_CLOEXEC flag, so that it will be closed if the program exec()s away. This is important because if liblxc is used in a multithreaded program, another thread might want to run a program. This options prevents the leakage of file descriptors from LXC. This patch adds an emulation for that that uses the open(2) syscall and fdopen(3). At some later point in time, it may be dropped against fopen(..., "...e"). This commit also converts all fopen() calls in utils.c (where the function is added) to fopen_cloexec(). Subsequently, other calls to fopen() and open() should also be adapted. Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Commit: 5b9a0c795c9a1ef1febe6566e03f658af9c89772 https://github.com/lxc/lxc/commit/5b9a0c795c9a1ef1febe6566e03f658af9c89772 Author: Serge Hallyn Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M src/lxc/utils.c Log Message: --- fopen_cloexec: simplify open call Signed-off-by: Serge Hallyn Commit: 35fface86df9564b1cf967015e8deff68b260d47 https://github.com/lxc/lxc/commit/35fface86df9564b1cf967015e8deff68b260d47 Author: Christian Seiler Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M src/lxc/utils.c M src/lxc/utils.h Log Message: --- utils: Add string and array utility functions Adds a few useful string and array manipulation functions to utils.[ch] Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Commit: 9e25b03e5470aa235e6ff146a6cc17f8946b983c https://github.com/lxc/lxc/commit/9e25b03e5470aa235e6ff146a6cc17f8946b983c Author: Christian Seiler Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M src/lxc/utils.c M src/lxc/utils.h Log Message: --- utils: Add utility functions that write/read to entire files Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Commit: dcf2c26a4cf1cf60680e95b521ff0eac6e8c2782 https://github.com/lxc/lxc/commit/dcf2c26a4cf1cf60680e95b521ff0eac6e8c2782 Author: Serge Hallyn Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M src/lxc/utils.c M src/lxc/utils.h Log Message: --- remove unused lxc_read_line_from_file() Signed-off-by: Serge Hallyn Compare: https://github.com/lxc/lxc/compare/1b92e80dc74f...dcf2c26a4cf1 -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] be9f76: Merge git://github.com/lxc/lxc
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: be9f766c1ef1c74cb7cdfca97a71757b492b8a5c https://github.com/lxc/lxc/commit/be9f766c1ef1c74cb7cdfca97a71757b492b8a5c Author: Daniel Lezcano Date: 2013-09-09 (Mon, 09 Sep 2013) Changed paths: M .gitignore M CONTRIBUTING M autogen.sh M config/Makefile.am M configure.ac M doc/Makefile.am M doc/common_options.sgml.in M doc/legacy/lxc-ls.sgml.in M doc/lxc-attach.sgml.in M doc/lxc-cgroup.sgml.in M doc/lxc-checkconfig.sgml.in M doc/lxc-checkpoint.sgml.in M doc/lxc-clone.sgml.in M doc/lxc-console.sgml.in M doc/lxc-create.sgml.in M doc/lxc-destroy.sgml.in M doc/lxc-device.sgml.in M doc/lxc-execute.sgml.in M doc/lxc-freeze.sgml.in M doc/lxc-info.sgml.in M doc/lxc-kill.sgml.in M doc/lxc-ls.sgml.in M doc/lxc-monitor.sgml.in M doc/lxc-netstat.sgml.in M doc/lxc-ps.sgml.in M doc/lxc-restart.sgml.in R doc/lxc-shutdown.sgml.in M doc/lxc-start-ephemeral.sgml.in M doc/lxc-start.sgml.in M doc/lxc-stop.sgml.in M doc/lxc-top.sgml.in M doc/lxc-unfreeze.sgml.in M doc/lxc-unshare.sgml.in M doc/lxc-version.sgml.in M doc/lxc-wait.sgml.in M doc/lxc.conf.sgml.in M doc/lxc.sgml.in M doc/see_also.sgml.in M hooks/Makefile.am A hooks/clonehostname M hooks/mountcgroups M hooks/mountecryptfsroot A hooks/ubuntu-cloud-prep M lxc.spec.in M runapitests.sh M src/include/getline.c M src/include/getline.h A src/include/ifaddrs.c A src/include/ifaddrs.h M src/include/lxcmntent.c M src/include/lxcmntent.h M src/include/openpty.c M src/include/openpty.h M src/lua-lxc/Makefile.am M src/lua-lxc/core.c M src/lua-lxc/lxc.lua M src/lxc/Makefile.am M src/lxc/af_unix.c M src/lxc/af_unix.h M src/lxc/apparmor.c M src/lxc/apparmor.h M src/lxc/arguments.c M src/lxc/arguments.h M src/lxc/attach.c M src/lxc/attach.h A src/lxc/attach_options.h A src/lxc/bdev.c A src/lxc/bdev.h M src/lxc/caps.c M src/lxc/caps.h M src/lxc/cgroup.c M src/lxc/cgroup.h M src/lxc/checkpoint.c M src/lxc/commands.c M src/lxc/commands.h M src/lxc/conf.c M src/lxc/conf.h M src/lxc/confile.c M src/lxc/confile.h M src/lxc/console.c M src/lxc/console.h M src/lxc/error.c M src/lxc/error.h M src/lxc/execute.c M src/lxc/freezer.c M src/lxc/genl.c M src/lxc/genl.h M src/lxc/legacy/lxc-ls.in M src/lxc/list.c M src/lxc/list.h M src/lxc/log.c M src/lxc/log.h M src/lxc/lxc-checkconfig.in R src/lxc/lxc-clone.in R src/lxc/lxc-create.in M src/lxc/lxc-destroy.in M src/lxc/lxc-device M src/lxc/lxc-ls M src/lxc/lxc-netstat.in M src/lxc/lxc-ps.in R src/lxc/lxc-shutdown.in M src/lxc/lxc-start-ephemeral.in M src/lxc/lxc-top M src/lxc/lxc.functions.in M src/lxc/lxc.h M src/lxc/lxc_attach.c M src/lxc/lxc_cgroup.c M src/lxc/lxc_checkpoint.c A src/lxc/lxc_clone.c A src/lxc/lxc_config.c M src/lxc/lxc_console.c A src/lxc/lxc_create.c A src/lxc/lxc_destroy.c M src/lxc/lxc_execute.c M src/lxc/lxc_freeze.c M src/lxc/lxc_info.c M src/lxc/lxc_init.c M src/lxc/lxc_kill.c M src/lxc/lxc_monitor.c A src/lxc/lxc_monitord.c M src/lxc/lxc_restart.c M src/lxc/lxc_start.c M src/lxc/lxc_stop.c M src/lxc/lxc_unfreeze.c M src/lxc/lxc_unshare.c A src/lxc/lxc_user_nic.c A src/lxc/lxc_usernsexec.c M src/lxc/lxc_wait.c M src/lxc/lxccontainer.c M src/lxc/lxccontainer.h M src/lxc/lxclock.c M src/lxc/lxclock.h M src/lxc/lxcseccomp.h M src/lxc/lxcutmp.c M src/lxc/lxcutmp.h M src/lxc/mainloop.c M src/lxc/mainloop.h M src/lxc/monitor.c M src/lxc/monitor.h M src/lxc/namespace.c M src/lxc/namespace.h M src/lxc/network.c M src/lxc/network.h M src/lxc/nl.c M src/lxc/nl.h M src/lxc/parse.c M src/lxc/parse.h M src/lxc/restart.c M src/lxc/rtnl.c M src/lxc/rtnl.h M src/lxc/seccomp.c M src/lxc/start.c M src/lxc/start.h M src/lxc/state.c M src/lxc/state.h R src/lxc/stop.c M src/lxc/sync.c M src/lxc/sync.h M src/lxc/utils.c M src/lxc/utils.h M src/lxc/version.c M src/lxc/version.h M src/python-lxc/examples/api_test.py A src/python-lxc/examples/pyconsole-vte.py A src/python-lxc/examples/pyconsole.py M src/python-lxc/lxc.c M src/python-lxc/lxc/__init__.py M src/python-lxc/setup.py M src/tests/Makefile.am M src/tests/cgpath.c A src/tests/clonetest.c A src/tests/console.c M src/tests/containertests.c M src/tests/createtest.c M src/tests/destroytest.c M src/tests/get_item.c M src/tests/locktests.c A src/tests/lxc-test-usernic M src/tests/saveconfig.c M src/tests/
[lxc-devel] [lxc/lxc]
Branch: refs/heads/upstream-master1 Home: https://github.com/lxc/lxc -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc]
Branch: refs/heads/upstream-master1 Home: https://github.com/lxc/lxc -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 3981d9: cgroup: Major rewrite of cgroup logic
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 3981d96ea304ed7955d417cd97bb91704fc9de6d https://github.com/lxc/lxc/commit/3981d96ea304ed7955d417cd97bb91704fc9de6d Author: Christian Seiler Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M src/lxc/attach.c M src/lxc/cgroup.c M src/lxc/cgroup.h M src/lxc/commands.c M src/lxc/freezer.c M src/lxc/lxc.h M src/lxc/lxccontainer.c M src/lxc/lxcutmp.c M src/lxc/start.c M src/lxc/start.h M src/lxc/state.c M src/lxc/utils.c M src/tests/cgpath.c Log Message: --- cgroup: Major rewrite of cgroup logic This patch rewrites most of the cgroup logic. It creates a set of data structures to store the kernel state of the cgroup hierarchies and their mountpoints. Mainly, everything is now grouped with respect to the hierarchies of the system. Multiple controllers may be mounted together or separately to different hierarchies, the data structures reflect this. Each hierarchy may have multiple mount points (that were created previously using the bind mount method) and each of these mount points may point to a different prefix inside the cgroup tree. The current code does not make any assumptions regarding the mount points, it just parses /proc/self/mountinfo to acquire the relevant information. The only requirement is that the current cgroup of either init (if cgroup.pattern starts with '/' and the tools are executed as root) or the current process (otherwise) are accessible. The root cgroup need not be accessible. The configuration option cgroup.pattern is introduced. For root-executed containers, it specifies which format the cgroups should be in. Example values may include '/lxc/%n', 'lxc/%n', '%n' or '/machine/%n.lxc'. Any occurrence of '%n' is replaced with the name of the container (and if clashes occur in any hierarchy, -1, -2, etc. are appended globally). If the pattern starts with /, new containers' cgroups will be located relative to init's cgroup; if it doesn't, they will be located relative to the current process's cgroup. Some changes to the cgroup.h API have been done to make it more consistent, both with respect to naming and with respect to the parameters. This causes some changes in other parts of the code that are included in the patch. There has been some testing of this functionality, but there are probably still quite a few bugs in there, especially for people with different configurations. Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Commit: 0a556ccdf5ef50628cbc8fdb1ed016f80ee1137a https://github.com/lxc/lxc/commit/0a556ccdf5ef50628cbc8fdb1ed016f80ee1137a Author: Serge Hallyn Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M src/lxc/cgroup.c Log Message: --- don't use cgroup_path_components un-initialized Signed-off-by: Serge Hallyn Commit: 9ddcd34a2c578e028e35a45017f79383503defe4 https://github.com/lxc/lxc/commit/9ddcd34a2c578e028e35a45017f79383503defe4 Author: Serge Hallyn Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M src/lxc/cgroup.c Log Message: --- lxc_cgroup_process_info_free_and_remove should recursively call itself Signed-off-by: Serge Hallyn Compare: https://github.com/lxc/lxc/compare/dcf2c26a4cf1...9ddcd34a2c57 -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 00ec33: pin_rootfs: be quiet and don't fail container star...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 00ec333b2e6c7a29e99da196979a496fb05ee923 https://github.com/lxc/lxc/commit/00ec333b2e6c7a29e99da196979a496fb05ee923 Author: Serge Hallyn Date: 2013-09-10 (Tue, 10 Sep 2013) Changed paths: M src/lxc/conf.c M src/lxc/start.c Log Message: --- pin_rootfs: be quiet and don't fail container start It's a legitimate use case to use read-only $lxcpath. If we can't create the pin file, then we're not worried about marking the fs readonly on exit. Signed-off-by: Serge Hallyn -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] dd9740: Fix some typos
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: dd97408ae27220ceccf21357421e390345f3a688 https://github.com/lxc/lxc/commit/dd97408ae27220ceccf21357421e390345f3a688 Author: Stéphane Graber Date: 2013-09-11 (Wed, 11 Sep 2013) Changed paths: M doc/lxc-device.sgml.in M doc/lxc.conf.sgml.in Log Message: --- Fix some typos Signed-off-by: KATOH Yasufumi ka...@jazz.email.ne.jp Acked-by: Stéphane Graber -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] c3cb85: apparmor.c: drop newline when reading current prof...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: c3cb8580407b6f6b49949e6c58e175eec81db692 https://github.com/lxc/lxc/commit/c3cb8580407b6f6b49949e6c58e175eec81db692 Author: Serge Hallyn Date: 2013-09-11 (Wed, 11 Sep 2013) Changed paths: M src/lxc/apparmor.c Log Message: --- apparmor.c: drop newline when reading current profile Otherwise we fail to recognize if we are already unconfined. Then, if we want to *start* unconfined, and /proc is readonly, start fails even though it should be able to proceed. With this patch, that situation works. Signed-off-by: Serge Hallyn Reported-by: Andre nathan -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 692ba1: cgroup: re-introduce ns cgroup support
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 692ba18faeb83e1a92743c198484f18b4fc18bc5 https://github.com/lxc/lxc/commit/692ba18faeb83e1a92743c198484f18b4fc18bc5 Author: Serge Hallyn Date: 2013-09-11 (Wed, 11 Sep 2013) Changed paths: M src/lxc/cgroup.c M src/lxc/cgroup.h M src/lxc/start.c Log Message: --- cgroup: re-introduce ns cgroup support If a cgroup hierarchy has ns cgroup composed, then we need to treat that differently: 1. The container init will have already been switched to a new cgroup called after its pid. 2. We can't move the container init to new deeper cgroup directories. So, if we detect an ns cgroup, don't bother trying to construct a new name according to the pattern. Just rename the current one to the container name, and save that path for us to later enter and remove. Note I'm not dealing with the subpaths so nested containers probably won't work. However as ns cgroup is very much legacy, that should be ok. Eventually we should be able to drop ns cgroup support altogether, but not just yet. Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber Commit: 9e60f51d0d1d295bdd77f2fa848f3046e04e6804 https://github.com/lxc/lxc/commit/9e60f51d0d1d295bdd77f2fa848f3046e04e6804 Author: Dwight Engen Date: 2013-09-11 (Wed, 11 Sep 2013) Changed paths: M src/lxc/lxc_monitord.c M src/lxc/lxclock.c M src/lxc/monitor.c M src/lxc/monitor.h M src/lxc/utils.c M src/lxc/utils.h Log Message: --- move monitor-fifo and monitor-sock to /run Moving these files should allow $lxcpath to be a read-only fs. Signed-off-by: Dwight Engen Signed-off-by: Serge Hallyn Compare: https://github.com/lxc/lxc/compare/c3cb8580407b...9e60f51d0d1d -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] cea055: cgroup: address some style+safety issues
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: cea0552efb265fa7e2323d1ac475f1b174c451a1 https://github.com/lxc/lxc/commit/cea0552efb265fa7e2323d1ac475f1b174c451a1 Author: Serge Hallyn Date: 2013-09-11 (Wed, 11 Sep 2013) Changed paths: M src/lxc/cgroup.c Log Message: --- cgroup: address some style+safety issues three issues raised by Christian Seiler: use pid_t, use snprintf, and use const. Signed-off-by: Serge Hallyn -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 4bee03: Update .gitignore
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 4bee03bc9df2c2437f068f284327aff337cbdaa9 https://github.com/lxc/lxc/commit/4bee03bc9df2c2437f068f284327aff337cbdaa9 Author: S.Çağlar Onur Date: 2013-09-12 (Thu, 12 Sep 2013) Changed paths: M .gitignore Log Message: --- Update .gitignore Signed-off-by: S.Çağlar Onur Signed-off-by: Serge Hallyn Commit: 24b514827d8fb6a11521da3f29b80b25c488e8c6 https://github.com/lxc/lxc/commit/24b514827d8fb6a11521da3f29b80b25c488e8c6 Author: Christian Seiler Date: 2013-09-12 (Thu, 12 Sep 2013) Changed paths: M src/lxc/utils.c M src/lxc/utils.h Log Message: --- utils: Add lxc_append_paths to join two paths. Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Commit: 47d8fb3be090fc99118bb7fea8cb12b3e2194999 https://github.com/lxc/lxc/commit/47d8fb3be090fc99118bb7fea8cb12b3e2194999 Author: Christian Seiler Date: 2013-09-12 (Thu, 12 Sep 2013) Changed paths: M src/lxc/cgroup.c M src/lxc/cgroup.h M src/lxc/start.c Log Message: --- cgroup: Split legacy 'ns' cgroup handling off from main cgroup handling This patch splits off ns legacy cgroup handling from main cgroup handling. It moves the creation of the cgroups before clone(), so that the child will easily know which cgroups it will later belong to. Since this is not possible for the renaming of the 'ns' cgroup, keep that part after clone. Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Commit: aae1f3c47b09dfcecd17ec56a5fccfc60e52a220 https://github.com/lxc/lxc/commit/aae1f3c47b09dfcecd17ec56a5fccfc60e52a220 Author: Christian Seiler Date: 2013-09-12 (Thu, 12 Sep 2013) Changed paths: M src/lxc/cgroup.c M src/lxc/cgroup.h Log Message: --- cgroup: Add lxc_setup_mount_cgroup to setup /sys/fs/cgroup inside the container Add funbction to mount cgroup filesystem hierarchy into the container, allowing only access to the parts that the container should have access to, but none else. Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Compare: https://github.com/lxc/lxc/compare/b336d7246a32...aae1f3c47b09 -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 368bbc: Support for automatic mounting of filesystems
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 368bbc02ba132cd978141f392e610adf3b9dcec8 https://github.com/lxc/lxc/commit/368bbc02ba132cd978141f392e610adf3b9dcec8 Author: Christian Seiler Date: 2013-09-12 (Thu, 12 Sep 2013) Changed paths: M src/lxc/conf.c M src/lxc/conf.h M src/lxc/confile.c M src/lxc/start.c Log Message: --- Support for automatic mounting of filesystems This patch adds the lxc.mount.auto configuration option that allows the user to specify that certain standard filesystems should be automatically pre-mounted when the container is started. Currently, four things are implemented: - /proc (mounted read-write) - /sys (mounted read-only) - /sys/fs/cgroup (special logic, see mailing list discussions) - /proc/sysrq-trigger (see below) /proc/sysrq-trigger may be used from within a container to trigger a forced host reboot (echo b > /proc/sysrq-trigger) or do other things that a container shouldn't be able to do. The logic here is to bind-mount /dev/null over /proc/sysrq-trigger, so that that cannot happen. This obviously only protects fully if CAP_SYS_ADMIN is not available inside the container (otherwise that bind-mount could be removed). Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Commit: b7ed4bf0e25799fbe9e9ccb073af5397dda1288a https://github.com/lxc/lxc/commit/b7ed4bf0e25799fbe9e9ccb073af5397dda1288a Author: Christian Seiler Date: 2013-09-12 (Thu, 12 Sep 2013) Changed paths: M src/lxc/conf.c Log Message: --- Change rootfs pinning mechnism Chane pinning mechanism: Use $rootfs/lxc.hold instead of $rootfs.hold (in case $rootfs is a mountpoint itself), but delete the file immediately after creating it (but keep it open). This will keep the root filesystem busy but does not leave any unnecessary files lying around. Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Compare: https://github.com/lxc/lxc/compare/aae1f3c47b09...b7ed4bf0e257 -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] b336d7: ignore ability to init /lxc-monitord.log
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: b336d7246a324e8973bc449cb35db40b1627be47 https://github.com/lxc/lxc/commit/b336d7246a324e8973bc449cb35db40b1627be47 Author: Serge Hallyn Date: 2013-09-12 (Thu, 12 Sep 2013) Changed paths: M src/lxc/lxc_monitord.c Log Message: --- ignore ability to init /lxc-monitord.log We may long-term want to instead decide on a convention under /var/log, but for now just ignore it. This will only happen if lxcpath is read-only. Signed-off-by: Serge Hallyn -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] f209d6: tests: Introduce lxc-test-concurrent for testing b...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: f209d63a97a8a2df5324608fee7b0d7a494d69eb https://github.com/lxc/lxc/commit/f209d63a97a8a2df5324608fee7b0d7a494d69eb Author: S.Çağlar Onur Date: 2013-09-12 (Thu, 12 Sep 2013) Changed paths: M .gitignore M src/tests/Makefile.am A src/tests/concurrent.c Log Message: --- tests: Introduce lxc-test-concurrent for testing basic actions concurrently Signed-off-by: S.Çağlar Onur Signed-off-by: Serge Hallyn -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] b45c70: hash lxcname for use in monitor unix socket sun_pa...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: b45c701178cdc705d26c95f31035c39bab9edf20 https://github.com/lxc/lxc/commit/b45c701178cdc705d26c95f31035c39bab9edf20 Author: Dwight Engen Date: 2013-09-12 (Thu, 12 Sep 2013) Changed paths: M src/lxc/monitor.c Log Message: --- hash lxcname for use in monitor unix socket sun_path[108] - Also convert to unix abstract socket - A simple FNV hash is used instead of SHA-1 since we may not HAVE_GNUTLS Signed-off-by: Dwight Engen Signed-off-by: Serge Hallyn -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 813a48: snapshots: add man page and fix up help info a bit...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 813a4837659d5d7a2c0d0abe03c87196747217e9 https://github.com/lxc/lxc/commit/813a4837659d5d7a2c0d0abe03c87196747217e9 Author: Serge Hallyn Date: 2013-09-12 (Thu, 12 Sep 2013) Changed paths: M configure.ac M doc/Makefile.am A doc/lxc-snapshot.sgml.in M src/lxc/lxc_snapshot.c Log Message: --- snapshots: add man page and fix up help info a bit. Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] b13096: use busybox instead of ubuntu to test as it's much...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: b130964dd7faf19abc7afde7eebe7905a0fe8661 https://github.com/lxc/lxc/commit/b130964dd7faf19abc7afde7eebe7905a0fe8661 Author: S.Çağlar Onur Date: 2013-09-13 (Fri, 13 Sep 2013) Changed paths: M src/tests/concurrent.c Log Message: --- use busybox instead of ubuntu to test as it's much more lightweight, also wait containers to enter desired state Signed-off-by: S.Çağlar Onur Signed-off-by: Serge Hallyn -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 84bce1: add pstore to container fstab
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 84bce17b8bc5c69e8dce03457a5f7859e0b46940 https://github.com/lxc/lxc/commit/84bce17b8bc5c69e8dce03457a5f7859e0b46940 Author: Serge Hallyn Date: 2013-09-13 (Fri, 13 Sep 2013) Changed paths: M templates/lxc-ubuntu-cloud.in M templates/lxc-ubuntu.in Log Message: --- add pstore to container fstab Otherwise user-namespace containers will hang on mountall. Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 103a2f: concurrent: take lxc template to use as argument
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 103a2fc0729727d74470a366a1ea942d2cda2326 https://github.com/lxc/lxc/commit/103a2fc0729727d74470a366a1ea942d2cda2326 Author: Serge Hallyn Date: 2013-09-14 (Sat, 14 Sep 2013) Changed paths: M src/tests/concurrent.c Log Message: --- concurrent: take lxc template to use as argument Signed-off-by: Serge Hallyn -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 002f3c: api_create and api_start: work toward making them ...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 002f3cff4d83c0666cfda40599eded8e0d638c6c https://github.com/lxc/lxc/commit/002f3cff4d83c0666cfda40599eded8e0d638c6c Author: Serge Hallyn Date: 2013-09-14 (Sat, 14 Sep 2013) Changed paths: M src/lxc/af_unix.c M src/lxc/commands.c M src/lxc/lxccontainer.c M src/lxc/parse.c M src/lxc/utils.c Log Message: --- api_create and api_start: work toward making them thread-safe Signed-off-by: Serge Hallyn -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 4575a9: Revert "api_create and api_start: work toward maki...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 4575a9f939a21e31231b2341dab2bffc341adcbd https://github.com/lxc/lxc/commit/4575a9f939a21e31231b2341dab2bffc341adcbd Author: Serge Hallyn Date: 2013-09-14 (Sat, 14 Sep 2013) Changed paths: M src/lxc/af_unix.c M src/lxc/commands.c M src/lxc/lxccontainer.c M src/lxc/parse.c M src/lxc/utils.c Log Message: --- Revert "api_create and api_start: work toward making them thread-safe" This should deadlock with daemonized start due to af_unix changes. Do this later, but do it more carefully. This reverts commit 002f3cff4d83c0666cfda40599eded8e0d638c6c. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 740d19: cgroup: add bdev.h to fix the build error
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 740d1928fa85cc2e171c8c700343f0decabdafd0 https://github.com/lxc/lxc/commit/740d1928fa85cc2e171c8c700343f0decabdafd0 Author: Qiang Huang Date: 2013-09-15 (Sun, 15 Sep 2013) Changed paths: M src/lxc/cgroup.c Log Message: --- cgroup: add bdev.h to fix the build error Signed-off-by: Qiang Huang Acked-by: Stéphane Graber -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 72899b: .gitignore generated Japanese manpages
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 72899b34f167e859edfd3b1c60a97ccf41a48cff https://github.com/lxc/lxc/commit/72899b34f167e859edfd3b1c60a97ccf41a48cff Author: Dwight Engen Date: 2013-09-16 (Mon, 16 Sep 2013) Changed paths: M .gitignore Log Message: --- .gitignore generated Japanese manpages Signed-off-by: Dwight Engen Acked-by: Stéphane Graber -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] beb6d9: add arguments with getopt to concurrent tester
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: beb6d93ee2b449ae2ea53125be2f198d15d8f8e8 https://github.com/lxc/lxc/commit/beb6d93ee2b449ae2ea53125be2f198d15d8f8e8 Author: Dwight Engen Date: 2013-09-16 (Mon, 16 Sep 2013) Changed paths: M src/tests/concurrent.c Log Message: --- add arguments with getopt to concurrent tester - add ability to run for multiple iterations - can also run non-threaded for comparison to threaded case Signed-off-by: Dwight Engen Acked-by: Serge Hallyn Signed-off-by: Serge Hallyn -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 4d7bcf: ubuntu templates: make pstore fstab entry optional
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 4d7bcfb638c5c4907e8539aa09d41bb1de08a097 https://github.com/lxc/lxc/commit/4d7bcfb638c5c4907e8539aa09d41bb1de08a097 Author: Serge Hallyn Date: 2013-09-16 (Mon, 16 Sep 2013) Changed paths: M templates/lxc-ubuntu-cloud.in M templates/lxc-ubuntu.in Log Message: --- ubuntu templates: make pstore fstab entry optional Signed-off-by: Serge Hallyn -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 025ed0: make heavier use of process_lock (v2)
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 025ed0f3911836b71f498d8368725c77a7e1932a https://github.com/lxc/lxc/commit/025ed0f3911836b71f498d8368725c77a7e1932a Author: Serge Hallyn Date: 2013-09-18 (Wed, 18 Sep 2013) Changed paths: M src/lxc/af_unix.c M src/lxc/apparmor.c M src/lxc/attach.c M src/lxc/bdev.c M src/lxc/caps.c M src/lxc/cgroup.c M src/lxc/commands.c M src/lxc/conf.c M src/lxc/console.c M src/lxc/freezer.c M src/lxc/log.c M src/lxc/lxccontainer.c M src/lxc/lxclock.c M src/lxc/lxclock.h M src/lxc/lxcutmp.c M src/lxc/mainloop.c M src/lxc/monitor.c M src/lxc/network.c M src/lxc/nl.c M src/lxc/parse.c M src/lxc/seccomp.c M src/lxc/start.c M src/lxc/state.c M src/lxc/sync.c M src/lxc/utils.c Log Message: --- make heavier use of process_lock (v2) pthread_mutex_lock() will only return an error if it was set to PTHREAD_MUTEX_ERRORCHECK and we are recursively calling it (and would otherwise have deadlocked). If that's the case then log a message for future debugging and exit. Trying to "recover" is nonsense at that point. process_lock() was held over too long a time in lxcapi_start() in the daemonize case. (note the non-daemonized case still needs a check to enforce that it must NOT be called while threaded). Add process_lock() at least across all open/close/socket() calls. Anything done after a fork() doesn't need the locks as it is no longer threaded - so some open/close/dups()s are not locked for that reason. However, some common functions are called from both threaded and non-threaded contexts. So after doing a fork(), do a possibly-extraneous process_unlock() to make sure that, if we were forked while pthread mutex was held, we aren't deadlocked by nobody. Tested that lp:~serge-hallyn/+junk/lxc-test still works with this patch. Signed-off-by: Serge Hallyn Tested-by: S.Çağlar Onur Acked-by: Stéphane Graber -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 799f29: Add get_interfaces to the API
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 799f29ab699f08e67231b012f20a25e23a6c391d https://github.com/lxc/lxc/commit/799f29ab699f08e67231b012f20a25e23a6c391d Author: S.Çağlar Onur Date: 2013-09-18 (Wed, 18 Sep 2013) Changed paths: M src/lxc/lxccontainer.c M src/lxc/lxccontainer.h M src/lxc/utils.c M src/lxc/utils.h M src/python-lxc/examples/api_test.py M src/python-lxc/lxc.c M src/python-lxc/lxc/__init__.py Log Message: --- Add get_interfaces to the API get_ips accepts an interface name as a parameter but there was no way to get the interfaces names from the container. This patch introduces a new get_interfaces call to the API so that users can obtain the name of the interfaces. Support for python bindings also introduced as a part of this version. Signed-off-by: S.Çağlar Onur Acked-by: Stéphane Graber Commit: 8900b9eb2514c07047541833286428572493a9fd https://github.com/lxc/lxc/commit/8900b9eb2514c07047541833286428572493a9fd Author: Stéphane Graber Date: 2013-09-18 (Wed, 18 Sep 2013) Changed paths: M doc/ja/common_options.sgml.in M doc/ja/lxc-attach.sgml.in M doc/ja/lxc-cgroup.sgml.in M doc/ja/lxc-checkconfig.sgml.in M doc/ja/lxc-checkpoint.sgml.in M doc/ja/lxc-clone.sgml.in M doc/ja/lxc-console.sgml.in M doc/ja/lxc-create.sgml.in M doc/ja/lxc-destroy.sgml.in M doc/ja/lxc-device.sgml.in M doc/ja/lxc-execute.sgml.in M doc/ja/lxc-freeze.sgml.in M doc/ja/lxc-info.sgml.in M doc/ja/lxc-kill.sgml.in M doc/ja/lxc-ls.sgml.in M doc/ja/lxc-monitor.sgml.in M doc/ja/lxc-netstat.sgml.in M doc/ja/lxc-ps.sgml.in M doc/ja/lxc-restart.sgml.in M doc/ja/lxc-shutdown.sgml.in M doc/ja/lxc-start-ephemeral.sgml.in M doc/ja/lxc-start.sgml.in M doc/ja/lxc-stop.sgml.in M doc/ja/lxc-unfreeze.sgml.in M doc/ja/lxc-unshare.sgml.in M doc/ja/lxc-version.sgml.in M doc/ja/lxc-wait.sgml.in M doc/ja/lxc.conf.sgml.in M doc/ja/lxc.sgml.in M doc/ja/see_also.sgml.in M src/lxc/cgroup.c M src/lxc/cgroup.h M src/lxc/commands.c Log Message: --- Remove trailing whitespaces Signed-off-by: Stéphane Graber Compare: https://github.com/lxc/lxc/compare/025ed0f39118...8900b9eb2514 -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] e3f46b: lxc-create: add -P to --lxcpath option help text
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: e3f46bfbcffb48b65d71058ca4437f50e72e9de8 https://github.com/lxc/lxc/commit/e3f46bfbcffb48b65d71058ca4437f50e72e9de8 Author: Serge Hallyn Date: 2013-09-18 (Wed, 18 Sep 2013) Changed paths: M src/lxc/lxc_create.c Log Message: --- lxc-create: add -P to --lxcpath option help text Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 6711ff: fix console deadlocks
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 6711ffc1227d61831b3e990d630b4fc6d3c8177e https://github.com/lxc/lxc/commit/6711ffc1227d61831b3e990d630b4fc6d3c8177e Author: Serge Hallyn Date: 2013-09-20 (Fri, 20 Sep 2013) Changed paths: M src/lxc/console.c Log Message: --- fix console deadlocks Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 130a18: Expose underlying close_all_fds config value via A...
Branch: refs/heads/staging Home: https://github.com/lxc/lxc Commit: 130a188840ae655da41dde4771074ff38abaf46f https://github.com/lxc/lxc/commit/130a188840ae655da41dde4771074ff38abaf46f Author: S.Çağlar Onur Date: 2013-09-20 (Fri, 20 Sep 2013) Changed paths: M src/lxc/lxc_start.c M src/lxc/lxccontainer.c M src/lxc/lxccontainer.h Log Message: --- Expose underlying close_all_fds config value via API Being able to set close_all_fds via API would be usefull for the situations like running an application (let's say web server) that controls the lifecycle of the container using the LXC API. We don't want forked process to inherit parent's resource (file, socket, ...) Signed-off-by: S.Çağlar Onur Acked-by: Serge E. Hallyn -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc]
Branch: refs/heads/staging Home: https://github.com/lxc/lxc -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc]
Branch: refs/heads/master Home: https://github.com/lxc/lxc -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc]
Branch: refs/heads/upstream-master Home: https://github.com/lxc/lxc -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] edfb9a: factor out networking configuration code
Branch: refs/heads/stable-0.7.4 Home: https://github.com/lxc/lxc Commit: edfb9a57cf23369aeece9d829bb2930dfd404abc https://github.com/lxc/lxc/commit/edfb9a57cf23369aeece9d829bb2930dfd404abc Author: Daniel Lezcano Date: 2011-03-06 (Sun, 06 Mar 2011) Changed paths: M src/lxc/conf.c M src/lxc/network.c M src/lxc/network.h Log Message: --- factor out networking configuration code Change the name of the functions and factor some of them. Signed-off-by: Daniel Lezcano Commit: b693b38534f9046fcb3872033d953eb20c67e358 https://github.com/lxc/lxc/commit/b693b38534f9046fcb3872033d953eb20c67e358 Author: Daniel Lezcano Date: 2011-03-06 (Sun, 06 Mar 2011) Changed paths: M src/lxc/conf.c M src/lxc/network.c M src/lxc/network.h Log Message: --- rename physical device to the original name Signed-off-by: Daniel Lezcano Commit: 525ff3a55575dd376f95f6d54b3521e481f1e3d7 https://github.com/lxc/lxc/commit/525ff3a55575dd376f95f6d54b3521e481f1e3d7 Author: Daniel Lezcano Date: 2011-03-06 (Sun, 06 Mar 2011) Changed paths: M configure.ac Log Message: --- lxc-0.7.4.1 Signed-off-by: Daniel Lezcano Commit: c232d084125ee97ba3d22409bae9f1217e9dba9f https://github.com/lxc/lxc/commit/c232d084125ee97ba3d22409bae9f1217e9dba9f Author: Daniel Lezcano Date: 2011-03-14 (Mon, 14 Mar 2011) Changed paths: M src/lxc/conf.c Log Message: --- fix mount path Signed-off-by: Daniel Lezcano Commit: 7be9485c5262f5c30c6c41abd94c4ba13eb0e58f https://github.com/lxc/lxc/commit/7be9485c5262f5c30c6c41abd94c4ba13eb0e58f Author: Michael Santos Date: 2011-03-16 (Wed, 16 Mar 2011) Changed paths: M src/lxc/lxc_monitor.c Log Message: --- Exit if allocation fails Signed-off-by: Michael Santos Signed-off-by: Daniel Lezcano Commit: 4b85e81b3d6a9210de09c56224437099abab9eff https://github.com/lxc/lxc/commit/4b85e81b3d6a9210de09c56224437099abab9eff Author: Michael Santos Date: 2011-03-16 (Wed, 16 Mar 2011) Changed paths: M src/lxc/monitor.c Log Message: --- Ensure monitored container name is null terminated regexec() expects a null terminated name. Signed-off-by: Michael Santos Signed-off-by: Daniel Lezcano Commit: 326afe510cccb9406f0d1e3563d71aef91083b80 https://github.com/lxc/lxc/commit/326afe510cccb9406f0d1e3563d71aef91083b80 Author: Cedric Le Goater Date: 2011-04-06 (Wed, 06 Apr 2011) Changed paths: M src/lxc/namespace.c Log Message: --- lxc-attach: fix access permissions of /proc/$pid/ns Signed-off-by: Cedric Le Goater Signed-off-by: Daniel Lezcano Commit: 434d05fc6a8f38c29606780fab9df4fa3706fc25 https://github.com/lxc/lxc/commit/434d05fc6a8f38c29606780fab9df4fa3706fc25 Author: Greg Kurz Date: 2011-04-06 (Wed, 06 Apr 2011) Changed paths: M src/lxc/log.c Log Message: --- lxc: default log appender on stderr The default appender for logs is currently the file one: this make macros from log.h unusable as long as lxc_log_init() hasn't been called. This prevents errors from even being printed on stderr in lxc_caps_init() for example. Let's make stderr the default appender. Signed-off-by: Greg Kurz Signed-off-by: Daniel Lezcano Commit: c6a46e86d4befbed2b35cb7fb97053fe6da8c8ab https://github.com/lxc/lxc/commit/c6a46e86d4befbed2b35cb7fb97053fe6da8c8ab Author: Serge E. Hallyn Date: 2011-05-06 (Fri, 06 May 2011) Changed paths: M templates/lxc-lucid.in M templates/lxc-maverick.in M templates/lxc-natty.in Log Message: --- templates: don't put devpts in $confdir/container/fstab src/lxc/conf.c will explicitly mount it anyway. Furthermore, the fstab entry, which is getting processed first, did not specify -o newinstance. This can cause the host's devpts entry mount options to change, as in https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/607636. I believe the lenny, fedora, and debian templates also will need an update. Signed-off-by: Serge Hallyn Signed-off-by: Daniel Lezcano Commit: ed57edc0ad52692272cab13e132bd58fc9635ea5 https://github.com/lxc/lxc/commit/ed57edc0ad52692272cab13e132bd58fc9635ea5 Author: Daniel Lezcano Date: 2011-05-06 (Fri, 06 May 2011) Changed paths: M templates/lxc-debian.in M templates/lxc-fedora.in M templates/lxc-lenny.in Log Message: --- templates: don't put devpts in $confdir/container/fstab src/lxc/conf.c will explicitly mount it anyway. Furthermore, the fstab entry, which is getting processed first, did not specify -o newinstance. This can cause the host's devpts entry mount options to change, as in https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/607636. Signed-off-by: Daniel Lezcano Commit: b3c7b19a0de4a7ba74e6d46a01dccbc75c9a3c20 https://github.com/lxc/lxc/commit/b3c7b19a0de4a7ba74e6
[lxc-devel] [lxc/lxc] 49badb: return the result of the lxcapi_want_close_all_fds...
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 49badbbef602f1b8add1ea55d7cf0e1563bfe0db https://github.com/lxc/lxc/commit/49badbbef602f1b8add1ea55d7cf0e1563bfe0db Author: S.Çağlar Onur Date: 2013-09-23 (Mon, 23 Sep 2013) Changed paths: M src/lxc/lxccontainer.c M src/lxc/lxccontainer.h Log Message: --- return the result of the lxcapi_want_close_all_fds call to the caller Signed-off-by: S.Çağlar Onur Acked-by: Serge Hallyn Signed-off-by: Serge Hallyn -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 48e2f3: When callback of one config line fail, we'd better...
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 48e2f384e09a51255e677f2f3f1c5c9b92742660 https://github.com/lxc/lxc/commit/48e2f384e09a51255e677f2f3f1c5c9b92742660 Author: Qiang Huang Date: 2013-09-23 (Mon, 23 Sep 2013) Changed paths: M src/lxc/parse.c Log Message: --- When callback of one config line fail, we'd better give the exactly info to help users locate the misconfig. Signed-off-by: Qiang Huang Acked-by: Serge Hallyn Signed-off-by: Serge Hallyn -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 948955: Consistently use for the API
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 948955a2d6f8e4e28bceada9666c5831de4a6bb8 https://github.com/lxc/lxc/commit/948955a2d6f8e4e28bceada9666c5831de4a6bb8 Author: Stéphane Graber Date: 2013-09-23 (Mon, 23 Sep 2013) Changed paths: M src/lxc/bdev.h M src/lxc/console.c M src/lxc/lxc_clone.c M src/lxc/lxc_config.c M src/lxc/lxc_console.c M src/lxc/lxc_create.c M src/lxc/lxc_destroy.c M src/lxc/lxc_snapshot.c M src/lxc/lxc_start.c M src/lxc/lxccontainer.c M src/tests/cgpath.c M src/tests/clonetest.c M src/tests/concurrent.c M src/tests/console.c M src/tests/containertests.c M src/tests/createtest.c M src/tests/destroytest.c M src/tests/get_item.c M src/tests/getkeys.c M src/tests/lxcpath.c M src/tests/saveconfig.c M src/tests/shutdowntest.c M src/tests/snapshot.c M src/tests/startone.c Log Message: --- Consistently use for the API The API header was included in a variety of ways before, standardize those to "include " as this will always work both in tree and on a system with the headers installed. Signed-off-by: Stéphane Graber Acked-by: Serge Hallyn Signed-off-by: Serge Hallyn Commit: c75c30ec73b7d57042b1c4b6330daadff3c7e33f https://github.com/lxc/lxc/commit/c75c30ec73b7d57042b1c4b6330daadff3c7e33f Author: Stéphane Graber Date: 2013-09-23 (Mon, 23 Sep 2013) Changed paths: M configure.ac Log Message: --- Add some missing comments to configure.ac Signed-off-by: Stéphane Graber Acked-by: Serge Hallyn Signed-off-by: Serge Hallyn Commit: faefa7f8584a7d1567df2e6f1f9240a28a6466ab https://github.com/lxc/lxc/commit/faefa7f8584a7d1567df2e6f1f9240a28a6466ab Author: Stéphane Graber Date: 2013-09-23 (Mon, 23 Sep 2013) Changed paths: M doc/ja/legacy/lxc-ls.sgml.in M doc/ja/lxc-attach.sgml.in M doc/ja/lxc-cgroup.sgml.in M doc/ja/lxc-checkconfig.sgml.in M doc/ja/lxc-checkpoint.sgml.in M doc/ja/lxc-clone.sgml.in M doc/ja/lxc-console.sgml.in M doc/ja/lxc-create.sgml.in M doc/ja/lxc-destroy.sgml.in M doc/ja/lxc-device.sgml.in M doc/ja/lxc-execute.sgml.in M doc/ja/lxc-freeze.sgml.in M doc/ja/lxc-info.sgml.in M doc/ja/lxc-kill.sgml.in M doc/ja/lxc-ls.sgml.in M doc/ja/lxc-monitor.sgml.in M doc/ja/lxc-netstat.sgml.in M doc/ja/lxc-ps.sgml.in M doc/ja/lxc-restart.sgml.in M doc/ja/lxc-shutdown.sgml.in M doc/ja/lxc-start-ephemeral.sgml.in M doc/ja/lxc-start.sgml.in M doc/ja/lxc-stop.sgml.in M doc/ja/lxc-top.sgml.in M doc/ja/lxc-unfreeze.sgml.in M doc/ja/lxc-unshare.sgml.in M doc/ja/lxc-version.sgml.in M doc/ja/lxc-wait.sgml.in M doc/ja/lxc.conf.sgml.in M doc/ja/lxc.sgml.in Log Message: --- doc: Make everything use the @docdtd@ variable Signed-off-by: Stéphane Graber Acked-by: Serge Hallyn Signed-off-by: Serge Hallyn Commit: 9d0cda4f22f76d693e2ceef0f77f2ba24227433c https://github.com/lxc/lxc/commit/9d0cda4f22f76d693e2ceef0f77f2ba24227433c Author: Stéphane Graber Date: 2013-09-23 (Mon, 23 Sep 2013) Changed paths: M doc/ja/lxc-checkconfig.sgml.in M doc/ja/lxc-device.sgml.in M doc/ja/lxc-info.sgml.in M doc/ja/lxc-netstat.sgml.in M doc/ja/lxc-start-ephemeral.sgml.in M doc/ja/lxc-version.sgml.in Log Message: --- doc: Fixed my first name Signed-off-by: Stéphane Graber Acked-by: Serge Hallyn Signed-off-by: Serge Hallyn Compare: https://github.com/lxc/lxc/compare/48e2f384e09a...9d0cda4f22f7 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] e55500: arguments: remove trailing slashes for the input l...
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: e555005b15a1d8e95997bd2d72abd0bc230a541d https://github.com/lxc/lxc/commit/e555005b15a1d8e95997bd2d72abd0bc230a541d Author: Qiang Huang Date: 2013-09-24 (Tue, 24 Sep 2013) Changed paths: M src/lxc/arguments.c Log Message: --- arguments: remove trailing slashes for the input lxcpath In lxc_cmd(), we use snprintf(path, len, "%s/%s/command", lxcpath ? lxcpath : inpath, name); to fill sock name, this assume lxcpath have no trailing slashes, so if we use lxc-info -n test -P /usr/local/var/lib/lxc_anon/ to get a running container's state, we will get state: STOPPED which is wrong, because we combine a wrong sock name. To fix this, just remove trailing slashes when parsing arguments. Signed-off-by: Qiang Huang Acked-by: Serge Hallyn Signed-off-by: Serge Hallyn Commit: 89cd77934835d1f04edd17c718d77591974e01f5 https://github.com/lxc/lxc/commit/89cd77934835d1f04edd17c718d77591974e01f5 Author: Qiang Huang Date: 2013-09-24 (Tue, 24 Sep 2013) Changed paths: M src/lxc/lxccontainer.c M src/lxc/utils.c M src/lxc/utils.h Log Message: --- utils: move remove_trailing_slashes to utils Signed-off-by: Qiang Huang Acked-by: Serge Hallyn Signed-off-by: Serge Hallyn Compare: https://github.com/lxc/lxc/compare/9d0cda4f22f7...89cd77934835 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 7cb14f: doc: Japanese man pages is not generated when docb...
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 7cb14f34a92e0a8eae07db027344126bf5c901c9 https://github.com/lxc/lxc/commit/7cb14f34a92e0a8eae07db027344126bf5c901c9 Author: KATOH Yasufumi Date: 2013-09-25 (Wed, 25 Sep 2013) Changed paths: M configure.ac M doc/Makefile.am Log Message: --- doc: Japanese man pages is not generated when docbook-utils is used Character encoding of Japanese man pages is UTF-8. But docbook-utils can't treat it (and don't have --encoding option that use in Makefile). So change to Japanese man pages is not generated when docbook-utils is used. Signed-off-by: KATOH Yasufumi Acked-by: Stéphane Graber -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] b65330: split up lxc_cgroup_load_meta2
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: b653309a4aec9b0be859bc7fc23215fad07bdbb2 https://github.com/lxc/lxc/commit/b653309a4aec9b0be859bc7fc23215fad07bdbb2 Author: Serge Hallyn Date: 2013-09-25 (Wed, 25 Sep 2013) Changed paths: M src/lxc/cgroup.c Log Message: --- split up lxc_cgroup_load_meta2 This one's easier to review by looking at the before and after files. It splits up lxc_cgroup_load_meta2() by adding 3 helpers. The result seems easier to reason about. A question I had, is, should the kernel_subsystems ** be freed in the success case? I assumed it was being used elsewhere but I can't find where. Currently it is only being freed in the error case. I suspect we want to free it in the success case as well. Cc: Christian Seiler Cc: Dwight Engen Signed-off-by: Serge Hallyn Commit: 178938fe0ac891092205d76f67af855dcf7397af https://github.com/lxc/lxc/commit/178938fe0ac891092205d76f67af855dcf7397af Author: Dwight Engen Date: 2013-09-25 (Wed, 25 Sep 2013) Changed paths: M src/lxc/cgroup.c Log Message: --- fix some larger memory leaks in cgroup code Don't worry about saved_errno since none of the *_free routines will set it Signed-off-by: Dwight Engen Signed-off-by: Serge Hallyn Compare: https://github.com/lxc/lxc/compare/7cb14f34a92e...178938fe0ac8 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 2cdafc: fix up a few snafu's in forward-port of last commi...
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 2cdafc545ccd84120f508246322683ea4dba7f9f https://github.com/lxc/lxc/commit/2cdafc545ccd84120f508246322683ea4dba7f9f Author: Serge Hallyn Date: 2013-09-25 (Wed, 25 Sep 2013) Changed paths: M src/lxc/cgroup.c Log Message: --- fix up a few snafu's in forward-port of last commit Make sure to free line. Don't free 'info' when freeing base_info will later free info. Signed-off-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 3a0abb: free kernel_subsystems in success case
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 3a0abb3aa21dda3679f4353926ebdd4c51ea0d0f https://github.com/lxc/lxc/commit/3a0abb3aa21dda3679f4353926ebdd4c51ea0d0f Author: Serge Hallyn Date: 2013-09-25 (Wed, 25 Sep 2013) Changed paths: M src/lxc/cgroup.c Log Message: --- free kernel_subsystems in success case Signed-off-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 0ccf7c: REALLY always free(line)
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 0ccf7c2a63da5482b2eeffb87cd693eedeec645e https://github.com/lxc/lxc/commit/0ccf7c2a63da5482b2eeffb87cd693eedeec645e Author: Serge Hallyn Date: 2013-09-25 (Wed, 25 Sep 2013) Changed paths: M src/lxc/cgroup.c Log Message: --- REALLY always free(line) Signed-off-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] fe4de9: refactor AppArmor into LSM backend, add SELinux su...
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: fe4de9a66d112cb9ddd5977dcce075323f29a39a https://github.com/lxc/lxc/commit/fe4de9a66d112cb9ddd5977dcce075323f29a39a Author: Dwight Engen Date: 2013-09-25 (Wed, 25 Sep 2013) Changed paths: M configure.ac M doc/lxc.conf.sgml.in M src/lxc/Makefile.am R src/lxc/apparmor.c R src/lxc/apparmor.h M src/lxc/attach.c M src/lxc/attach.h M src/lxc/conf.c M src/lxc/conf.h M src/lxc/confile.c A src/lxc/lsm/apparmor.c A src/lxc/lsm/lsm.c A src/lxc/lsm/lsm.h A src/lxc/lsm/nop.c A src/lxc/lsm/selinux.c M src/lxc/start.c M src/lxc/start.h M templates/lxc-oracle.in Log Message: --- refactor AppArmor into LSM backend, add SELinux support Currently, a maximum of one LSM within LXC will be initialized and used. If in the future stacked LSMs become a reality, we can support it without changing the configuration syntax and add support for more than a single LSM at a time to the lsm code. Generic LXC code should note that lsm_process_label_set() will take effect "now" for AppArmor, and upon exec() for SELinux. - fix Oracle template mounting of proc and sysfs, needed when using SELinux Signed-off-by: Dwight Engen Acked-by: Serge Hallyn Signed-off-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 85db55: fix segfault on lxc-create with bad template name
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 85db5535c346fcba1ff6c30835ebd3a95214da04 https://github.com/lxc/lxc/commit/85db5535c346fcba1ff6c30835ebd3a95214da04 Author: Dwight Engen Date: 2013-09-26 (Thu, 26 Sep 2013) Changed paths: M src/lxc/lxccontainer.c Log Message: --- fix segfault on lxc-create with bad template name - change get_template_path() to only return NULL or non-NULL since one of the callers was doing a free(-1) which caused the segfault. Handle the NULL template case in the lxcapi_create() caller. - make sure to free(tpath) in the sha1sum_file() failure case Signed-off-by: Dwight Engen Acked-by: Serge E. Hallyn Signed-off-by: Serge E. Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 566981: drop now-useless have_tpath bool
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 566981770e840b9043f57dac15958a723413e688 https://github.com/lxc/lxc/commit/566981770e840b9043f57dac15958a723413e688 Author: Serge Hallyn Date: 2013-09-26 (Thu, 26 Sep 2013) Changed paths: M src/lxc/lxccontainer.c Log Message: --- drop now-useless have_tpath bool (Which will also break failure-to-build in the !HAVE_LIBGNUTLS case) Signed-off-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] a9ac16: lxc-info: Port to LXC API
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: a9ac16e2cc1634556b0191896f87399c362d791b https://github.com/lxc/lxc/commit/a9ac16e2cc1634556b0191896f87399c362d791b Author: Stéphane Graber Date: 2013-09-27 (Fri, 27 Sep 2013) Changed paths: M src/lxc/lxc_info.c Log Message: --- lxc-info: Port to LXC API Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn Commit: 211e51e81e7c6ab670d1d282d78e5ef26d039a79 https://github.com/lxc/lxc/commit/211e51e81e7c6ab670d1d282d78e5ef26d039a79 Author: Stéphane Graber Date: 2013-09-27 (Fri, 27 Sep 2013) Changed paths: M doc/lxc-info.sgml.in M src/lxc/lxc_info.c Log Message: --- lxc-info: Allow printing IP addresses This adds a new -i flag to lxc-info to print the container's IP addresses using get_ips(). Example: $ lxc-info -n lxc-dev -s -p -i state: RUNNING pid:21331 ip: 10.0.3.165 ip: 2607:f2c0:f00f:2751:e9ca:842f:efa9:97d1 ip: 2607:f2c0:f00f:2751:216:3eff:fe3a:f1c1 Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn Compare: https://github.com/lxc/lxc/compare/566981770e84...211e51e81e7c -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] b06b85: Automatic mounts: improvements for /proc and /sys
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: b06b8511680c6263a05a9065a7cc3a031e503a6b https://github.com/lxc/lxc/commit/b06b8511680c6263a05a9065a7cc3a031e503a6b Author: Christian Seiler Date: 2013-09-27 (Fri, 27 Sep 2013) Changed paths: M src/lxc/conf.c M src/lxc/conf.h M src/lxc/confile.c Log Message: --- Automatic mounts: improvements for /proc and /sys Improve lxc.mount.auto code: allow the user to specify whether to mount certain things read-only or read-write. Also make the code much more easily extensible for the future. Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Commit: 5f62730e91c01937861b45646b00e570208217fc https://github.com/lxc/lxc/commit/5f62730e91c01937861b45646b00e570208217fc Author: Christian Seiler Date: 2013-09-27 (Fri, 27 Sep 2013) Changed paths: M src/lxc/confile.c Log Message: --- Automatic mounting: write lxc.mount.auto in write_config Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Commit: 7997d7da4dfcaad50a0dcbcae8e0681bc5613f46 https://github.com/lxc/lxc/commit/7997d7da4dfcaad50a0dcbcae8e0681bc5613f46 Author: Christian Seiler Date: 2013-09-27 (Fri, 27 Sep 2013) Changed paths: M src/lxc/cgroup.c M src/lxc/cgroup.h M src/lxc/conf.c Log Message: --- Automatic mounting: add more ways to mount the cgroup filesystem This adds quite a few more ways to mount the cgroup filesystem automatically: - Specify ro/rw/mixed: - ro: everything mounted read-only - rw: everything mounted read-write - mixed: only container's own cgroup is rw, rest ro (default) - Add cgroup-full that mounts the entire cgroup tree to the corresponding directories. ro/rw/mixed also apply here. Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Commit: a2ff31c71070f1f42b8e844a294577812284097b https://github.com/lxc/lxc/commit/a2ff31c71070f1f42b8e844a294577812284097b Author: Christian Seiler Date: 2013-09-27 (Fri, 27 Sep 2013) Changed paths: M doc/lxc.conf.sgml.in Log Message: --- Automatic mounting: document options in lxc.conf(5) manpage Signed-off-by: Christian Seiler Signed-off-by: Serge Hallyn Compare: https://github.com/lxc/lxc/compare/211e51e81e7c...a2ff31c71070 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 8bfcb9: valgrind: fix small leak in cgroup
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 8bfcb981de7a6c31ec0fd608279399dc037da2f1 https://github.com/lxc/lxc/commit/8bfcb981de7a6c31ec0fd608279399dc037da2f1 Author: Dwight Engen Date: 2013-09-27 (Fri, 27 Sep 2013) Changed paths: M src/lxc/cgroup.c Log Message: --- valgrind: fix small leak in cgroup Signed-off-by: Dwight Engen Signed-off-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] a24b87: Fix typo
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: a24b87120648acc328d78687516efe205e3356b0 https://github.com/lxc/lxc/commit/a24b87120648acc328d78687516efe205e3356b0 Author: Stéphane Graber Date: 2013-09-27 (Fri, 27 Sep 2013) Changed paths: M src/lxc/lxclock.c Log Message: --- Fix typo Signed-off-by: Stéphane Graber -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] fe218c: Fix crasher in get_ips
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: fe218ca38358dd69dd51fca6433088ac631d6240 https://github.com/lxc/lxc/commit/fe218ca38358dd69dd51fca6433088ac631d6240 Author: Stéphane Graber Date: 2013-09-29 (Sun, 29 Sep 2013) Changed paths: M src/lxc/lxccontainer.c Log Message: --- Fix crasher in get_ips Check that the interface structure is not NULL before trying to access its members. Signed-off-by: Stéphane Graber -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] b494d2: add c->may_control
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: b494d2ddf769220da1ef75fd24275ce68cdf297c https://github.com/lxc/lxc/commit/b494d2ddf769220da1ef75fd24275ce68cdf297c Author: Serge Hallyn Date: 2013-09-30 (Mon, 30 Sep 2013) Changed paths: M src/lxc/commands.c M src/lxc/commands.h M src/lxc/lxccontainer.c M src/lxc/lxccontainer.h M src/tests/Makefile.am A src/tests/may_control.c Log Message: --- add c->may_control This is an api function which will return false if the container is running, and the caller may not talk to its monitor over its command socket. Otherwise - if the container is not running, or the caller may access it - it returns true. We can use this in several tools early on to prevent the segvs etc which we currently get. Signed-off-by: Serge Hallyn Acked-by: Dwight Engen Acked-by: Stéphane Graber -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 243cae: tests/getkeys: return 0 on success
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 243cae25b5b75bde4e720f6f3bda3cbe87951858 https://github.com/lxc/lxc/commit/243cae25b5b75bde4e720f6f3bda3cbe87951858 Author: Serge Hallyn Date: 2013-09-30 (Mon, 30 Sep 2013) Changed paths: M src/tests/getkeys.c Log Message: --- tests/getkeys: return 0 on success Signed-off-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] e59536: RFC: lxclock: drop the chown+chmod of lockdir
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: e59536145cbcfc16e2578819d5ee547455aa56d4 https://github.com/lxc/lxc/commit/e59536145cbcfc16e2578819d5ee547455aa56d4 Author: Serge Hallyn Date: 2013-09-30 (Mon, 30 Sep 2013) Changed paths: M src/lxc/lxclock.c Log Message: --- RFC: lxclock: drop the chown+chmod of lockdir The original rationale for this was to make sure that if lxcpath was /home/serge/lxcbase, then then lockdir (/run/user/serge/lock/lxc/home/serge/lxcbase) would be owned by the same user as /home/serge/lxcbase. The only user who can chown to other uids (without CAP_CHOWN added to fP) is root, who shouldn't be mucking with non-root owned containers anyway. In the meantime this causes a bunch of noise for arguably no benefit. Signed-off-by: Serge Hallyn Commit: 6d03d92ab7f66f9b8e1da2371c9fb7265fd290a7 https://github.com/lxc/lxc/commit/6d03d92ab7f66f9b8e1da2371c9fb7265fd290a7 Author: Dwight Engen Date: 2013-09-30 (Mon, 30 Sep 2013) Changed paths: M src/lxc/confile.c Log Message: --- refactor string conf items into common function - When doing the selinux change, I noticed that there was a lot of duplication of code in handing string configuration items, so I refactored this into a common function. - Added a config_string_max that can be passed a maximum acceptable length, used to limit ttydir to NAME_MAX. - The behavior of config_seccomp was different than other strings: if the item was already defined, then the second attempt to set it would fail instead of just replacing the value. Changed to just replace the value. - Remove unused key and lxc_conf arguments to config_path_item(). Signed-off-by: Dwight Engen Acked-by: Serge E. Hallyn Signed-off-by: Serge E. Hallyn Compare: https://github.com/lxc/lxc/compare/243cae25b5b7...6d03d92ab7f6 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] a5ba96: doc: Update Japanese man pages translation
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: a5ba96715d4ef264c43d4f187251de491ba198c0 https://github.com/lxc/lxc/commit/a5ba96715d4ef264c43d4f187251de491ba198c0 Author: KATOH Yasufumi Date: 2013-09-30 (Mon, 30 Sep 2013) Changed paths: M doc/ja/common_options.sgml.in M doc/ja/legacy/lxc-ls.sgml.in M doc/ja/lxc-attach.sgml.in M doc/ja/lxc-cgroup.sgml.in M doc/ja/lxc-checkconfig.sgml.in M doc/ja/lxc-checkpoint.sgml.in M doc/ja/lxc-clone.sgml.in M doc/ja/lxc-console.sgml.in M doc/ja/lxc-create.sgml.in M doc/ja/lxc-destroy.sgml.in M doc/ja/lxc-device.sgml.in M doc/ja/lxc-execute.sgml.in M doc/ja/lxc-freeze.sgml.in M doc/ja/lxc-info.sgml.in M doc/ja/lxc-kill.sgml.in M doc/ja/lxc-ls.sgml.in M doc/ja/lxc-monitor.sgml.in M doc/ja/lxc-netstat.sgml.in M doc/ja/lxc-ps.sgml.in M doc/ja/lxc-restart.sgml.in R doc/ja/lxc-shutdown.sgml.in A doc/ja/lxc-snapshot.sgml.in M doc/ja/lxc-start-ephemeral.sgml.in M doc/ja/lxc-start.sgml.in M doc/ja/lxc-stop.sgml.in M doc/ja/lxc-top.sgml.in M doc/ja/lxc-unfreeze.sgml.in M doc/ja/lxc-unshare.sgml.in M doc/ja/lxc-version.sgml.in M doc/ja/lxc-wait.sgml.in M doc/ja/lxc.conf.sgml.in M doc/ja/lxc.sgml.in M doc/ja/see_also.sgml.in Log Message: --- doc: Update Japanese man pages translation * sync current English man pages on master branch * delete lxc-shutdown.sgml.in * add lxc-snapshot.sgml.in * update FSF address (same as 250b1eec71b074acdff1c5f6b5a1f0d7d2c20b77) * remove trailing whitespaces in legacy/lxc-ls.sgml.in (same as 8900b9eb2514c07047541833286428572493a9fd) Commit: 3fd391243ea81b2244f529d4771dc4385b27f0e7 https://github.com/lxc/lxc/commit/3fd391243ea81b2244f529d4771dc4385b27f0e7 Author: KATOH Yasufumi Date: 2013-09-30 (Mon, 30 Sep 2013) Changed paths: M doc/ja/lxc-info.sgml.in Log Message: --- doc: Update Japanese lxc-info(1) man page Add description of '-i' option Commit: 492d0d55c3ed84b8550ada0b8f53c6a60a6f169a https://github.com/lxc/lxc/commit/492d0d55c3ed84b8550ada0b8f53c6a60a6f169a Author: KATOH Yasufumi Date: 2013-09-30 (Mon, 30 Sep 2013) Changed paths: M doc/ja/lxc.conf.sgml.in Log Message: --- doc: Update Japanese lxc.conf(5) man page Add description of automatic mounting options Compare: https://github.com/lxc/lxc/compare/6d03d92ab7f6...492d0d55c3ed -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 291c42: gitignore doc/ja/legacy/*.1
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 291c42dac04c27cc0b3e855b50ec5e4af089ca7e https://github.com/lxc/lxc/commit/291c42dac04c27cc0b3e855b50ec5e4af089ca7e Author: Dwight Engen Date: 2013-10-01 (Tue, 01 Oct 2013) Changed paths: M .gitignore Log Message: --- gitignore doc/ja/legacy/*.1 Signed-off-by: Dwight Engen Signed-off-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] fbf050: lxc-monitor default name to .* to monitor all cont...
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: fbf050e4c211030eb343008583f76605dfaaef38 https://github.com/lxc/lxc/commit/fbf050e4c211030eb343008583f76605dfaaef38 Author: Dwight Engen Date: 2013-10-01 (Tue, 01 Oct 2013) Changed paths: M doc/lxc-monitor.sgml.in M src/lxc/lxc_monitor.c Log Message: --- lxc-monitor default name to .* to monitor all containers Signed-off-by: Dwight Engen Signed-off-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 996c63: doc: Update lxc-monitor(1) man page
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 996c63c73eb3859a99ab1e6acf22fc60ab553df9 https://github.com/lxc/lxc/commit/996c63c73eb3859a99ab1e6acf22fc60ab553df9 Author: KATOH Yasufumi Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M doc/ja/lxc-monitor.sgml.in Log Message: --- doc: Update lxc-monitor(1) man page - Update to commit 'fbf050e4c211030eb343008583f76605dfaaef38' - Improve translation Acked-by: Serge E. Hallyn Signed-off-by: Serge E. Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] cab158: doc: Remove unnecessary Diagnostic entry in lxc-st...
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: cab158ed3c1a8eccd715f28d8a848e2c7c7f8ff6 https://github.com/lxc/lxc/commit/cab158ed3c1a8eccd715f28d8a848e2c7c7f8ff6 Author: KATOH Yasufumi Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M doc/ja/lxc-stop.sgml.in M doc/lxc-stop.sgml.in Log Message: --- doc: Remove unnecessary Diagnostic entry in lxc-stop(1) Signed-off-by: KATOH Yasufumi Acked-by: Stéphane Graber Commit: 99282c429a23a2ffa699ca149bb7f9cd5705646a https://github.com/lxc/lxc/commit/99282c429a23a2ffa699ca149bb7f9cd5705646a Author: KATOH Yasufumi Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M doc/ja/lxc-clone.sgml.in M doc/ja/lxc.conf.sgml.in M doc/lxc-clone.sgml.in M doc/lxc.conf.sgml.in Log Message: --- doc: Fix some typos Signed-off-by: KATOH Yasufumi Acked-by: Stéphane Graber Compare: https://github.com/lxc/lxc/compare/996c63c73eb3...99282c429a23 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 431fdc: Update lxc-fedora.in
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 431fdc427247ab1a6189c46d0743e38f30f9e1e9 https://github.com/lxc/lxc/commit/431fdc427247ab1a6189c46d0743e38f30f9e1e9 Author: Renich Bon Ciric Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M templates/lxc-fedora.in Log Message: --- Update lxc-fedora.in Fedora 19's release has no -1 revision; it's a -2 revision actually: ftp://mirrors.kernel.org/fedora/releases/19/Fedora/x86_64/os/Packages/f/ Signed-off-by: Renich Bon Ciric Acked-by: Stéphane Graber Commit: 8983aa6e1e831f690be9cf38ae434a0de8b5107d https://github.com/lxc/lxc/commit/8983aa6e1e831f690be9cf38ae434a0de8b5107d Author: Stéphane Graber Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M templates/lxc-fedora.in Log Message: --- fedora: Use consistent tab/space indent Signed-off-by: Stéphane Graber Compare: https://github.com/lxc/lxc/compare/99282c429a23...8983aa6e1e83 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] bd79cb: fix lxc-info segv on stopped container
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: bd79cb223d32634d66254264096040e86f763588 https://github.com/lxc/lxc/commit/bd79cb223d32634d66254264096040e86f763588 Author: Dwight Engen Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M src/lxc/lxc_info.c Log Message: --- fix lxc-info segv on stopped container Signed-off-by: Dwight Engen Acked-by: Stéphane Graber -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 01660c: Avoid ldconfig due to cross-compilation problems.
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 01660cccb99433ecb970c534d2c0077a7fe84299 https://github.com/lxc/lxc/commit/01660cccb99433ecb970c534d2c0077a7fe84299 Author: Andrey Mazo Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M src/lxc/Makefile.am Log Message: --- Avoid ldconfig due to cross-compilation problems. Otherwise, it cases problems on cbuild endianness != ctarget endianness setups because /sbin/ldconfig expects elf header in the wrong endianness. Signed-off-by: Andrey Mazo Acked-by: Stéphane Graber -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] a8aa70: lxc_init: Use sig_atomic_t for was_interrupted
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: a8aa709c9de0e6b4c6174396590e265f7bda75c7 https://github.com/lxc/lxc/commit/a8aa709c9de0e6b4c6174396590e265f7bda75c7 Author: Stéphane Graber Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M src/lxc/lxc_init.c Log Message: --- lxc_init: Use sig_atomic_t for was_interrupted Suggested-by: Markus Elfring Signed-off-by: Stéphane Graber -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] c61eaa: lxc-fedora: Show usage when no name is passed
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: c61eaadcf87ef9d336992651ff85387de62b8a1a https://github.com/lxc/lxc/commit/c61eaadcf87ef9d336992651ff85387de62b8a1a Author: Stéphane Graber Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M templates/lxc-fedora.in Log Message: --- lxc-fedora: Show usage when no name is passed Reported-by: Anatoly Techtonik Signed-off-by: Stéphane Graber -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 51e7a8: Check return value of ifa_get_local_ip
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 51e7a87468e56f545cc5efe5d3f93d8890b0b26b https://github.com/lxc/lxc/commit/51e7a87468e56f545cc5efe5d3f93d8890b0b26b Author: Stéphane Graber Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M src/lxc/network.c Log Message: --- Check return value of ifa_get_local_ip Signed-off-by: Stéphane Graber Acked-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 8111ad: lxc-checkconfig: suggest modprobe configs
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 8111adfde01598ebb515e4bd271bd0a11775 https://github.com/lxc/lxc/commit/8111adfde01598ebb515e4bd271bd0a11775 Author: Stéphane Graber Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M src/lxc/lxc-checkconfig.in Log Message: --- lxc-checkconfig: suggest modprobe configs give hint to user to modprobe configs (altho could just modprobe it?) Signed-off-by: Elan Ruusamäe Acked-by: Stéphane Graber -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 2aa123: add reboot test
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 2aa123185e055bbe2506a6210e795e0b9375e477 https://github.com/lxc/lxc/commit/2aa123185e055bbe2506a6210e795e0b9375e477 Author: Serge Hallyn Date: 2013-10-03 (Thu, 03 Oct 2013) Changed paths: M src/tests/Makefile.am A src/tests/reboot.c Log Message: --- add reboot test It's really more of a kernel check, but worth having. Signed-off-by: Serge Hallyn Commit: 17232fefae9937b3718ac05c5c4da591b5684f5a https://github.com/lxc/lxc/commit/17232fefae9937b3718ac05c5c4da591b5684f5a Author: Serge Hallyn Date: 2013-10-03 (Thu, 03 Oct 2013) Changed paths: M .gitignore Log Message: --- add new tests to .gitignore Signed-off-by: Serge Hallyn Commit: f5abd74d1a6f5f6c04d982b31a6b1edbaf0f2582 https://github.com/lxc/lxc/commit/f5abd74d1a6f5f6c04d982b31a6b1edbaf0f2582 Author: Stéphane Graber Date: 2013-10-03 (Thu, 03 Oct 2013) Changed paths: M src/lxc/lxc_attach.c M src/lxc/lxc_cgroup.c M src/lxc/lxc_checkpoint.c M src/lxc/lxc_clone.c M src/lxc/lxc_console.c M src/lxc/lxc_create.c M src/lxc/lxc_destroy.c M src/lxc/lxc_freeze.c M src/lxc/lxc_info.c M src/lxc/lxc_kill.c M src/lxc/lxc_monitor.c M src/lxc/lxc_snapshot.c M src/lxc/lxc_stop.c M src/lxc/lxc_unfreeze.c M src/lxc/lxc_wait.c Log Message: --- Improve behaviour for unprivileged users This mostly changes two things: - Only log to the container's logfile on start/stop/restart/execute - Call may_control() every time we use the API and return "Insufficient privileges" on failure. NOTE: I didn't test every single one of those but I'm fairly confident in my copy/paste abilities and I confirmed they all build fine at least. Signed-off-by: Stéphane Graber Signed-off-by: Serge Hallyn Compare: https://github.com/lxc/lxc/compare/8111adfde044...f5abd74d1a6f -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] a5a825: confile.c: cast size_t to prevent compile failure ...
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: a5a82508547320372b1d935193b85e80884e1e29 https://github.com/lxc/lxc/commit/a5a82508547320372b1d935193b85e80884e1e29 Author: Serge Hallyn Date: 2013-10-03 (Thu, 03 Oct 2013) Changed paths: M src/lxc/confile.c Log Message: --- confile.c: cast size_t to prevent compile failure on 386 Signed-off-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 025f59: add basic lxc-test-ubuntu (v3)
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 025f59ab98217b7e9caf6d3ac7e910853d95f621 https://github.com/lxc/lxc/commit/025f59ab98217b7e9caf6d3ac7e910853d95f621 Author: Serge Hallyn Date: 2013-10-03 (Thu, 03 Oct 2013) Changed paths: M configure.ac M src/tests/Makefile.am A src/tests/lxc-test-ubuntu Log Message: --- add basic lxc-test-ubuntu (v3) Some features of lxc - networking and LSM configuration for instance - are generally configured by the distro packages. This program tests the Ubuntu configuration. changelog v2: Switch to lxc-info -i to detect ip address as stgraber suggested Don't look for 'expect' as I'm not using it yet. changelog v3: Make sure to only read one ip address from container. Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 449989: templates/lxc-fedora Rework for distro independenc...
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 449989ac38e07080c6b951de31ccba82753058b7 https://github.com/lxc/lxc/commit/449989ac38e07080c6b951de31ccba82753058b7 Author: Michael H. Warfield Date: 2013-10-03 (Thu, 03 Oct 2013) Changed paths: M templates/lxc-fedora.in Log Message: --- templates/lxc-fedora Rework for distro independence. This patch reworks the Fedora template to operate in the most "distro agnostic" manner possible. It should even run on distros where rpm and yum are not present and not available or may be incompatible. It depends on the most basic set of system facilities like rsync but does require squashfs support also be available to mount a LiveOS runtime. Based on comments at Linux Plumbers, what I had been referring to as a "run time environment" or RTE has been renamed in the code to refer to it as a "bootstrap". It has been tested on Fedora (of course), OpenSuse, Ubuntu, and Oracle (latest host versions of each) building Fedora containers of F19 back through F9. Varying levels of database problems were encountered from F11 and back and are "will not fix" due to versions being long EOL. F15 and F16 build but do not run "out of the box" due to systemd version issues and those are also "will not fix" for the same reasons. Signed-off-by: Michael H. Warfield Acked-by: Serge E. Hallyn Signed-off-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 2ef89d: lxc-ubuntu: Remove trim option
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 2ef89d565c9c8dd79f99ef0d085b924b2ac92951 https://github.com/lxc/lxc/commit/2ef89d565c9c8dd79f99ef0d085b924b2ac92951 Author: Stéphane Graber Date: 2013-10-04 (Fri, 04 Oct 2013) Changed paths: M templates/lxc-ubuntu.in Log Message: --- lxc-ubuntu: Remove trim option Container trimming is a bad idea in general, Ubuntu since 12.04 allows standard systems to run in containers and we've got separate code to deal with 10.04, so let's just drop trim. Signed-off-by: Stéphane Graber Signed-off-by: Serge Hallyn Commit: f3e52710c2310726ee3ced50148e2a5fea92481e https://github.com/lxc/lxc/commit/f3e52710c2310726ee3ced50148e2a5fea92481e Author: S.Çağlar Onur Date: 2013-10-04 (Fri, 04 Oct 2013) Changed paths: M src/lxc/lxc_cgroup.c M src/lxc/lxc_clone.c M src/lxc/lxc_console.c M src/lxc/lxc_destroy.c M src/lxc/lxc_freeze.c M src/lxc/lxc_info.c M src/lxc/lxc_snapshot.c M src/lxc/lxc_unfreeze.c M src/lxc/lxc_wait.c Log Message: --- call lxc_container_put when appropriate Signed-off-by: S.Çağlar Onur Signed-off-by: Serge Hallyn Compare: https://github.com/lxc/lxc/compare/449989ac38e0...f3e52710c231 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] fe5c5e: lxc-fedora: remove 4:0 and 4:1 from devices whitel...
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: fe5c5ea69323ef9558648645e08d54edd866adf6 https://github.com/lxc/lxc/commit/fe5c5ea69323ef9558648645e08d54edd866adf6 Author: Serge Hallyn Date: 2013-10-04 (Fri, 04 Oct 2013) Changed paths: M templates/lxc-fedora.in Log Message: --- lxc-fedora: remove 4:0 and 4:1 from devices whitelist They are the real /dev/tty{0,1}, which are physical consoles. Lxc bind-mounts over them. Don't let the container use these! Signed-off-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 0655a6: trivial: remove trailing whitespce from lxc-fedora
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 0655a606dad52725eedd8af18a15f246627091f9 https://github.com/lxc/lxc/commit/0655a606dad52725eedd8af18a15f246627091f9 Author: Serge Hallyn Date: 2013-10-04 (Fri, 04 Oct 2013) Changed paths: M templates/lxc-fedora.in Log Message: --- trivial: remove trailing whitespce from lxc-fedora Signed-off-by: Serge Hallyn Commit: 6766033125c328972d59a97495654feb25728f51 https://github.com/lxc/lxc/commit/6766033125c328972d59a97495654feb25728f51 Author: Michael H. Warfield Date: 2013-10-04 (Fri, 04 Oct 2013) Changed paths: M templates/lxc-fedora.in Log Message: --- templates/lxc-fedora Network startup w/o Network Manager This patches the Fedora template to insure that the legacy network startup scripts are enabled when NetworkManager has not been installed in the container (default). It also fixes a login problem with pam_loginuid.so in a container. https://bugzilla.redhat.com/show_bug.cgi?id=966807 Signed-off-by: Michael H. Warfield -- Signed-off-by: Serge Hallyn Commit: 5e00ff016a5f6a15722da82e7befa69d669639e1 https://github.com/lxc/lxc/commit/5e00ff016a5f6a15722da82e7befa69d669639e1 Author: Dwight Engen Date: 2013-10-04 (Fri, 04 Oct 2013) Changed paths: M templates/lxc-oracle.in Log Message: --- oracle template: add openssh-clients to enable scp in/out of container Signed-off-by: Dwight Engen Signed-off-by: Serge Hallyn Compare: https://github.com/lxc/lxc/compare/fe5c5ea69323...5e00ff016a5f -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 3157e6: fix errors when using docbook2man
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 3157e673952bb857caf98666983eb5c0aec831a9 https://github.com/lxc/lxc/commit/3157e673952bb857caf98666983eb5c0aec831a9 Author: Dwight Engen Date: 2013-10-04 (Fri, 04 Oct 2013) Changed paths: M doc/lxc.conf.sgml.in Log Message: --- fix errors when using docbook2man docbook2man picks up some errors that docbook2x does not, fixing them isn't harmful to docbook2x. The only real change is adding and tags. Signed-off-by: Dwight Engen Signed-off-by: Serge Hallyn Commit: dab75acca0716ef3782f8cde04e4fc525b7932dd https://github.com/lxc/lxc/commit/dab75acca0716ef3782f8cde04e4fc525b7932dd Author: Dwight Engen Date: 2013-10-04 (Fri, 04 Oct 2013) Changed paths: M doc/Makefile.am Log Message: --- always include the ja manpage sources in make dist These need to be in the dist tarball even if the host packaging system doesn't have docbook2x, otherwise configure will fail to find them. Also, the build system may have docbook2x, even if the packaging system does not. Signed-off-by: Dwight Engen Signed-off-by: Serge Hallyn Compare: https://github.com/lxc/lxc/compare/5e00ff016a5f...dab75acca071 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [lxc/lxc] 9baa57: coverity: closedir on error path
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 9baa57bdd4e8aac1ce4fe792065ac5eb2981ec38 https://github.com/lxc/lxc/commit/9baa57bdd4e8aac1ce4fe792065ac5eb2981ec38 Author: Serge Hallyn Date: 2013-10-07 (Mon, 07 Oct 2013) Changed paths: M src/lxc/lxccontainer.c Log Message: --- coverity: closedir on error path Signed-off-by: Serge Hallyn -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel