Hello LXC developers!

As the subject says, I'm having some problems getting directories bind mounted 
inside containers. So, here's my container config:
lxc.rootfs = /var/lib/lxc/zero
lxc.mount.entry=/var/lib/lxc/zero_home /var/lib/lxc/zero/home none 
bind,ro,defaults 0 0 # added later hoping it'll work
lxc.mount = /etc/lxc/zero.fstab

and fstab:
none /var/lib/lxc/zero/dev/pts devpts defaults 0 0
none /var/lib/lxc/zero/proc proc defaults 0 0
none /var/lib/lxc/zero/sys sysfs defaults 0 0
none /var/lib/lxc/zero/dev/shm tmpfs defaults 0 0
/var/lib/lxc/zero_home /var/lib/lxc/zero/home none bind,rw,defaults 0 0 # also 
tried read-only

I have to mention /var/lib/lxc is a symlink. But this should not matter, right?
What am I doing wrong?

Sorin.


      
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to