Re: [Vserver] Newbie question

2006-05-05 Thread Guenther Fuchs
Hi there,

on Friday, May 5, 2006 at 5:58:56 AM there was posted:

BS AFAIK the build methods of util-vserver build FC vservers with a minimum
BS of installed packages. less, rpm and man are not bash commands but
BS separate programs which are probably simply not installed yet.

This is fully correct. All three are separate RPMs which need to be
installed first. See the HowTo for installation instructions.

-- 
regards 'n greez,

Guenther Fuchs
(aka muh and powerfox)

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Newbie question

2006-05-04 Thread Fareha Shafique

Hi,

I'm new to vservers. I installed the vserver from rpms and built it 
according to the instructions on Vserver Installation Fedora Core 4.  I 
was under the impression that a vserver has all the same files in its 
/etc directory as the host machine, but my vserver has fewer files. 
Furthermore, inside my vserver I cannot use bash commands such as less, 
rpm, man.
Have I misunderstood the basics of vserver or did I incorrectly install 
my vserver?

Any help would be appreciated.

Thanks,
-FS

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Newbie question

2006-05-04 Thread Björn Steinbrink
On 2006.05.04 22:46:07 -0400, Fareha Shafique wrote:
 Hi,
 
 I'm new to vservers. I installed the vserver from rpms and built it 
 according to the instructions on Vserver Installation Fedora Core 4.  I 
 was under the impression that a vserver has all the same files in its 
 /etc directory as the host machine, but my vserver has fewer files. 
 Furthermore, inside my vserver I cannot use bash commands such as less, 
 rpm, man.
 Have I misunderstood the basics of vserver or did I incorrectly install 
 my vserver?

AFAIK the build methods of util-vserver build FC vservers with a minimum
of installed packages. less, rpm and man are not bash commands but
separate programs which are probably simply not installed yet.

 Any help would be appreciated.

HTH
Björn
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Newbie question: trouble installing vserver on fc4-x86_64

2005-11-07 Thread Marcel Gsteiger
Hi all

I installed the kernel patches and utils successfully on my dual
xeon-ia32 fc4-x86_64 box now running
2.6.13-1.1532_FC4.vs2.0.1.0.pre2.1smp (after recompiling the SRPMS for
this arch). I use util-vserver 0.30.209-5.

Then, I adapted /etc/vservers/.distributions/fc4/apt/sources.list to
point to my local yam - based repository (with apt and yum
repositories).

Now when I try

vserver v-min-fc4 build -m apt-rpm --hostname v-min-fc4.milnet.lan
--interface dom-500=eth0:192.168.193.33/24 --initstyle sysv --context
500 -- -d fc4

my server basically installs the rpms

  basesystem filesystem glibc glibc-common libgcc setup tzdata

then it completes this list to include 53 packages, containing about 45
MB:

  MAKEDEV SysVinit audit-libs bash chkconfig coreutils cpio cracklib
cracklib-dicts db4 device-mapper e2fsprogs ethtool fedora-release
findutils gawk
  grep gzip hotplug hwdata info initscripts iproute iputils kernel less
libacl libattr libselinux libsepol libstdc++ libtermcap lvm2 mingetty
mkinitrd
  mktemp module-init-tools ncurses net-tools pam pcre popt procps
psmisc readline sed shadow-utils sysklogd tar termcap udev util-linux
zlib

It then downloads and installs all these packages to a temporary
location, however during installation I get several complaints about not
being able to install libtermcap.so.2 and an error while installing
kernel-2.6.13-1.

At the end, I get the message (in german):

E: Unterprozesss /usr/lib64/util-vserver/vrpm-preload gab Fehlercode
zurück (53)

(which means something like subprocess
/usr/lib64/util-vserver/vrpm-preload returned error code (53))

 and then the process terminates without creating my /vservers/x
directory.

I also tried to install the server using -m yum; this seemed to create
my vserver directory, but then the server could not be started.

Did anybody succeed to install vservers on fc4-x86_64? How can this be
done? Any help would much be appreciated. Also, I don't find a
documentation about these error codes.

Regards
-- Marcel
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Newbie question: trouble installing vserver on fc4-x86_64

2005-11-07 Thread Herbert Poetzl
On Mon, Nov 07, 2005 at 05:27:56PM +0100, Marcel Gsteiger wrote:
 Hi all
 
 I installed the kernel patches and utils successfully on my dual
 xeon-ia32 fc4-x86_64 box now running

