History log of /lxc/config/Makefile.am
Revision Date Author Comments Expand
0af993195cbd57cff700c7c90ee8f95c2a1ef8aa 26-Sep-2014 Michael H. Warfield <mhw@WittsEnd.com>

Rework init scripts This commit is based on the work of: Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com> A generic changelog would be: - Bring support for lxcbr0 to all distributions - Share the container startup and network configuration logic across distributions and init systems. - Have all the init scripts call the helper script. - Support for the various different distro-specific configuration locations to configure lxc-net and container startup. Changes on top of Mike's original version: - Remove sysconfig/lxc-net as it's apparently only there as a workaround for an RPM limitation and is breaking Debian systems by including a useless file which will get registered as a package provided conffile in the dpkg database and will therefore cause conffile prompts on upgrades... - Go with a consistant coding style in the various init scripts. - Split out the common logic from the sysvinit scripts and ship both in their respective location rather than have them be copies. - Fix the upstart jobs so they actually work (there's no such thing as libexec on Debian systems). Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>

719fae07bf641ad6ed80b12c52f60b68d734f611 31-Jul-2014 Dwight Engen <dwight.engen@oracle.com>

provide an example SELinux policy for older releases The virtd_lxc_t type provided by the default RHEL/CentOS/Oracle 6.5 policy is an unconfined_domain(), so it doesn't really enforce anything. This change will provide a link in the documentation to an example policy that does confine containers. On more recent distributions with new enough policy, it is recommended not to use this sample policy, but to use the types already available on the system from /etc/selinux/targeted/contexts/lxc_contexts, ie: process = "system_u:system_r:svirt_lxc_net_t:s0" file = "system_u:object_r:svirt_sandbox_file_t:s0" Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>

7ceebfd12a0503bee5eaab8d4c062a4389939a61 29-Mar-2014 Dwight Engen <dwight.engen@oracle.com>

add yum plugin to repatch rootfs on yum update oracle-template: Split patching rootfs vs one time setup into separate shell functions so the template can be run with --patch. oracle-template: Update to install the yum plugin and itself (as lxc-patch) into a container. The plugin just runs lxc-patch --patch <path> so it is fairly generic, but in this case it is running a copy of the template inside the container. Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

0306de4f280adc0cd5faa3cd365c584d61c9e383 22-Jan-2014 Stéphane Graber <stgraber@ubuntu.com>

Add bash auto completion This adds a basic bash auto-completion profile. It supports 3 things at this time: - Auto-complete of container name (-n or -o) - Auto-complete of template name (-t) - Auto-complete of state names (-s) It's configured in a way to be as little disruptive as possible, any argument that's not explicitly handled by the profile will fallack to bash's default completion. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>

8da250dad4b11c4983031742a83fb8f358044fe0 16-Jan-2014 Stéphane Graber <stgraber@ubuntu.com>

apparmor: Add profiles Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>

dc0682900a79cfb47fd9a416902129bfa68fdcbf 16-Jan-2014 Stéphane Graber <stgraber@ubuntu.com>

init: Add upstart jobs and some more changes (v3) This adds the 3 upstart jobs that we've had in Ubuntu for a while: - lxc.conf: Main upstart job, triggers lxc-net.conf based on config - lxc-instance.conf: Triggered by lxc.conf for each auto-started container - lxc-net.conf: Triggered by lxc.conf, sets up lxcbr0, NAT, mangling, ... In addition, there are two extra config files in /etc/default: - lxc: Allows setting some values like http proxying, disabling autostart, ... - lxc-net: Network configuration for the lxcbr0 bridge This change also disables the sysv script for all distros but Oracle as the current script won't work on either Ubuntu nor Debian and I suspect quite a few more distros, so it's not nearly as distro-agnostic as we thought. For Debian, only install the upstart jobs and systemd unit. For Ubuntu, only install the upstart jobs. This change also moves all the init related stuff to config/init/ Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>

f2a95ee1bf54c949614a68bf152ea9a8e1d3a172 06-Dec-2013 Stéphane Graber <stgraber@ubuntu.com>

Move some common Ubuntu config This introduces a new /usr/share/lxc/config directory containing common configuration snippets. The two Ubuntu templates are then simplified to just include the relevant entries avoiding a whole lot of hardcoded cgroup, capabilities and mount points configuration. An extra comment is also added at the top of all generated configuration files telling the user to look at lxc.conf(5) for more information. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>

3a647d582dc759e43c2087f0d906adf77c62ab6c 31-May-2013 Serge Hallyn <serge.hallyn@ubuntu.com>

configure/makefile: rename default_conf to distro_conf configure/makefile: rename default_conf to distro_conf, since it is a per-distro default. Then we'll be able to use the symbol LXC_DEFAULT_CONF in the code to refer to the installed file. Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

bb9702b539188bcc0c37f351633b087d1c22d2a6 06-Feb-2013 Dwight Engen <dwight.engen@oracle.com>

Rename /etc/lxc/lxc.conf to /etc/lxc/default.conf. This will soon be followed by the introduction of a "real" system wide /etc/lxc/lxc.conf storing global LXC settings. Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

eeb6cb8305a213c29ee20e4a0c4d4c1418c88dd8 12-Nov-2012 Stéphane Graber <stgraber@ubuntu.com>

Fix autogen failing because of clean/distclean overrides A previous patch added a clean/distclean target to config/Makefile.am. This conflicts with automake's own target. This change replaces those by a clean-local and distclean-local target. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>

f0e592fc66bbfd4c8cf73f91536f326ccf483f22 12-Nov-2012 Dwight Engen <dwight.engen@oracle.com>

Add distro config file /etc/lxc/lxc.conf [PATCH] Clean the lxc.conf file Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

6f75ba0bdab3ab1f29773740611bb0ce6f9ab99c 12-Nov-2012 Dwight Engen <dwight.engen@oracle.com>

Add distro config file /etc/lxc/lxc.conf This allows a distro to put the distro specific default network configuration (for example bridge device, link type), or other lxc configuration in the case that -f is not passed by the user to lxc-create, in which case lxc-create will use the distro conf file as the basis for the containers config. Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

d3e00ade7664adda71a26bc8198da7e6f8cbd628 05-Jan-2009 dlezcano <dlezcano>

Remove files provided by libtool and automake From: Daniel Lezcano <dlezcano@fr.ibm.com> Remove the files which are provided by libtool and automake. libtoolize has been added to 'bootstrap' command. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

5e97c3fcce787a5bc0f8ceef43aa3e05195b480a 06-Aug-2008 dlezcano <dlezcano>

Initial revision

/lxc/.cvsignore /lxc/AUTHORS /lxc/COPYING /lxc/ChangeLog /lxc/INSTALL /lxc/Makefile.am /lxc/NEWS /lxc/README /lxc/RELEASE-NOTES /lxc/bootstrap .cvsignore Makefile.am config.guess config.sub depcomp install-sh ltmain.sh missing /lxc/configure.in /lxc/doc/fstab /lxc/doc/lxc.conf /lxc/etc/.cvsignore /lxc/etc/Makefile.am /lxc/etc/lxc-complex-config.in /lxc/etc/lxc-macvlan.conf.in /lxc/etc/lxc-no-netns.conf.in /lxc/etc/lxc-phys.conf.in /lxc/etc/lxc-veth.conf.in /lxc/lxc.spec.in /lxc/src/.cvsignore /lxc/src/Makefile.am /lxc/src/liblxc/.cvsignore /lxc/src/liblxc/Makefile.am /lxc/src/liblxc/cgroup.c /lxc/src/liblxc/cgroup.h /lxc/src/liblxc/conf.c /lxc/src/liblxc/conf.h /lxc/src/liblxc/create.c /lxc/src/liblxc/destroy.c /lxc/src/liblxc/execute.c /lxc/src/liblxc/freezer.c /lxc/src/liblxc/genl.c /lxc/src/liblxc/genl.h /lxc/src/liblxc/kill.c /lxc/src/liblxc/list.c /lxc/src/liblxc/list.h /lxc/src/liblxc/lock.c /lxc/src/liblxc/lock.h /lxc/src/liblxc/log.c /lxc/src/liblxc/log.h /lxc/src/liblxc/lxc.h /lxc/src/liblxc/monitor.c /lxc/src/liblxc/namespace.h /lxc/src/liblxc/network.c /lxc/src/liblxc/network.h /lxc/src/liblxc/nl.c /lxc/src/liblxc/nl.h /lxc/src/liblxc/rtnl.c /lxc/src/liblxc/rtnl.h /lxc/src/liblxc/start.c /lxc/src/liblxc/state.c /lxc/src/liblxc/state.h /lxc/src/liblxc/stop.c /lxc/src/liblxc/utils.h /lxc/src/lxc/.cvsignore /lxc/src/lxc/Makefile.am /lxc/src/lxc/config.c /lxc/src/lxc/config.h /lxc/src/lxc/lxc-priority.c /lxc/src/lxc/lxc-ps.in /lxc/src/lxc/lxc_console.c /lxc/src/lxc/lxc_create.c /lxc/src/lxc/lxc_destroy.c /lxc/src/lxc/lxc_execute.c /lxc/src/lxc/lxc_freeze.c /lxc/src/lxc/lxc_kill.c /lxc/src/lxc/lxc_monitor.c /lxc/src/lxc/lxc_start.c /lxc/src/lxc/lxc_state.c /lxc/src/lxc/lxc_stop.c /lxc/src/lxc/lxc_unfreeze.c /lxc/test/.cvsignore /lxc/test/Makefile.am /lxc/test/conf.c /lxc/test/confile.c /lxc/test/dev.c /lxc/test/forward.c /lxc/test/ipv4_add.c /lxc/test/ipv6_add.c /lxc/test/lxc_create.c /lxc/test/lxc_destroy.c /lxc/test/lxc_monitor.c /lxc/test/lxc_start.c /lxc/test/lxc_state.c /lxc/test/lxc_stop.c /lxc/test/macvlan.c /lxc/test/movedev.c /lxc/test/proxy.c /lxc/test/tst_list.c /lxc/test/veth.c