[lxc-devel] [lxc/lxc] d6eca2: conffile.c: Also clear text entries with no value

GitHub noreply at github.com
Fri Dec 6 16:21:59 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: d6eca24027daa2a379f6bd2c0f50093a08d4df1d
      https://github.com/lxc/lxc/commit/d6eca24027daa2a379f6bd2c0f50093a08d4df1d
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2013-12-06 (Fri, 06 Dec 2013)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  conffile.c: Also clear text entries with no value

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


  Commit: 34cfffb38566a9b212db62b1abb1a13bc0648779
      https://github.com/lxc/lxc/commit/34cfffb38566a9b212db62b1abb1a13bc0648779
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2013-12-06 (Fri, 06 Dec 2013)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  Add support for new create=(dir,file) mount option

Just like we already had "optional", this adds two new LXC-specific
mount flags:
 - create=dir (will do a mkdir_p on the path)
 - create=file (will do a mkdir_p on the dirname + a fopen on the path)

This was motivated by some of the needed bind-mounts for the
unprivileged containers.

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


  Commit: f2a95ee1bf54c949614a68bf152ea9a8e1d3a172
      https://github.com/lxc/lxc/commit/f2a95ee1bf54c949614a68bf152ea9a8e1d3a172
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2013-12-06 (Fri, 06 Dec 2013)

  Changed paths:
    M config/Makefile.am
    R config/default.conf.libvirt
    R config/default.conf.ubuntu
    R config/default.conf.unknown
    A config/etc/Makefile.am
    A config/etc/default.conf.libvirt
    A config/etc/default.conf.ubuntu
    A config/etc/default.conf.unknown
    A config/templates/Makefile.am
    A config/templates/ubuntu-cloud.common.conf.in
    A config/templates/ubuntu-cloud.lucid.conf.in
    A config/templates/ubuntu-cloud.userns.conf.in
    A config/templates/ubuntu.common.conf.in
    A config/templates/ubuntu.lucid.conf.in
    M configure.ac
    M src/lxc/lxccontainer.c
    M templates/lxc-ubuntu-cloud.in
    M templates/lxc-ubuntu.in

  Log Message:
  -----------
  Move some common Ubuntu config

This introduces a new /usr/share/lxc/config directory containing common
configuration snippets.

The two Ubuntu templates are then simplified to just include the
relevant entries avoiding a whole lot of hardcoded cgroup, capabilities
and mount points configuration.

An extra comment is also added at the top of all generated configuration
files telling the user to look at lxc.conf(5) for more information.

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/53251299b884...f2a95ee1bf54


More information about the lxc-devel mailing list