History log of /lxc/config/init/common/lxc-containers.in
Revision Date Author Comments Expand
a9b74be6989d73c2fc00954f05088ed944196b74 04-Apr-2017 Torsten Fohrer <tfohrer@googlemail.com>

Avoid waiting for bridge interface if disabled in sysconfig/lxc | lxc-net via USE_LXC_BRIDGE Signed-off-by: Torsten Fohrer <tfohrer@googlemail.com>

0391995a3c5a9255c8a366bec9599f456a16374a 20-Mar-2017 Stéphane Graber <stgraber@ubuntu.com>

Fix mixed tab/spaces in previous patch Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>

215fff92e49f2a183db01403023052d632acbf64 20-Mar-2017 Harald Dunkel <harald.dunkel@aixigo.de>

Fix lxc-containers to support multiple bridges Signed-off-by: Harald Dunkel <harald.dunkel@aixigo.de>

e145bd47c61af60b6239532c1f3d0a8d18f21cd2 13-Jul-2015 Alex Punco <punco@selectel.ru>

fix container creation from ansible lxc_containers module Signed-off-by: Alex Punco <punco@selectel.ru>

f422613e6941580a6e3559e062be0052ba95b76b 06-Oct-2014 Joshua Brunner <j.brunner@nexbyte.com>

fix: grep not match interface listed by `ip link list` Interfaces listed by `ip link list` are prefixed with the index identifier. The pattern "^$BRNAME" does not match. - dependencies to ifconfig and ip removed - wait until interface flagged with IFF_UP Ref: https://github.com/torvalds/linux/blob/master/include/uapi/linux/if.h Signed-off-by: Joshua Brunner <j.brunner@nexbyte.com>

fce070c815604e863f4628ecceb172ffdbbb2465 29-Sep-2014 Dwight Engen <dwight.engen@oracle.com>

fixups to init script rework - move action() from common to sysvinit wrapper since its only really applicable for sysvinit and not the other init systems - fix bug in action() fallback, need to shift away msg before executing action - make lxc-net 98 so it starts before lxc-container (99), otherwise the lxcbr0 won't be available when containers are autostarted - make the default RUNTIME_PATH be /var/run instead of /run. On older distros (like ol6.5) /run doesn't exist. lxc-net will create this directory and attempt to create the dnsmasq.pid file in it, but this will fail when SELinux is enabled because the directory will have the default_t type. Newer systems have /var/run symlinked to /run so you get to the same place in that case. - add %postun to remove lxc-dnsmasq user when pkgs are removed - fix bug in lxc-oracle template that was creating /var/lock/subsys/lxc as a dir and interfering with the init scripts Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

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>