[lxc-devel] [lxc/lxc] f6d9b7: init: become session leader

GitHub noreply at github.com
Wed Oct 11 20:21:56 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: f6d9b7d50ea6919631cf061014600bab357e9488
      https://github.com/lxc/lxc/commit/f6d9b7d50ea6919631cf061014600bab357e9488
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-10-10 (Tue, 10 Oct 2017)

  Changed paths:
    M src/lxc/tools/lxc_init.c

  Log Message:
  -----------
  init: become session leader

Before exec()ing we need to become session leader otherwise some shells will
not be able to correctly initialize job control.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: a6f151a7ce1c67f75663e9f23a1ae6e691443d15
      https://github.com/lxc/lxc/commit/a6f151a7ce1c67f75663e9f23a1ae6e691443d15
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-10-10 (Tue, 10 Oct 2017)

  Changed paths:
    M src/lxc/Makefile.am
    M src/lxc/execute.c
    M src/lxc/initutils.c
    M src/lxc/initutils.h
    M src/lxc/lxccontainer.c
    M src/lxc/tools/lxc_init.c
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  init: rework dumb init

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 70e1f27e0bc2fd15e6a702a4b75e92b0a82e0857
      https://github.com/lxc/lxc/commit/70e1f27e0bc2fd15e6a702a4b75e92b0a82e0857
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2017-10-11 (Wed, 11 Oct 2017)

  Changed paths:
    M src/lxc/Makefile.am
    M src/lxc/execute.c
    M src/lxc/initutils.c
    M src/lxc/initutils.h
    M src/lxc/lxccontainer.c
    M src/lxc/tools/lxc_init.c
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  Merge pull request #1851 from brauner/2017-10-10/setsid_for_mini_init

init: rework dumb init


Compare: https://github.com/lxc/lxc/compare/eb4ca13d26dd...70e1f27e0bc2


More information about the lxc-devel mailing list