Re: [lxc-devel] Probably more of a user list than a devel lis question but ...

2014-05-08 Thread Michael J Coss
On 5/8/2014 9:41 AM, Serge Hallyn wrote: Probably only means that you have a mtab file and should use mount -n. Agreed. This is not mysterious. You're mounting sysfs under /etc/lxc/xxx/sys from lxc.clone.mount hook. This won't show up on the host bc you're already in a new ns. Next lxc will

Re: [lxc-devel] Probably more of a user list than a devel lis question but ...

2014-05-08 Thread Serge Hallyn
Quoting Michael J Coss (michael.c...@alcatel-lucent.com): > On 5/7/2014 5:33 PM, Serge Hallyn wrote: > >http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/ > >says that if /sys is pre-mounted readonly , then systemd will not > >mount it. But of course if it's empty i could easily s

Re: [lxc-devel] Probably more of a user list than a devel lis question but ...

2014-05-07 Thread Michael J Coss
On 5/7/2014 5:33 PM, Serge Hallyn wrote: http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/ says that if /sys is pre-mounted readonly , then systemd will not mount it. But of course if it's empty i could easily see systemd hanging... i defer to our systemd experts for a few mo

Re: [lxc-devel] Probably more of a user list than a devel lis question but ...

2014-05-07 Thread Serge Hallyn
Quoting Michael J Coss (michael.c...@alcatel-lucent.com): > On 5/7/2014 3:38 PM, Serge Hallyn wrote: > >1) mount a new instance of sysfs within the nework/process namespace > >of the container on some host mount point > >Why on a host mount point, out of curiosity? > I really don't want the "real"

Re: [lxc-devel] Probably more of a user list than a devel lis question but ...

2014-05-07 Thread Michael J Coss
On 5/7/2014 3:38 PM, Serge Hallyn wrote: 1) mount a new instance of sysfs within the nework/process namespace of the container on some host mount point Why on a host mount point, out of curiosity? I really don't want the "real" container /sys to be directly accessible within the container's cont

Re: [lxc-devel] Probably more of a user list than a devel lis question but ...

2014-05-07 Thread Serge Hallyn
Quoting Michael J Coss (michael.c...@alcatel-lucent.com): > I've been working on a sysfs FUSE to change what the container sees, > and I need to get it mounted at the right time, in the right > location. I run on Gentoo, and the only ebuild available is for > 0.8.0, so I put together ebuilds for 1

[lxc-devel] Probably more of a user list than a devel lis question but ...

2014-05-07 Thread Michael J Coss
I've been working on a sysfs FUSE to change what the container sees, and I need to get it mounted at the right time, in the right location. I run on Gentoo, and the only ebuild available is for 0.8.0, so I put together ebuilds for 1.0.3 with the hopes that the hooks provided in the 1.0.3 would