[lxc-devel] [lxc/lxc] 6e5433: conf: introduce lxc.rootfs.managed

GitHub noreply at github.com
Thu Aug 30 06:28:11 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 6e54330c46bdfedaedbf4b677e557d550bdcb276
      https://github.com/lxc/lxc/commit/6e54330c46bdfedaedbf4b677e557d550bdcb276
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-07-31 (Tue, 31 Jul 2018)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/confile.c
    M src/lxc/confile_utils.c
    M src/lxc/confile_utils.h
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  conf: introduce lxc.rootfs.managed

This introduces a new config key lxc.rootfs.managed which can be used to
indicate whether this LXC instance is managing the container storage. If LXC is
not managing the storage then LXC will not modify the container storage.
For example, an API call to c->destroy(c) will then run any destroy hooks but
will not destroy the actual rootfs (Unless, of course, the hook does so behind
LXC's back.).

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
CC: Wolfgang Bumiller <w.bumiller at proxmox.com>
CC: Stéphane Graber <stgraber at ubuntu.com>
CC: Serge Hallyn <serge at hallyn.com>
CC: 2xsec <dh48.jeong at samsung.com>


  Commit: 2a6d08c6e196f67b06e7eda3d63e7647d5b9e34e
      https://github.com/lxc/lxc/commit/2a6d08c6e196f67b06e7eda3d63e7647d5b9e34e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-07-31 (Tue, 31 Jul 2018)

  Changed paths:
    M src/tests/parse_config_file.c

  Log Message:
  -----------
  tests: cleanup get_item.c

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


  Commit: 6e0045bdd83516c15d862a5433572308854c302a
      https://github.com/lxc/lxc/commit/6e0045bdd83516c15d862a5433572308854c302a
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-07-31 (Tue, 31 Jul 2018)

  Changed paths:
    M src/tests/parse_config_file.c

  Log Message:
  -----------
  tests: add lxc.rootfs.managed test

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


  Commit: 6b28940591a22863c6d8ffd5459c0ee927527cd7
      https://github.com/lxc/lxc/commit/6b28940591a22863c6d8ffd5459c0ee927527cd7
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2018-08-30 (Thu, 30 Aug 2018)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/confile.c
    M src/lxc/confile_utils.c
    M src/lxc/confile_utils.h
    M src/lxc/lxccontainer.c
    M src/tests/parse_config_file.c

  Log Message:
  -----------
  Merge pull request #2435 from brauner/2018-06-27/storage_managed

[RFC] conf: introduce lxc.rootfs.managed


Compare: https://github.com/lxc/lxc/compare/7cba1a272991...6b28940591a2
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the lxc-devel mailing list