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

From: Dennis Roos (dennis_at_intouch.net)
Date: Tue 06 Sep 2005 - 10:35:42 BST


By accident I ran into a crash of the complete host (nicely reboots
luckily), but still... I can reproduce this on the same setup, different

                   VS-API: 0x00010025
             util-vserver: 0.30.196; Apr 5 2005, 16:20:45

                       CC: i686-pc-linux-gnu-gcc, i686-pc-linux-gnu-gcc
(GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
                      CXX: i686-pc-linux-gnu-g++, i686-pc-linux-gnu-g++
(GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
                 CPPFLAGS: ''
                   CFLAGS: '-O2 -march=i686 -fomit-frame-pointer
-std=c99 -Wall -pedantic -W'
                 CXXFLAGS: '-O2 -march=i686 -fomit-frame-pointer -ansi
-Wall -pedantic -W -fmessage-length=0'
               build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
             Use dietlibc: yes (0.28)
       Build C++ programs: yes
       Build C99 programs: yes
           Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
            ext2fs Source: e2fsprogs
    syscall(2) invocation: fast
      vserver(2) syscall#: 273/default

                   prefix: /usr
        sysconf-Directory: /etc
            cfg-Directory: /etc/vservers
         initrd-Directory: /etc/init.d
       pkgstate-Directory: /var/run/vservers
            Kernelheaders: /usr/include
          vserver-Rootdir: /vservers

VServer configuration:
/etc/vservers/IT_MONITOR/fstab:none /proc proc defaults
0 0
/etc/vservers/IT_MONITOR/fstab:none /dev/pts devpts
gid=5,mode=620 0 0
/etc/vservers/IT_MONITOR/fstab:#none /tmp tmpfs
size=16m,mode=1777 0 0

A couple of notes on the config:
# ccapabilities CAP_NET_RAW are needed because this vserver is supposed
to monitor our equipment using ping, traceroute, etc.
# device 1 ( was needed because nagios (the monitoring
application) does some hardcoded check on :( and I am too lazy
to fix this.

What happens...
On the host I decided to run `route add -host reject`
I enter the vserver and run netstat -rn (normally runs smoothly)
`netstat -rn`
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Read from remote host XXX.XXX.XXX.55: Connection reset by peer
Connection to XXX.XXX.XXX.55 closed.

Whah! The machine dies, and reboots

Dennis Roos

Network Engineer @ InTouch N.V. Middenweg 76 1097 BS Amsterdam Tel: +31 (0)20 6752060 Fax: +31 (0)20 6758429

-=[Assumption is the mother of all f*ckups]=-

_______________________________________________ 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 Tue 06 Sep 2005 - 10:36:09 BST by hypermail 2.1.3