xeon-ia32 with x86_64 ? well, folks @ intel must 
be drinking ...

 2.6.13-1.1532_FC4.vs2.0.1.0.pre2.1smp (after recompiling the SRPMS for
 this arch). I use util-vserver 0.30.209-5.
 
 Then, I adapted /etc/vservers/.distributions/fc4/apt/sources.list to
 point to my local yam - based repository (with apt and yum
 repositories).
 
 Now when I try
 
 vserver v-min-fc4 build -m apt-rpm --hostname v-min-fc4.milnet.lan
 --interface dom-500=eth0:192.168.193.33/24 --initstyle sysv --context
 500 -- -d fc4
 
 my server basically installs the rpms
 
   basesystem filesystem glibc glibc-common libgcc setup tzdata
 
 then it completes this list to include 53 packages, containing about
 45 MB:
 
   MAKEDEV SysVinit audit-libs bash chkconfig coreutils cpio cracklib
 cracklib-dicts db4 device-mapper e2fsprogs ethtool fedora-release
 findutils gawk
   grep gzip hotplug hwdata info initscripts iproute iputils kernel less
 libacl libattr libselinux libsepol libstdc++ libtermcap lvm2 mingetty
 mkinitrd
   mktemp module-init-tools ncurses net-tools pam pcre popt procps
 psmisc readline sed shadow-utils sysklogd tar termcap udev util-linux
 zlib
 
 It then downloads and installs all these packages to a temporary
 location, however during installation I get several complaints about not
 being able to install libtermcap.so.2 and an error while installing
 kernel-2.6.13-1.
 
 At the end, I get the message (in german):

using export LC_ALL=C LANG=C will help here

 E: Unterprozesss /usr/lib64/util-vserver/vrpm-preload gab Fehlercode
 zurück (53)

vserver-info - SYSINFO

might give some clues ...

 (which means something like subprocess
 /usr/lib64/util-vserver/vrpm-preload returned error code (53))
 
  and then the process terminates without creating my /vservers/x
 directory.
 
 I also tried to install the server using -m yum; this seemed to create
 my vserver directory, but then the server could not be started.

 Did anybody succeed to install vservers on fc4-x86_64? How can this be
 done? Any help would much be appreciated. Also, I don't find a
 documentation about these error codes.

deinitely :)

 Regards
 -- Marcel
 ___
 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


[Vserver] Re: Vserver newbie question

2005-09-14 Thread Matvey Gladkikh
 I have no clue what this means anyone?
First you need to find vprocunhide script end execute it once per server
reboot.

second you do not need to create /vserver/NAME dir
cause creation script will do it for you.


Cheers,
Matvey
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Re: Vserver newbie question

2005-09-14 Thread [eMAXX] Sys-Admin

Matvey Gladkikh wrote:


I have no clue what this means anyone?


First you need to find vprocunhide script end execute it once per server
reboot.

second you do not need to create /vserver/NAME dir
cause creation script will do it for you.



It sounds really easy when you say it like this :)

Right now I'm trying to build from scratch with the following howto:
   http://www.debianhowto.de/de:howtos:sarge:linux-vserver

In the howto patch-0.30.208-fix02.diff 
http://www.13thfloor.at/vserver/s_rel26/v2.0/patch-0.30.208-fix02.diff 
is not used, why might I need this patch?


I think the installing procedure isn't that hard and I'm just messing it 
up by following different howto sources for the install. The IRC-logs 
are somewhat helpfull, but I'm really missing the 'red line'.


The main concern I have, is to keep Vserver updated when it's running. 
Debian got a great packiging system, but how should I upgrade Vserver 
(that was build from scratch) when a new version is released? Build 
again from scratch? That's why I tried the sources from 
http://linux-vserver.derjohn.de/ first.


