Re: [RFC][PATCH 0/9] Make containers kernel objects

From: Ian Kent
Date: Tue May 23 2017 - 06:35:44 EST


On Mon, 2017-05-22 at 12:21 -0700, James Bottomley wrote:
>
> > > > Â(3) nfsdcltrack.ÂÂA way for NFSD to access stable storage forÂ
> > > > tracking of persistent state.ÂÂAgain, network-namespaceÂ
> > > > dependent, but also perhaps mount-namespace dependent.
> >
> > Definitely mount-namespace dependent.
> >
> > >
> > > So again, given we can set this up to work today, this sounds likeÂ
> > > more a restriction that will bite us than an enhancement that givesÂ
> > > us extra features.
> > >
> >
> > How do you set this up to work today?
>
> Well, as above, it spawns into the root, you jump it to where it should
> be and re-execute or simply handle in the host.Â
>
> > AFAIK, if you want to run knfsd in a container today, you're out ofÂ
> > luck for any non-trivial configuration.
>
> Well "running knfsd in a container" is actually different from having a
> containerised nfs export.ÂÂMy understanding was that thanks to the work
> of Stas Kinsbursky, the latter has mostly worked since the 3.9 kernel
> for v3 and below.ÂÂI assume the current issue is that there's a problem
> with v4?

Oh, ok, I thought that, say, a docker (NFS) volumes-from a container to another
container didn't work for any version of NFS.

Certainly didn't work last time I tried, it was a while ago though.

Ian