Re: [libvirt] [PATCH v2 1/2] LXC: fix the problem that libvirt lxc fail to start on latest kernel

2013-11-26 Thread Daniel P. Berrange
On Wed, Nov 20, 2013 at 10:11:08AM +0800, Gao feng wrote: > After kernel commit 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942 > vfs: Lock in place mounts from more privileged users, > > unprivileged user has no rights to move the mounts that > inherited from parent mountns. we use this feature to move

[libvirt] [PATCH v2 1/2] LXC: fix the problem that libvirt lxc fail to start on latest kernel

2013-11-19 Thread Gao feng
After kernel commit 5ff9d8a65ce80efb509ce4e8051394e9ed2cd942 vfs: Lock in place mounts from more privileged users, unprivileged user has no rights to move the mounts that inherited from parent mountns. we use this feature to move the /stateDir/domain-name.{dev, devpts} to the /dev/ and /dev/pts di