[lxc-devel] [lxc/lxc] c8ad5f: api change: default container->daemonize to true

GitHub noreply at github.com
Tue Jan 14 21:26:29 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: c8ad5f4623bb5e61b1065047a22b90182daa2e66
      https://github.com/lxc/lxc/commit/c8ad5f4623bb5e61b1065047a22b90182daa2e66
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-14 (Tue, 14 Jan 2014)

  Changed paths:
    M src/lxc/lxc_start.c
    M src/lxc/lxccontainer.c
    M src/tests/startone.c

  Log Message:
  -----------
  api change: default container->daemonize to true

Pretty much the only case where we do NOT want to daemonize
a container start is lxc-start.  So make c->daemonize true
by default, and have lxc-start set it to false.

If there are existing API users who rely on daemonize by
default, then they will be broken by this.  It seems we should
do this before beta1 if we're going to do it.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>




More information about the lxc-devel mailing list