[lxc-devel] [lxc/lxc] 015f0d: lxc-autostart: rework boot and group handling

GitHub noreply at github.com
Tue Jun 3 15:10:09 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 015f0dd7924d27aeb2f16bb0c4d243f3fd93e94b
      https://github.com/lxc/lxc/commit/015f0dd7924d27aeb2f16bb0c4d243f3fd93e94b
  Author: Michael H. Warfield <mhw at WittsEnd.com>
  Date:   2014-06-03 (Tue, 03 Jun 2014)

  Changed paths:
    M .gitignore
    M config/init/systemd/Makefile.am
    R config/init/systemd/lxc.service
    A config/init/systemd/lxc.service.in
    R config/init/sysvinit/lxc
    A config/init/sysvinit/lxc.in
    M config/init/upstart/lxc.conf
    M configure.ac
    M doc/lxc-autostart.sgml.in
    M doc/lxc.container.conf.sgml.in
    M lxc.spec.in
    M src/lxc/lxc_autostart.c

  Log Message:
  -----------
  lxc-autostart: rework boot and group handling

This adds new functionality to lxc-autostart.

*) The -g / --groups option is multiple cummulative entry.
	This may be mixed freely with the previous comma separated
	group list convention.  Groups are processed in the
	order they first appear in the aggregated group list.

*) The NULL group may be specified in the group list using either a
	leading comma, a trailing comma, or an embedded comma.

*) Booting proceeds in order of the groups specified on the command line
	then ordered by lxc.start.order and name collalating sequence.

*) Default host bootup is now specified as "-g onboot," meaning that first
	the "onboot" group is booted and then any remaining enabled
	containers in the NULL group are booted.

*) Adds documentation to lxc-autostart for -g processing order and
	combinations.

*) Parameterizes bootgroups, options, and shutdown delay in init scripts
	and services.

*) Update the various init scripts to use lxc-autostart in a similar way.

Reported-by: CDR <venefax at gmail.com>
Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Signed-off-by: Michael H. Warfield <mhw at WittsEnd.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>




More information about the lxc-devel mailing list