[lxc-devel] [PATCH 1/1] ubuntu templates: add some kernel filesystems to container fstab

2013-07-17 Thread Serge Hallyn
The debugfs, fusectl, and securityfs may not be mounted inside a non-init userns. But mountall hangs waiting for them to be mounted. So just pre-mount them using $lxcpath/$name/fstab as bind mounts, which will prevent mountall from trying to mount them. If the kernel doesn't provide them, then t

Re: [lxc-devel] [PATCH 1/1] ubuntu templates: add some kernel filesystems to container fstab

2013-07-17 Thread Stéphane Graber
On Wed, Jul 17, 2013 at 09:41:43AM -0500, Serge Hallyn wrote: > The debugfs, fusectl, and securityfs may not be mounted inside a > non-init userns. But mountall hangs waiting for them to be > mounted. So just pre-mount them using $lxcpath/$name/fstab as > bind mounts, which will prevent mountall

Re: [lxc-devel] [PATCH 1/1] ubuntu templates: add some kernel filesystems to container fstab

2013-07-17 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > On Wed, Jul 17, 2013 at 09:41:43AM -0500, Serge Hallyn wrote: > > The debugfs, fusectl, and securityfs may not be mounted inside a > > non-init userns. But mountall hangs waiting for them to be > > mounted. So just pre-mount them using $lxcpath/$na