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

From: Pierre.HURET_at_euro-securities-partners.com
Date: Wed 20 Oct 2004 - 08:53:35 BST


Hi,

> 1. Debian sarge/testing kernel 2.6.8
> 2. Patch vserver 1.9.3rc2
> 3. Compile + install util-vserver-0.30.195
> 4. Verify and/or install deb "debootstrap" with the version
> corresponding with same sarge/testing CD1 used ( for my case:
> debootstrap 0.2.39.1 with sarge : first of August 2004 )
> 5. mount CD1 from SARGE on /cdrom
> 6. create /etc/vservers/.defaults/apps/debootstrap/mirror (->
> file:/cdrom )
> 5. "vserver vm1 build -m debootstrap -- -d sarge"
> 6. Configuration by creating files in the new file config tree:
> /etc/vservers/vm1/flags ( -> hide_mount )
> /etc/vservers/vm1/name (-> vm1 )
> /etc/vservers/vm1/interfaces/00/dev ( -> eth0 )
> /etc/vservers/vm1/interfaces/00/ip ( -> xx.xx.xx.xx )
> /etc/vservers/vm1/interfaces/00/mask ( -> yy.yy.yy.yy )
> /etc/vservers/vm1/apps/init/runlevel ( -> 2 )
> /etc/vservers/vm1/uts/nodename (-> vm1 )

Some more details from my last mail :

1. Patch ctx 1.9.3rc2 applied to kernel source DEBIAN 2.6.8-5 ( just one
reject but for non-i386 platform ), with one Update ( thanks to a
preview record in mailing list ):
--- linux-2.6.8.1vs1.9.3-rc2.1/kernel/pid.c.orig 2004-10-05
15:00:01.000000000 -0400
+++ linux-2.6.8.1vs1.9.3-rc2.1/kernel/pid.c 2004-10-05
15:00:32.000000000 -0400
@@ -231,7 +231,7 @@
         return pid_task(pid->task_list.next, PIDTYPE_PID);
  }

-EXPORT_SYMBOL(find_task_by_pid);
+EXPORT_SYMBOL(find_task_by_real_pid);

  /*
   * This function switches the PIDs if a non-leader thread calls

2. Don't use deb "vserver*" found in distrib sarge: full function but
for patch ctx for kernel 2.4. For 2.6, just util-package from Alpha
branch

3. All the custom file are created by hand, and the contents is just the
value in (). ( file tree "/etc/vservers/xxx/ already exist, after
command "vserver xxx build ..." ). You can find all the possible file
and parameters at
http://www-user.tu-chemnitz.de/~ensc/util-vserver/doc/conf/configuration
.html

Hope this be usefull.

Pierre.

 

_______________________________________________
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 Wed 20 Oct 2004 - 08:55:41 BST by hypermail 2.1.3