From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Sat 05 Apr 2003 - 16:40:42 BST
On Sat, Apr 05, 2003 at 04:58:49PM +0200, Thomas Braselmann wrote:
> Hello List,
>
>
>
> i had trouble to patch the original 2.4.20 Kernel from Slackware 9.1
> so i have installed the original kernel from kernel org.
> patch it with ctx 17
> the patch was okay
>
> [1]root_at_obelix:~# uname -a
> Linux obelix 2.4.20 #17 Mon Mar 17 22:45:18 PST 2003 i686 unknown
> [2]root_at_obelix:~#
>
> i setup up a minimal /etc/vservers/01.conf
>
> look like this
>
> IPROOT="192.168.0.100"
> S_HOSTNAME="obelix2"
> ONBOOT="yes"
> S_DOMAINNAME="none"
> #S_NICE=
> S_FLAGS="lock nproc"
> ULIMIT="-H -u 5"
>
> after compiling kernel an setup vserver software
did you recompile the vserver software (userspace) after
you changed the kernel? are the file in /usr/include/linux
the same files as in the current kernel tree linux/include/linux?
(same goes for /usr/include/asm, especially unistd.h)
> vserver-0.22.src.tar.gz
> vserver-admin-0.22-1.i386.tgz <- rpm2tgz under slack from
> vserver-admin-0.22-1.i386.rpm file
>
> linuxconf-1.30r3.bin-elf.tgz
>
> i have following failure after start the server
>
> [3]root_at_obelix:~# vserver 01 start
> Starting the virtual server 01
>
> **********************************************************
> /vservers/01/.. has insecure permissions.
> A vserver administrator may be able to visit the root server.
> To fix this, do
> chmod 000 /vservers/01/..
> do it anytime you want, even if vservers are running.
> **********************************************************
do what the message says and it will go away ...
> Server 01 is not running
> Can't set the ipv4 root (Bad address)
>
check the existing interfaces (ifconfig) and
try the following:
chbind --ip 192.168.0.100 sleep 1
should reply with:
ipv4root is now 192.168.0.100
best,
Herbert
> in the mailing list archiv i found only something about wrong patches
> or failed patches with this failure
>
> about the permisson problem ...
>
> /vservers is a ext2 partiton with defaults
>
> /dev/sda13 /vservers ext2 defaults 1 2
>
>
>
> drwxr-xr-x 4 root root 4096 Apr 3 21:34 vservers/
>
>
>
> please anyone know about what it could be else ?
>
> all kind of help are welcome
>
>
>
> kind regards
>
> Thomas
>
> References
>
> 1. mailto:root_at_obelix
> 2. mailto:root_at_obelix
> 3. mailto:root_at_obelix