I saw Debian unstable adopted util-vserver-0.30.208 
(http://packages.debian.org/unstable/net/util-vserver), but I'm want to 
use the stable branch. Should I mix?


To much decisions to make ...what's wise to do?


Regards,

Vincent Pluk
eMAXX, Netherlands
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Re: Vserver newbie question

2005-09-14 Thread Daniel Kraft
[eMAXX] Sys-Admin ([EMAIL PROTECTED]) schrieb:

 The main concern I have, is to keep Vserver updated when it's running.
 Debian got a great packiging system, but how should I upgrade Vserver
 (that was build from scratch) when a new version is released? Build
 again from scratch? That's why I tried the sources from
 http://linux-vserver.derjohn.de/ first.

 I saw Debian unstable adopted util-vserver-0.30.208
 (http://packages.debian.org/unstable/net/util-vserver), but I'm want to
 use the stable branch. Should I mix?

I had no problem using the unstable branch for util-vserver. I needed it,
because the sarge-versions are simply too old.

I compiled a vanilla-kernel (2.6.12.6) with the patch-2.6.12.4-vs2.0.diff. I
did this the traditional way, but the debian-way (make-kpgk) should work
too. That way you have your packaged kernel (but I guess you knew that ;) ).
Btw: I used the original config from debian (/boot/config.xxx).

Then I compiled the sources from debian-sid for util-vserver. You can find a
short summary here:
http://linux-vserver.org/util-vserver+on+sarge

Using apt-get -t unstable should work too, but I preferred compiling it
myself. When a new version comes out, I simply patch a new kernel and make new
packages from sid's sources and dpkg -i them.

 To much decisions to make ...what's wise to do?

I'll have to meditate about this...

Daniel

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Re: Vserver newbie question

2005-09-14 Thread Matvey Gladkikh
On 14/09/05 10:39 +0200, [eMAXX] Sys-Admin wrote:
 I saw Debian unstable adopted util-vserver-0.30.208 
 (http://packages.debian.org/unstable/net/util-vserver), but I'm want to 
 use the stable branch. Should I mix?
 
no, I think you should backport 2.6.12 kernel from sid for using it on sarge
only.
 To much decisions to make ...what's wise to do?

other packeges I compile myself with the help of checkinstall for stable
distro. guest vservers should be updated by apt-get.

get 2.6.12 kernel-sources from sid
get patch vserver 2.6.12
cd /usr/src/2.6.12sources/
patch -p1  ./patch*
make oldconfig
make menuconfig (to enable some options)
make-kpkg --initrd kernel-image
dpkg -i ../kernel-image*.deb


tar xvfz util-vserver...tgz
cd util-vserver
./configure
checkinstall (you should apt-get install checkinstall first)
dpkg -i util-vserver*.deb

Cheers,
Matvey
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Re: Vserver newbie question

2005-09-14 Thread Matvey Gladkikh
On 14/09/05 11:36 +0200, Daniel Kraft wrote:
  To much decisions to make ...what's wise to do?
 
 I'll have to meditate about this...
 
I will write down this :-)

Cheers, 
Matvey
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Re: Vserver newbie question

2005-09-14 Thread [eMAXX] Sys-Admin

Matvey Gladkikh wrote:


On 14/09/05 10:39 +0200, [eMAXX] Sys-Admin wrote:
 

I saw Debian unstable adopted util-vserver-0.30.208 
(http://packages.debian.org/unstable/net/util-vserver), but I'm want to 
use the stable branch. Should I mix?


   


no, I think you should backport 2.6.12 kernel from sid for using it on sarge
only.
 


To much decisions to make ...what's wise to do?
   



other packeges I compile myself with the help of checkinstall for stable
distro. guest vservers should be updated by apt-get.

get 2.6.12 kernel-sources from sid
get patch vserver 2.6.12
cd /usr/src/2.6.12sources/
patch -p1  ./patch*
make oldconfig
make menuconfig (to enable some options)
make-kpkg --initrd kernel-image
dpkg -i ../kernel-image*.deb


tar xvfz util-vserver...tgz
cd util-vserver
./configure
checkinstall (you should apt-get install checkinstall first)
dpkg -i util-vserver*.deb

Cheers,
Matvey
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
 

Ok ... let's start that install again :)  Whenever I get it to work, 
you'll notice it by my questions about the configuration ;)


Thanks a lot!

Regards,

Vincent Pluk
eMAXX, Netherlands
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Re: Vserver newbie question

2005-09-14 Thread Matvey Gladkikh
 Ok ... let's start that install again :)  Whenever I get it to work, 
 you'll notice it by my questions about the configuration ;)

Have you found vprocunhide script on your server?

apt-get install slocate
locate -u /
locate vprocunhide
/path/to/vprocunhide start

vserver-stat should work after that.
and your allready build vservers too.

cheers,
Matvey
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Re: Vserver newbie question

2005-09-14 Thread [eMAXX] Sys-Admin

Matvey Gladkikh wrote:


other packeges I compile myself with the help of checkinstall for stable
distro. guest vservers should be updated by apt-get.

get 2.6.12 kernel-sources from sid
get patch vserver 2.6.12
cd /usr/src/2.6.12sources/
patch -p1  ./patch*
make oldconfig
make menuconfig (to enable some options)
make-kpkg --initrd kernel-image
dpkg -i ../kernel-image*.deb

 

You're going to fast for me; as far as I can see, sid does not provide 
the 2.6.12 kernel-sources: http://packages.debian.org/unstable/allpackages
Would this be ok as well: 
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.4.tar.bz2 ?


This is exactly where it goes wrong with me ... I think I miss some 
basic experience to make a sane decision in these cases (right now I 
think there is no important difference between the two sources).


Whichone will it be?

Regards,

Vincent Pluk
eMAXX, Netherlands
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Vserver newbie question

2005-09-14 Thread Daniel Hokka Zakrisson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[eMAXX] Sys-Admin wrote:
| I search the irc-log and then tried this:
|~# /usr/lib/util-vserver/vprocunhide/proc/net/: Bad address
|/proc/sys/: Bad address
|/proc/sys/debug/: Bad address
|/proc/sys/dev/: Bad address
|/proc/sysvipc/: Bad address
|/proc/tty/: Bad address
|/proc/cmdline: Bad address
|/proc/cpuinfo: Bad address
|/proc/crypto: Bad address
|/proc/devices: Bad address
|/proc/execdomains: Bad address
|/proc/filesystems: Bad address
|/proc/interrupts: Bad address
|/proc/iomem: Bad address
|/proc/ioports: Bad address
|/proc/kcore: Bad address
|/proc/kmsg: Bad address
|/proc/loadavg: Bad address
|/proc/locks: Bad address
|/proc/meminfo: Bad address
|/proc/misc: Bad address
|/proc/modules: Bad address
|/proc/pci: Bad address
|/proc/slabinfo: Bad address
|/proc/stat: Bad address
|/proc/swaps: Bad address
|/proc/uptime: Bad address
|/proc/version: Bad address

Sounds like fix01 was used rather than fix02.

- --
Daniel Hokka Zakrisson
GPG id: 06723412
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDKAuUYTbdogZyNBIRAkp/AJ47IHsrFJmux4ivDRPsTwesNXzrxQCfQaG2
a46a4k1uN9c3jGAZL+YjfgU=
=UMIl
-END PGP SIGNATURE-

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Vserver newbie question

2005-09-14 Thread [eMAXX] Sys-Admin

Daniel Hokka Zakrisson wrote:




Sounds like fix01 was used rather than fix02.


I wouldn't know, since I used precompiled debianpackages: 
http://linux-vserver.derjohn.de/
But util-vserver (0.30.208-1) in 
http://linux-vserver.derjohn.de/util-vserver_0.30.208-1_i386.changes 
suggest fix01


Anyway, I found out that these packages are the best way to get my 
vserver running :)


Back to the struggle ...

Regards,

Vincent Pluk
eMAXX, Netherlands
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Vserver newbie question

2005-09-14 Thread [eMAXX] Sys-Admin

[eMAXX] Sys-Admin wrote:



Anyway, I found out that these packages are the best way to get my 
vserver running :)



