From: Liam Helmer (linuxlists_at_thevenue.org)
Date: Thu 12 Aug 2004 - 23:04:43 BST
I have made a patch to allow you to use a vserver within a virtual
context but without a chbind, updated for the new vserver utils. I can
post it up if you like.
But, either way, your ideal is probably not running a service that uses
direct kernel access (like nfsd) within a vserver. You might want to
look at sometihng like this:
On Thu, 2004-08-12 at 14:35, Herbert Poetzl wrote:
> On Thu, Aug 12, 2004 at 10:58:09PM +0200, Bernhard Duebi wrote:
> > On Mon, 2004-08-09 at 15:15, Herbert Poetzl wrote:
> > > On Mon, Aug 09, 2004 at 03:04:48PM +0200, bernhard.duebi_at_schweiz.ch wrote:
> > > > Hi,
> > > >
> > > > I managed to install SuSE Linux 9.1 in a VServer. Now I try to run a NFS Server with this VServer, but no luck.
> > > > I was googling for a solution, but havent found much help.
> > > > I run Kernel 2.6.6 with VServer 1.9.1 and util-vserver-0.29.214.
> > > > I configured two interfaces for the VServer: lo 127.4.0.1/8, eth0 10.13.2.133/23
> > > > There is no portmap running on the host or other VServers.
> > > > The /etc/hosts.allow looks like "portmap: ALL"
> > > > There are no capabilities set for this Vserver.
> > > >
> > > > Any idea what's wrong ?
> > >
> > > userspace or kernel space nfs? (latter one might work
> > > with recent patches (1.9.2-rc10 or 126.96.36.199)
> > I don't think that kernel nfsd is a good idea, though I don't care if
> > works or not.
> hmm, noted ... ;)
> > > > Aug 9 13:36:00 vsztslp02 portmap: SIOCGIFADDR: Cannot assign requested address
> > > > Aug 9 13:36:00 vsztslp02 portmap: cannot find any active local network interfaces
> > > > Aug 9 13:36:00 vsztslp02 mountd: unable to register (mountd, 1, udp).
> > I tried user space nfsd from suse and from debian,
> > but none of them work.
> hmm ... interesting ...
> > I think it has has something to do with chbind.
> might be ...
> > Why doesn't ifconfig show any IP addresses in a vserver?
> hmm, probably because you (somebody) haven't (hasn't)
> configured the vserver to use any IP ...
> > Cheers
> > Bernhard
> > _______________________________________________
> > Vserver mailing list
> > Vserver_at_list.linux-vserver.org
> > http://list.linux-vserver.org/mailman/listinfo/vserver
> Vserver mailing list
Vserver mailing list