[Vserver] Cannot set defaultroute under vserver

2004-10-22 Thread TK Lew
hi : I can't seem to set the defaultroute under vserver. Get error message "Operation not permitted". I have put a .conf under /etc/vserver but when running "vserver start" is not reading this config file. I added "CAP_SYS_ADMIN=yes" in the config file. Thank for any reply. Cheers ___

Re: [Vserver] Cannot set defaultroute under vserver

2004-10-22 Thread Luc Dumaine
On 22.10.2004 10:37, TK Lew wrote: hi : I can't seem to set the defaultroute under vserver. Get error message "Operation not permitted". I have put a .conf under /etc/vserver but when running "vserver start" is not reading this config file. I added "CAP_SYS_ADMIN=yes" in the config file. the capab

Re: [Vserver] Cannot set defaultroute under vserver

2004-10-22 Thread Thomas Gelf
it is not possible to set a per-vserver default route. there will be only one default route on your host unless you are using policy-based routing tables. if you are going to allow CAP_NET_ADMIN to a vserver and trying to set a new defaultroute from there you will change the hosts routing table!

Re: [Vserver] Cannot set defaultroute under vserver

2004-10-22 Thread Allen Parker
you really shouldn't give vps's CAP_SYS_ADMIN anyway, just fix the route from the host box. On Fri, 22 Oct 2004 11:24:26 +0200, Luc Dumaine <[EMAIL PROTECTED]> wrote: > On 22.10.2004 10:37, TK Lew wrote: > > hi : > > > > I can't seem to set the defaultroute under vserver. Get error message > > "O

Re: [Vserver] Cannot set defaultroute under vserver

2004-10-22 Thread Allen Parker
Let me be a little more clear: if you need a specific route for a specific network, see man route if you've got a vps responding on a different interface from the default host, you might want to set the interface for the vps as the default interface for that particular vps by: route add -host vps.i

Re: [Vserver] Cannot set defaultroute under vserver

2004-10-22 Thread Herbert Poetzl
On Fri, Oct 22, 2004 at 04:37:20PM +0800, TK Lew wrote: > hi : > > I can't seem to set the defaultroute under vserver. Get error message > "Operation not permitted". which is actually a Good Thing (TM) as you do not want the vserver to mess with your routing tables see http://www.linux-vserver.

Re: Abwesenheitsnotiz: [Vserver] Cannot set defaultroute under vserve r

2004-10-22 Thread Allen Parker
Traurig, spreche ich nicht deutsch. Nur englisch. On Fri, 22 Oct 2004 15:24:43 +0200, Reichl, EE 512 extern, BN <[EMAIL PROTECTED]> wrote: > Sehr geehrte Damen und Herren, > > aufgrund einer Dienstreise bin ich erst am 25.10.2004 wieder im Büro. Meine > Mails werden nicht weitergeleitet. In dri

Re: Abwesenheitsnotiz: [Vserver] Cannot set defaultroute under vserve r

2004-10-22 Thread Herbert Poetzl
On Fri, Oct 22, 2004 at 01:25:44PM -0800, Allen Parker wrote: > Traurig, spreche ich nicht deutsch. Nur englisch. > > On Fri, 22 Oct 2004 15:24:43 +0200, Reichl, EE 512 extern, BN > <[EMAIL PROTECTED]> wrote: > > Sehr geehrte Damen und Herren, > > > > aufgrund einer Dienstreise bin ich erst am 2

Re: Abwesenheitsnotiz: [Vserver] Cannot set defaultroute under vserve r

2004-10-22 Thread Allen Parker
thanks herbert ;-) On Fri, 22 Oct 2004 23:47:05 +0200, Herbert Poetzl <[EMAIL PROTECTED]> wrote: > On Fri, Oct 22, 2004 at 01:25:44PM -0800, Allen Parker wrote: > > > > Traurig, spreche ich nicht deutsch. Nur englisch. > > > > On Fri, 22 Oct 2004 15:24:43 +0200, Reichl, EE 512 extern, BN > > <

Re: [Vserver] Kernel 2.6.8.1 and Vserver 1.92

2004-10-22 Thread Liam Helmer
Hmm... 1) Make sure you've got the latest copy of debootstrap. 2) Make sure you've mounted a copy of /proc in the directory where you're running debootstrap 3) Make sure your internet connection is functioning right. I remember when I first ran it, it didn't have /proc in there first, which was a