Linux Container Development
 help / color / mirror / Atom feed
* nfsd and containers
@ 2009-01-04  2:54 J. Bruce Fields
       [not found] ` <20090104025415.GF24075-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: J. Bruce Fields @ 2009-01-04  2:54 UTC (permalink / raw)
  To: containers-qjLDD68F18O7TbgM5vRIOg

Does anyone have any ideas about how the kernel's nfsd should interact
(if at all) with network namespaces?

I'm initially interested because I've been experimenting with modifying
the server to allow it to present different exported filesystems
depending on which ip address it's accessed through.  One way to do that
might be by modifying the kernel to behave as though there's a separate
nfsd service per network namespace; then we'd need little or no
modification of the userspace support daemons (statd, the portmapper,
etc.)--just start multiple instances of them in separate network
namespaces and teach the kernel to route requests to them to the
corresponding loopback interface.  (That would work at least for daemons
that communicate with the kernel exclusively using rpc over loopback.
We could perhaps do something similar with the various /proc and nfsctl
interfaces.)

I'm also curious more generally whether anyone's thought about how nfsd 
should behave in the presence of containers.

(Also, I take it the sysfs problem described in
http://lwn.net/Articles/295587/ is still unsolved?)

--b.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-06 15:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-04  2:54 nfsd and containers J. Bruce Fields
     [not found] ` <20090104025415.GF24075-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
2009-01-05 16:40   ` Serge E. Hallyn
     [not found]     ` <20090105164016.GA8746-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-01-05 22:55       ` Matt Helsley
2009-01-06 15:41         ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox