[lxc-devel] [lxc/lxc] b06b85: Automatic mounts: improvements for /proc and /sys

GitHub noreply at github.com
Fri Sep 27 15:14:39 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: b06b8511680c6263a05a9065a7cc3a031e503a6b
      https://github.com/lxc/lxc/commit/b06b8511680c6263a05a9065a7cc3a031e503a6b
  Author: Christian Seiler <christian at iwakd.de>
  Date:   2013-09-27 (Fri, 27 Sep 2013)

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

  Log Message:
  -----------
  Automatic mounts: improvements for /proc and /sys

Improve lxc.mount.auto code: allow the user to specify whether to mount
certain things read-only or read-write. Also make the code much more
easily extensible for the future.

Signed-off-by: Christian Seiler <christian at iwakd.de>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 5f62730e91c01937861b45646b00e570208217fc
      https://github.com/lxc/lxc/commit/5f62730e91c01937861b45646b00e570208217fc
  Author: Christian Seiler <christian at iwakd.de>
  Date:   2013-09-27 (Fri, 27 Sep 2013)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  Automatic mounting: write lxc.mount.auto in write_config

Signed-off-by: Christian Seiler <christian at iwakd.de>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 7997d7da4dfcaad50a0dcbcae8e0681bc5613f46
      https://github.com/lxc/lxc/commit/7997d7da4dfcaad50a0dcbcae8e0681bc5613f46
  Author: Christian Seiler <christian at iwakd.de>
  Date:   2013-09-27 (Fri, 27 Sep 2013)

  Changed paths:
    M src/lxc/cgroup.c
    M src/lxc/cgroup.h
    M src/lxc/conf.c

  Log Message:
  -----------
  Automatic mounting: add more ways to mount the cgroup filesystem

This adds quite a few more ways to mount the cgroup filesystem
automatically:

 - Specify ro/rw/mixed:
       - ro: everything mounted read-only
       - rw: everything mounted read-write
       - mixed: only container's own cgroup is rw, rest ro
          (default)
 - Add cgroup-full that mounts the entire cgroup tree to the
   corresponding directories. ro/rw/mixed also apply here.

Signed-off-by: Christian Seiler <christian at iwakd.de>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: a2ff31c71070f1f42b8e844a294577812284097b
      https://github.com/lxc/lxc/commit/a2ff31c71070f1f42b8e844a294577812284097b
  Author: Christian Seiler <christian at iwakd.de>
  Date:   2013-09-27 (Fri, 27 Sep 2013)

  Changed paths:
    M doc/lxc.conf.sgml.in

  Log Message:
  -----------
  Automatic mounting: document options in lxc.conf(5) manpage

Signed-off-by: Christian Seiler <christian at iwakd.de>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/211e51e81e7c...a2ff31c71070


More information about the lxc-devel mailing list