About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 23 Sep 2004 - 18:14:49 BST


On Thu, Sep 23, 2004 at 01:44:39PM +0200, Bernhard Duebi wrote:
> On Mon, 2004-09-20 at 23:21, Herbert Poetzl wrote:
> > >
> > > portmapper:
> > > I tried to run user-space-nfsd in a vserver, but no luck.
> > > I tried with 2.6.6-vs1.9.1/0.29.2?? and 2.6.8.1-vs1.9.2/0.30.193, always
> > > same result. My host is a SuSE 9.1 and vservers are debian, fc2 and SuSE
> > > 9.1. I don't know what the problem is, but portmapper is not even able
> > > to register itself.
> >
> > hmm, portmapper and user-space nfsd? how's that?
>
> nfs is a rpc service and needs portmapper to register
>
> > anyway, giver sufficient caps, this should
> > be possible .. not advisable though ... if
> > you want to track it down, let me know ...
>
> It's not a problem with caps. I tried net_admin and sys_admin caps, but
> no luck. It seems chbind is the problem.
> I already reported it to list, but no one could help me. I don't
> remember the exact error message, but it was something like "no valid
> interface found". If I do ifconfig -a I see the interfaces but no IP
> address attached to it. My guess was that this confuses portmapper. But
> I'm no programmer to track this down.

> You can easely reproduce it. Just start portmapper within a vserver and
> you see two lines in /var/log/messages

well, tested here with 1.9.2.29, and the portmapd
(mandrake) starts fine inside a vserver with limited
IPs (chbind) ...

you can also 'remove' or not set the VXF_HIDE_NETIF
to make _all_ interfaces visible to a vserver
(without givin any additional caps)

HTH,
Herbert

> > > Hope this helps.
> > > Cheers
> > > Bernhard
>
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 23 Sep 2004 - 18:15:03 BST by hypermail 2.1.3