[pve-devel] [PATCH] Apply options lxc.rootfs
Dietmar Maurer
dietmar at proxmox.com
Sat Jan 9 17:34:55 CET 2016
Interesting, but only works for rootfs. What about other mountpoints?
Also, I am not sure if we want to allow/pass arbitrary mount options. This
would mean only root can do it for security reasons.
So maybe we can add a set of additional attributes to our mountpoint parser
instead?
> On January 9, 2016 at 4:27 PM Gerrit Venema <gmoniker at gmail.com> wrote:
>
>
> This patch applies options set in lxc.rootfs.options in a container config
> to the mount operation of the rootfs of a LXC container.
>
> The following restriction applies:
> Options are applied only if the root is a read/write loopback device
> or the root is a plain device. With a bind mount there is no easy way
> to reset the mount options afterwards, and unwanted effects may remain
> in the host after shutting down the container.
>
> Gerrit Venema (1):
> [FEATURE] Apply the options of lxc.rootfs.options on rootfs.
>
> src/PVE/LXC.pm | 13 +++++++++++--
> 1 file changed, 11 insertions(+), 2 deletions(-)
>
> --
> 2.1.4
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
More information about the pve-devel
mailing list