Quoting Xavier Garcia (xag...@xnaove.com): > 2012/4/20 Serge Hallyn <serge.hal...@canonical.com> > > > Quoting Xavier Garcia (xag...@xnaove.com): > > > 2012/4/20 Serge Hallyn <serge.hal...@canonical.com> > > > > > > > Quoting Xavier Garcia (xag...@xnaove.com): > > > > > > I don't think patches to make nfs work right in containers have > > ever > > > > > >> made it in. I'd recommend mounting the filesystem someplace on > > the > > > > > >> host, then bind-mounting them into the container through a > > > > > >> lxc.mount.entry. > > > > > > > > > > > > > > > > > lxc.mount.entry doesn't work with any host directory that I try. > > > > > > > > Please show me an example (cut and pasted) of one which failed. > > > > > > > > > If I disable apparmor containers refuse to start. > > > > Can you tell me exactly how you disabled apparmor? > > > > Making a symlink of /etc/apparmor.d/lxc-containers in > /etc/apparmor.d/disable/ directory > > The mounting in mnt it's working !!! > I try to mount inside /mnt/srs or other name but only works with plain > mnt....
Heh, see https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/986385, it's because lxc by default uses /mnt as the oldroot dir for pivot_root. I'm going to change that to using a tempdir (unless Daniel has a good reason not to), but in the meantime if you really want to mount under /mnt/series, you can specify a custom lxc.pivotdir in the container's config file. -serge ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users