It's 0.7.3 on Gentoo ~amd64. I didn't upgrade to 0.7.4, yet..


________________________________
From: Daniel Lezcano <[email protected]>
To: panca sorin <[email protected]>
Cc: [email protected]
Sent: Wed, March 23, 2011 6:32:45 PM
Subject: Re: [Lxc-users] Bind mounts in container's fstab don't work if the 
directory is on the same device as rootfs

On 03/23/2011 05:26 PM, panca sorin wrote:
> 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?
>
What version are you using ?



      
------------------------------------------------------------------------------
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