Re: [Vserver] vserver traceroute

From: Nikolay Kichukov <hijacker_at_oldum.net>
Date: Tue 11 Apr 2006 - 23:31:47 BST
Message-Id: <1144794707.4629.3.camel@ccja.localhost>

cheers,
will try that and will let you know if i have any further
questions/troubles.

Thanks,
-Nikolay Kichukov

On Tue, 2006-04-11 at 19:04 +0200, Herbert Poetzl wrote:
> On Tue, Apr 11, 2006 at 03:48:48PM +0300, Nikolay Kichukov wrote:
> > Hi,
> > Thanks for the advise,
> > I'd like to test that and I already have raw_icmp in the flags file for
> > the vserver, but is there a way i can set that without rebooting the
> > vserver?
>
> yes, of course,
>
> # vattribute --set --xid <xid> --flag raw_icmp
>
> should do what you want to do at runtime
> <xid> is the context id of your guest
>
> > I've searched for information about chcontext and did not find a lot
> > about setting those caps and flags dynamically. Is that possible? If
> > yes, how?
>
> also vattribute will allow you to change ccaps
> but not bcaps for now ...
>
> > Also, another question is, i have already created(built) the vserver
> > without --context NNN, and now I would like to get the vserver running
> > only in a specified context, ie. 444. How can i implement that?
>
> # echo 444 >/etc/vservers/<name>/context
>
> where <name> is the name of your guest
>
> HTH,
> Herbert
>
> > Thanks and regards,
> > -Nikolay Kichukov
> >
> >
> > On Tue, 2006-04-11 at 00:33 +0200, Herbert Poetzl wrote:
> > > On Tue, Apr 11, 2006 at 02:31:09AM +0300, Nikolay Kichukov wrote:
> > > > Hi everybody,
> > > > I am having a problem tracerouting from a guest.
> > > >
> > > > Here is the output:
> > > >
> > > > As root:
> > > >
> > > > traceroute 192.168.0.2
> > > >
> > > > traceroute: raw socket: Operation not permitted
> > >
> > > please try with the raw_icmp context capability
> > > (http://linux-vserver.org/Caps+and+Flags) assigned
> > > to your guest, if that still fails, please let me
> > > know ...
> > >
> > > TIA,
> > > Herbert
> > >
> > > > Some further information:
> > > >
> > > > Versions:
> > > >
> > > > Kernel: 2.6.14.4-vs2.1.0nevir
> > > > VS-API: 0x00020001
> > > > util-vserver: 0.30.209; Jan 8 2006, 12:24:41
> > > > Features:
> > > > CC: gcc, gcc (GCC) 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
> > > > CXX: g++, g++ (GCC) 4.0.3 20051201 (prerelease)
> > > > (Debian 4.0.2-5)
> > > >
> > > > CPPFLAGS: ''
> > > > CFLAGS: '-Wall -g -O2 -std=c99 -Wall -pedantic -W
> > > > -funit-at-a-time'
> > > > CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
> > > > -fmessage-length=0 -funit-at-a-time'
> > > >
> > > > build/host: i486-pc-linux-gnu/i486-pc-linux-gnu
> > > > Use dietlibc: yes
> > > > Build C++ programs: yes
> > > > Build C99 programs: yes
> > > > Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
> > > > ext2fs Source: e2fsprogs
> > > > syscall(2) invocation: alternative
> > > > vserver(2) syscall#: 273/glibc
> > > >
> > > > Paths:
> > > > prefix: /usr
> > > > sysconf-Directory: /etc
> > > > cfg-Directory: /etc/vservers
> > > > initrd-Directory: $(sysconfdir)/init.d
> > > > pkgstate-Directory: /var/run/vservers
> > > > vserver-Rootdir: /var/lib/vservers
> > > >
> > > > Assumed 'SYSINFO' as no other option given; try '--help' for more
> > > > information.
> > > >
> > > >
> > > > Thanks,
> > > > -Nikolay Kichukov
> > > >
> > > >
> > > > _______________________________________________
> > > > Vserver mailing list
> > > > Vserver@list.linux-vserver.org
> > > > http://list.linux-vserver.org/mailman/listinfo/vserver

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Apr 11 21:37:08 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 11 Apr 2006 - 21:37:12 BST by hypermail 2.1.8