- Implements mixed mode for /sys where it's mounted read-only but with /sys/devices/virtual/net/ writable. - Sets lxc.mount.auto to "cgroup:mixed proc:mixed sys:mixed" for all templates. - Drop any template-specific mount for /proc, /sys or /sys/fs/cgroup. - Get rid of the fstab file by default, using lxc.mount.entry instead. - Set sys:mixed as the default for "sys". sys:mixed is slightly more permissive than sys:ro so this shouldn't be a problem. The read-only bind mount of /sys on top of itself is there so that mountall and other init systems don't attempt to remount /sys read-write. v2 changes: - Fix the mount list, don't specify a source for the remount. - Update the documentation. Signed-off-by:Stéphane Graber <stgraber@ubuntu.com> Acked-by:
Serge E. Hallyn <serge.hallyn@ubuntu.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| common.conf.d | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| archlinux.common.conf.in | Loading commit data... | |
| archlinux.userns.conf.in | Loading commit data... | |
| centos.common.conf.in | Loading commit data... | |
| centos.userns.conf.in | Loading commit data... | |
| common.conf.in | Loading commit data... | |
| common.seccomp | Loading commit data... | |
| debian.common.conf.in | Loading commit data... | |
| debian.userns.conf.in | Loading commit data... | |
| fedora.common.conf.in | Loading commit data... | |
| fedora.userns.conf.in | Loading commit data... | |
| gentoo.common.conf.in | Loading commit data... | |
| gentoo.moresecure.conf.in | Loading commit data... | |
| gentoo.userns.conf.in | Loading commit data... | |
| opensuse.common.conf.in | Loading commit data... | |
| opensuse.userns.conf.in | Loading commit data... | |
| openwrt.common.conf.in | Loading commit data... | |
| oracle.common.conf.in | Loading commit data... | |
| oracle.userns.conf.in | Loading commit data... | |
| plamo.common.conf.in | Loading commit data... | |
| plamo.userns.conf.in | Loading commit data... | |
| ubuntu-cloud.common.conf.in | Loading commit data... | |
| ubuntu-cloud.lucid.conf.in | Loading commit data... | |
| ubuntu-cloud.userns.conf.in | Loading commit data... | |
| ubuntu.common.conf.in | Loading commit data... | |
| ubuntu.lucid.conf.in | Loading commit data... | |
| ubuntu.userns.conf.in | Loading commit data... | |
| userns.conf.in | Loading commit data... |