Re: [libvirt] [PATCH 1/4] Mount fresh instance of sysfs/selinux in LXC

2012-05-14 Thread Eric Blake
On 05/11/2012 10:48 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Currently to make sysfs readonly, we remount the existing > instance and then bind it readonly. Unfortunately this means > sysfs is still showing device objects wrt the host OS namespace. > We need it to reflect th

[libvirt] [PATCH 1/4] Mount fresh instance of sysfs/selinux in LXC

2012-05-11 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Currently to make sysfs readonly, we remount the existing instance and then bind it readonly. Unfortunately this means sysfs is still showing device objects wrt the host OS namespace. We need it to reflect the container namespace, so we must mount a completely new insta