On Tue, Mar 10, 2015 at 7:43 PM, Marco <[email protected]> wrote: > Hi, > I'm experiencing issues while trying to share an host path or filesystem as > read only to guests (read only bind-mounts). > > Host: Debian 8 Jessie > Linux deb 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt4-3 (2015-02-03) x86_64 > GNU/Linux > > LXC: stock, 1.0.6-6 > Guest: Debian 8 (no systemd) > Filesystem on host: ext4
> Well, the guest correctly bind-mounts the host path, but mounts it as > read-write. Works for me on ubuntu. Try upgrading lxc root@v:~# touch /host/etc/test touch: cannot touch ‘/host/etc/test’: Read-only file system on config file: lxc.mount.entry = /etc host/etc auto bind,ro,create=dir 0 0 ubuntu 14.10, lxc 1.1.0+master~20150224-0137-0ubuntu1~utopic from ppa:ubuntu-lxc/daily -- Fajar _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
