Re: Could not mount sysfs when enable userns but disable netns

2014-07-14 Thread Eric W. Biederman
ntu.com); Greg >> Kroah-Hartman; contain...@lists.linux-foundation.org; >> linux-kernel@vger.kernel.org >> Subject: Re: Could not mount sysfs when enable userns but disable netns >> >> "Serge E. Hallyn" writes: >> >> > Quoting chenhanx...@cn.fujitsu.

RE: Could not mount sysfs when enable userns but disable netns

2014-07-14 Thread chenhanx...@cn.fujitsu.com
rg; > linux-kernel@vger.kernel.org > Subject: Re: Could not mount sysfs when enable userns but disable netns > > "Serge E. Hallyn" writes: > > > Quoting chenhanx...@cn.fujitsu.com (chenhanx...@cn.fujitsu.com): > >> Hello, > >> > >> How to re

Re: Could not mount sysfs when enable userns but disable netns

2014-07-11 Thread Eric W. Biederman
"Serge E. Hallyn" writes: > Quoting chenhanx...@cn.fujitsu.com (chenhanx...@cn.fujitsu.com): >> Hello, >> >> How to reproduce: >> 1. Prepare a container, enable userns and disable netns >> 2. use libvirt-lxc to start a container >> 3. libvirt could not mount sysfs then failed to start. >> >> Th

Re: Could not mount sysfs when enable userns but disable netns

2014-07-11 Thread Serge E. Hallyn
Quoting chenhanx...@cn.fujitsu.com (chenhanx...@cn.fujitsu.com): > Hello, > > How to reproduce: > 1. Prepare a container, enable userns and disable netns > 2. use libvirt-lxc to start a container > 3. libvirt could not mount sysfs then failed to start. > > Then I found that > commit 7dc5dbc879bd0