That shoud be:Are NOT the best way   

Vince.
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Re: Vserver newbie question

2005-09-14 Thread Matvey Gladkikh
On 14/09/05 13:26 +0200, [eMAXX] Sys-Admin wrote:
 You're going to fast for me; as far as I can see, sid does not provide 
 the 2.6.12 kernel-sources: http://packages.debian.org/unstable/allpackages
 Would this be ok as well: 
 http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.4.tar.bz2 ?
 
 This is exactly where it goes wrong with me ... I think I miss some 
 basic experience to make a sane decision in these cases (right now I 
 think there is no important difference between the two sources).

If you need debian kernel with .config from debian team you should download
prepatched sources 2.6.12 from debian sid.

You allso can download kernel.org kernel 2.6.12
in this case you should install apt-get install kernel-patch (smth like that)
and patch kernel sources with cramfs patch 
patch -p1  /usr/src/debian-patches(or smth like
that)/blablabla/fs.cramfs.diff

this is for make-kpkg --initrd kernel-image to produce initrd image
correctly.

after that you should patch with vserver kernel diff.

configure and compile kernel.

if you need I can give mine kernel 2.6.12 for sarge with utils and sources.
or you can use those on linux-vserver site (derjohn's)

 
 Whichone will it be?
 
 Regards,
 
 Vincent Pluk
 eMAXX, Netherlands
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver

-- 
С уважением,
Матвей Гладких
ООО Скай-Медиа
г. Москва, ул. Сущевский вал, 9, оф. 803
Тел./факс (095) 981-60-42
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Re: Vserver newbie question

2005-09-14 Thread [eMAXX] Sys-Admin

Matvey Gladkikh wrote:


On 14/09/05 13:26 +0200, [eMAXX] Sys-Admin wrote:
 

You're going to fast for me; as far as I can see, sid does not provide 
the 2.6.12 kernel-sources: http://packages.debian.org/unstable/allpackages
   

Okey guess I made a mistake here, since there ARE kernel-source 
2.6.12 in sid :) they're just named different :S


kernel-source-2.6.11 (2.6.11-7)
 Linux kernel source for version 2.6.11 with Debian patches

linux-source-2.6.12 (2.6.12-6)
   Linux kernel source for version 2.6.12 with Debian patches


You allso can download kernel.org kernel 2.6.12
in this case you should install apt-get install kernel-patch (smth 
like that)

and patch kernel sources with cramfs patch
patch -p1  /usr/src/debian-patches(or smth like
that)/blablabla/fs.cramfs.diff

Ok, since I want to try to this option later, where is that cramfs 
patch? I asumed it should be in one of the debian patch-packages? I 
searched http://packages.debian.org/unstable/allpackages for a possible 
candidate... but nogo..


Regards,

Vincent Pluk
eMAXX, Netherlands
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Vserver newbie question

2005-09-13 Thread Xavier Montagutelli
On Tuesday 13 September 2005 22:32, [eMAXX] Sys-Admin wrote:
 Hi folks,

 Ok, I'm totally lost. I don't seem to get a vserver install to work...
 well at least not the latest version..

I am also a newbie, and I have done it with Debian recently, so let's see 
what's different.

 I'm trying to install vserver from this source:
 http://linux-vserver.derjohn.de/ on Debian Sarge. I written down the
 steps I took for this vserver installation:
[..]
 --
 [1] Wget:

 http://linux-vserver.derjohn.de/kernel-image-2.6.12-p3_10.00.vserver20_i386
.deb http://linux-vserver.derjohn.de/util-vserver_0.30.208-1_i386.deb

I have used the sources from Linus 2.6.12.4 :

wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.4.tar.bz2
wget http://www.13thfloor.at/vserver/s_rel26/v2.0/patch-2.6.12.4-vs2.0.diff

make menuconfig
more /boot/config-2.6.12.4-vs2.0-scivm-xm2
#
# Block devices
#
# CONFIG_BLK_DEV_VROOT is not set
#
# Kernel hacking
#
CONFIG_VSERVER=y
CONFIG_VSERVER_SECURITY=y
CONFIG_VSERVER_LEGACYNET=y
#
# Linux VServer
#
CONFIG_VSERVER_LEGACY=y
# CONFIG_VSERVER_LEGACY_VERSION is not set
# CONFIG_VSERVER_NGNET is not set
CONFIG_VSERVER_PROC_SECURE=y
CONFIG_VSERVER_HARDCPU=y
# CONFIG_VSERVER_HARDCPU_IDLE is not set
# CONFIG_INOXID_NONE is not set
# CONFIG_INOXID_UID16 is not set
# CONFIG_INOXID_GID16 is not set
CONFIG_INOXID_UGID24=y
# CONFIG_INOXID_INTERN is not set
# CONFIG_INOXID_RUNTIME is not set
# CONFIG_XID_TAG_NFSD is not set
# CONFIG_VSERVER_DEBUG is not set

make-kpkg 


 [2] Install new kernel:
 ~# dpkg -i kernel-image-2.6.12-p3_10.00.vserver20_i386.deb

 [2a] Update /boot/grub/menu.lst to change the label so it contains vs
 ~# nano /boot/grub/menu.lst

 [3] Reboot...

 ---

 [4] Install Util-Vserver:
 ~# dpkg -i util-vserver_0.30.208-1_i386.deb

I used the sources :

wget 
http://www.13thfloor.at/vserver/s_rel26/v2.0/util-vserver-0.30.208.tar.bz2

apt-get install vlan iproute e2fslibs-dev
apt-get install dietlibc-dev beecrypt2-dev
./configure --sysconfdir=/etc --localstatedir=/var
make  make install  make install-distribution

