[lxc-devel] [lxc/lxc] a61848: plamo: Change how to create objects under /dev in ...

GitHub noreply at github.com
Sun Feb 8 16:09:00 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: a61848fe21a883720b3bf078c6ac7c2afe338030
      https://github.com/lxc/lxc/commit/a61848fe21a883720b3bf078c6ac7c2afe338030
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2015-02-08 (Sun, 08 Feb 2015)

  Changed paths:
    M config/templates/plamo.common.conf.in
    M templates/lxc-plamo.in

  Log Message:
  -----------
  plamo: Change how to create objects under /dev in the container

lxc-plamo stop:
* creating objects under /dev when creating the container
* removing /dev population process from original rc script

now populate /dev at container boot time, and allow to enable
lxc.autodev=1

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 96fe6d1d9c1e2db233a3c4501b5beaabd4d54209
      https://github.com/lxc/lxc/commit/96fe6d1d9c1e2db233a3c4501b5beaabd4d54209
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2015-02-08 (Sun, 08 Feb 2015)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  Process command line is null terminated

It turns out the process command line is in fact null terminated on the stack;
this caused a bug where when the new process title was smaller than the old
one, the first environment entry would be rendered as part of the process
title.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 24ab0d34048f80c1419843fa007cac581855749d
      https://github.com/lxc/lxc/commit/24ab0d34048f80c1419843fa007cac581855749d
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-02-08 (Sun, 08 Feb 2015)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  proc:mixed make /proc/sys/net writable

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


  Commit: b88ff9a0e33e7220d0c2b7059706c492200e4c2b
      https://github.com/lxc/lxc/commit/b88ff9a0e33e7220d0c2b7059706c492200e4c2b
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-02-08 (Sun, 08 Feb 2015)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  In lxc.mount.auto, skip on ENONENT

This resolves the case where /proc/sysrq-trigger doesn't exist by simply
ignoring any mount failure on ENOENT. With the current mount list, this
will always result in a safe environment (typically the read-only
underlay).

Closes #425

v2: Don't always show an error

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


Compare: https://github.com/lxc/lxc/compare/73c1c8871478...b88ff9a0e33e


More information about the lxc-devel mailing list