<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Hello LXC developers!</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">As the subject says, I'm having some problems getting directories bind mounted inside containers. </font><span class="Apple-style-span" style="font-family: 'times new roman', 'new york', times, serif; ">So, here's my container config:</span></div><div><span class="Apple-style-span" style="font-family: 'times new roman', 'new york', times, serif; ">lxc.rootfs = /var/lib/lxc/zero</span></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times,
serif"><div>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</div><div>lxc.mount = /etc/lxc/zero.fstab</div><div><br></div><div>and fstab:</div><div><div>none /var/lib/lxc/zero/dev/pts devpts defaults 0 0</div><div>none /var/lib/lxc/zero/proc proc defaults 0 0</div><div>none /var/lib/lxc/zero/sys sysfs defaults 0 0</div><div>none /var/lib/lxc/zero/dev/shm tmpfs defaults 0 0</div><div>/var/lib/lxc/zero_home /var/lib/lxc/zero/home none bind,rw,defaults 0 0 # also tried read-only</div></div><div><br></div><div>I have to mention /var/lib/lxc is a symlink. But this should not matter, right?</div><div>What am I doing wrong?</div><div><br></div><div>Sorin.</div></font></div><div style="position: fixed; color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "></div>
</div><br>
</body></html>