mkdir -p /var/lock/subsys
update-rc.d vprocunhide start 74 0 2 .
update-rc.d rebootmgr start 98 2 . stop 02 0 6 .
update-rc.d vservers-default start 98 2 . stop 02 0 6 .

 [5] download and run the testscript:
 ~# wget http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh
[..]

 [6] So, vserver 2.0 and vserver-util should be running now:
 ~# vserver-info
[..]
 Paths:
prefix: /usr
 sysconf-Directory: ${prefix}/etc
 cfg-Directory: ${prefix}/etc/vservers
  initrd-Directory: $(sysconfdir)/init.d
pkgstate-Directory: ${prefix}/var/run/vservers

these paths seems strange : under Debian, the sysconf-Directory should be /etc 
instead of /usr/etc, cfg-Direfctory should be /etc/vservers instead 
of /usr/etc/vservers, etc.

 [7] Create Vserver basedir since the default location isn't there:
 ~# mkdir /vservers

make install-distribution makes it for you if you compile the userland 
tools. Perhaps you forgot to setattr --barrier /vservers during this step ? 

 ~# mkdir /vservers/vstest01

not necessary. The next step (vserver .. build) should do it for you.


 [8] Create new Context/Virtual Server:
 ~# vserver vstest01 build -m debootstrap --hostname vstest01
 --netdev eth0:vs01 --interface 192.168.27.33 --context 42 -- -d sarge -m
 ftp://ftp.nl.debian.org/debian/

 [9] /proc/sys/kernel/vshelper contains: /sbin/vshelper, must be updated:
 ~# echo /usr/lib/util-vserver/vshelper /proc/sys/kernel/vshelper

make install-distribution makes the link under /sbin

In your case, you could also put it in the /etc/sysctl.conf file (to make it 
persistent across reboots) :

kernel.vshelper = /usr/lib/util-vserver/vshelper


 [10] Then Vserver should run?
 ~# vserver vstest01 start
 /proc/uptime can not be accessed. Usually, this is caused by
 procfs-security. Please read the FAQ for more details
 http://www.linux-vserver.org/index.php?page=Linux-Vserver+FAQ

That's normal (from what I have understood) : the default is that everything 
is protected, you have to unlock things under /proc

 I search the irc-log and then tried this:
 ~# /usr/lib/util-vserver/vprocunhide

Normally, this script is called by /etc/init.d/vprocunhide during the boot 
process of the host system (if your Debian package configures it correctly). 
The files to unhide are listed 
in /usr/lib/util-vserver/defaults/vprocunhide-files (or 
in /etc/vservers/.defaults/apps/vprocunhide/files if that file exists)

 /proc/net/: Bad address
[.. every file to unhide with an error ..]
 I have no clue what this means anyone?

I don't have any idea about that. Do you use devfs ? On my machine, there's no 
devfs.

You could also try some basic commands :

cat /proc/uptime
showattr -d /proc/net
setattr --~hide /proc/net/arp

(the script 

[Vserver] newbie question

2004-01-31 Thread Gregory (Grisha) Trubetskoy

Sorry if these are FAQ's:

Are there any problems with SMP and vserver (1.24)? We're thinking of
ordering a dual cpu xeon machine, but I wanted to check first to make sure
that there are no known problems.

Also - how stable/unstable is the 1.3.x release - is it better to try 1.3
if starting from scratch, or is it better to just stick with 1.24 for now
(stability is important)?

Thanks!

Grisha
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] newbie question

2004-01-31 Thread Herbert Poetzl
On Fri, Jan 30, 2004 at 10:28:54PM -0500, Gregory (Grisha) Trubetskoy wrote:
 
 Sorry if these are FAQ's:
 
 Are there any problems with SMP and vserver (1.24)? We're thinking of
 ordering a dual cpu xeon machine, but I wanted to check first to make sure
 that there are no known problems.

vs1.23 and 1.24 as well as recent devel versions 
(1.3.3 and later) did fix all known SMP issues and
withstand extensive SMP testing ...

 Also - how stable/unstable is the 1.3.x release - is it better to try 1.3
 if starting from scratch, or is it better to just stick with 1.24 for now
 (stability is important)?

the 'stable' features are stable in both releases
the 'new' features the development release has over
the stable release are not so well tested ...

HTH,
Herbert

 Thanks!
 
 Grisha
 ___
 Vserver mailing list
 [EMAIL PROTECTED]
 http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver