Re: [Vserver] [EMAIL PROTECTED]

2006-04-19 Thread Herbert Poetzl
On Wed, Apr 19, 2006 at 11:50:09AM +0200, Falk Hamann wrote:
 On Thu, 13 Apr 2006 08:55:18 -0600
 [EMAIL PROTECTED] wrote:
 
  
  See the previous post regarding crux documentation.  If still having
  issues, do the following.  It will probably help people troubleshoot
  your issue.
  
  Download, run and paste output back to list
  http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh
 
 This program is part of util-vserver 0.30.209
 
 Copyright (C) 2004 Enrico Scholz
 This program is free software; you may redistribute it under the terms
 of the GNU General Public License.  This program has absolutely no
 warranty. Linux 2.6.16.1 #3 SMP Fri Apr 7 09:44:20 CEST 2006 i686
 Ea 0.30.209 273/glibc (S*) compat,v11,v13,fscompat,net,oldproc,olduts
 VCI: 0002:0001 273 0316 (TbLgnP)
 ([EMAIL PROTECTED])
 (gcc version 4.0.3 (CRUX))
 #3 SMP Fri Apr 7 09:44:20 CEST 2006
 ---
 [000]# chcontext  true  chcontext --xid 45678 true
 [000]# succeeded.
 [001]# chcontext --xid 45678 egrep 'context|VxID' /proc/self/status
 [001]# succeeded.
 [011]# chcontext --secure --xid 45678 mknod /tmp/testme.sh.LT1693/node
 c 0 0 [011]# succeeded.
 [031]# chcontext  --hostname zaphod.1690 uname -a | grep -q zaphod.1690
 [031]# succeeded.
 [101]# chbind  --ip 192.168.0.42 true
 [101]# succeeded.
 [102]# chbind  --ip 192.168.0.1/255.255.255.0 --ip 10.0.0.1/24 true
 [102]# succeeded.
 [201]# chcontext --xid 45678 --flag fakeinit bash -c 'test $$ -eq 1'
 [201]# succeeded.
 [202]# chcontext  --flag fakeinit bash -c 'test $$ -eq 1'
 [202]# succeeded.
 
 The testscript works well.

looks good, yes ...

  Run and paste output back to list 
  ./vserver-info
 
 [EMAIL PROTECTED] ~# vserver-info 
 Versions:
Kernel: 2.6.16.1
VS-API: 0x00020001
  util-vserver: 0.30.209; Apr 12 2006, 15:07:54
 
 Features:
CC: gcc, gcc (GCC) 4.0.3 (CRUX)
   CXX: g++, g++ (GCC) 4.0.3 (CRUX)
  CPPFLAGS: ''
CFLAGS: '-O2 -march=i686 -pipe -std=c99 -Wall
 -pedantic -W -funit-at-a-time' CXXFLAGS: '-O2 -march=i686 -pipe -ansi
 -Wall -pedantic -W -fmessage-length=0 -funit-at-a-time' build/host:
 i686-pc-linux-gnu/i686-pc-linux-gnu 
  Use dietlibc: no (you have been warned) 
~~
you have been warned :)

Build C++ programs: yes
Build C99 programs: yes
Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
 ~~

this one should not be required anymore, you can remove
it when configuring with --enable-apis=NOLEGACY IIRC

 ext2fs Source: e2fsprogs
 syscall(2) invocation: fast
   vserver(2) syscall#: 273/glibc
 
 Paths:
prefix: /usr
 sysconf-Directory: /etc
 cfg-Directory: /etc/vservers
  initrd-Directory: /etc/rc.d
pkgstate-Directory: ${prefix}/var/run/vservers
   vserver-Rootdir: /vservers
 
 
 Assumed 'SYSINFO' as no other option given; try '--help' for more
 information.
 
  So the host is crux (version ??)
  So the guest is crux (version ??)
 
 Both are CRUX 2.2.
 
 vserver started in debug-mode. I hope these infos help solve the problem.
 
 [EMAIL PROTECTED] ~# vserver --debug vcrux01 start
 + shift
 + true
 + case $1 in
 + shift
 + break
 + OPTION_ALL=($OPTION_SILENT $OPTION_VERBOSE $OPTION_DEBUG $OPTION_DEFAULTTTY)
 + SELF=($0 [EMAIL PROTECTED])
 + vserver=vcrux01
 + cmd=start
 + test start '!=' build
 + allow_legacy=
 + case $vserver in
 + VSERVER_DIR=/etc/vservers/vcrux01
 + allow_legacy=1
 + test -n 1
 + do_legacy=
 + test '!' -e /etc/vservers/vcrux01/legacy
 + test -d /etc/vservers/vcrux01 -o '!' -e /etc/vservers/vcrux01.conf
 + test -z ''
 + test -d /etc/vservers/vcrux01
 + test -e /etc/vservers/vcrux01/name
 + read VSERVER_NAME
 + test start '!=' start -o -n ''
 + isAvoidNamespace /etc/vservers/vcrux01
 + local cfgdir
 + /usr/sbin/vserver-info - FEATURE namespace
 ++ /usr/sbin/vserver-info /etc/vservers/vcrux01 CFGDIR
 + cfgdir=/etc/vservers/vcrux01
 + test '!' -e /etc/vservers/vcrux01/namespace
 + test -e /etc/vservers/.defaults/nonamespace -o -e 
 /etc/vservers/vcrux01/nonamespace
 + exec /usr/sbin/vnamespace --new -- /usr/sbin/vserver nonamespace 
 --debug vcrux01 start 2
 + shift
 + true
 + case $1 in
 + shift
 + break
 + OPTION_ALL=($OPTION_SILENT $OPTION_VERBOSE $OPTION_DEBUG $OPTION_DEFAULTTTY)
 + SELF=($0 [EMAIL PROTECTED])
 + vserver=vcrux01
 + cmd=start
 + test start '!=' build
 + allow_legacy=
 + case $vserver in
 + VSERVER_DIR=/etc/vservers/vcrux01
 + allow_legacy=1
 + test -n 1
 + do_legacy=
 + test '!' -e /etc/vservers/vcrux01/legacy
 + test -d /etc/vservers/vcrux01 -o '!' -e /etc/vservers/vcrux01.conf
 + test -z ''
 + test -d /etc/vservers/vcrux01
 + test -e /etc/vservers/vcrux01/name
 + read VSERVER_NAME
 + test start '!=' start -o -n nonamespace
 + . /usr/lib/util-vserver/vserver.functions
 ++ declare -a 

[Vserver] /. [OS Virtualization Interview]

2006-04-19 Thread Eugen Leitl

Link: http://slashdot.org/article.pl?sid=06/04/18/1933250
Posted by: ScuttleMonkey, on 2006-04-19 01:37:00

   VirtualizationBuff writes KernelTrap has a [1]fascinating interview
   with Andrey Savochkin, the lead developer of the OpenVZ server
   virtualization project. In the interview Savochkin goes into great
   detail about how virtualization works, and why OpenVZ outshines the
   competition, comparing it to VServer, Xen and User Mode Linux.
   Regarding virtualization, Savochkin describes it as the next big step,
   'comparable with the step between single-user and multi-user systems.'
   Savochkin is now focused on getting OpenVZ merged into the mainline
   Linux kernel.

References

   1. http://kerneltrap.org/node/6492

- End forwarded message -
-- 
Eugen* Leitl a href=http://leitl.org;leitl/a http://leitl.org
__
ICBM: 48.07100, 11.36820http://www.ativel.com
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE


signature.asc
Description: Digital signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] forcedeth module for 2.6.14-amd64-smp-vs

2006-04-19 Thread Eugen Leitl

I'm running 2.6.14-amd64-smp-vs on a Sun Fire X2100. Unfortunately,
2.6.14-amd64-smp-vs lacks the forcedeth module, so only the Broadcom
NIC is usable.

I didn't catch this in time to try building my own 2.6.14-amd64-smp-vs
Does anyone here have a new Debian package for 2.6.14-amd64-smp-vs
or a similiar vs version of an AMD64 kernel?

Thanks much.

-- 
Eugen* Leitl a href=http://leitl.org;leitl/a http://leitl.org
__
ICBM: 48.07100, 11.36820http://www.ativel.com
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE


signature.asc
Description: Digital signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] [EMAIL PROTECTED]

2006-04-19 Thread smagnuson

Yes as Herbert notes from your output: Use dietlibc: no (you have been
warned)

I think you may have overlooked the following line from the crux install
notes: sudo prt-get install dietlibc

I believe you need to use dietlibc, I had troubles without it.  Herbert
suggested I try it.  All worked fine after.  If you search the ml/irc
archives at the very least you'll find my issues.

I have included a snippet below.

Not running make install-distribution did not seem to cause me any
issues. But it is prob worthwhile running.

Sig

-Original Message-
From: [EMAIL PROTECTED]
[mailto:vserver-[EMAIL PROTECTED] On Behalf Of
Magnuson, Sig
Sent: Wednesday, August 24, 2005 9:34 PM
Cc: vserver@list.linux-vserver.org
Subject: RE: [Vserver] unable to stop the vserver after upgrade

Herbert thanks for your help.

Issue: Unable to stop vserver, everything else appears to work
fine.

Issue was resolved when dietlibc was installed and tools
recompiled

EG:
Installed dietlibc
cd /path/to/vserver/src/util-vserver-0.30.208
make uninstall
make clean
./configure
make
make install

Note: allowed ./configure to autodetect dietlibc

from config.log
...
configure:9473: checking whether to enable dietlibc
configure:9533: result: yes (autodetected, 0.29)
...

Thanks,
sig








-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Herbert
Poetzl
Sent: Wednesday, April 19, 2006 10:13 AM
To: Falk Hamann
Cc: vserver@list.linux-vserver.org
Subject: Re: [Vserver] [EMAIL PROTECTED]

On Wed, Apr 19, 2006 at 11:50:09AM +0200, Falk Hamann wrote:
 On Thu, 13 Apr 2006 08:55:18 -0600
 [EMAIL PROTECTED] wrote:
 
  
  See the previous post regarding crux documentation.  If still having
  issues, do the following.  It will probably help people troubleshoot
  your issue.
  
  Download, run and paste output back to list
  http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh
 
 This program is part of util-vserver 0.30.209
 
 Copyright (C) 2004 Enrico Scholz
 This program is free software; you may redistribute it under the terms
 of the GNU General Public License.  This program has absolutely no
 warranty. Linux 2.6.16.1 #3 SMP Fri Apr 7 09:44:20 CEST 2006 i686
 Ea 0.30.209 273/glibc (S*)
compat,v11,v13,fscompat,net,oldproc,olduts
 VCI: 0002:0001 273 0316 (TbLgnP)
 ([EMAIL PROTECTED])
 (gcc version 4.0.3 (CRUX))
 #3 SMP Fri Apr 7 09:44:20 CEST 2006
 ---
 [000]# chcontext  true  chcontext --xid 45678 true
 [000]# succeeded.
 [001]# chcontext --xid 45678 egrep 'context|VxID' /proc/self/status
 [001]# succeeded.
 [011]# chcontext --secure --xid 45678 mknod /tmp/testme.sh.LT1693/node
 c 0 0 [011]# succeeded.
 [031]# chcontext  --hostname zaphod.1690 uname -a | grep -q
zaphod.1690
 [031]# succeeded.
 [101]# chbind  --ip 192.168.0.42 true
 [101]# succeeded.
 [102]# chbind  --ip 192.168.0.1/255.255.255.0 --ip 10.0.0.1/24 true
 [102]# succeeded.
 [201]# chcontext --xid 45678 --flag fakeinit bash -c 'test $$ -eq 1'
 [201]# succeeded.
 [202]# chcontext  --flag fakeinit bash -c 'test $$ -eq 1'
 [202]# succeeded.
 
 The testscript works well.

looks good, yes ...

  Run and paste output back to list 
  ./vserver-info
 
 [EMAIL PROTECTED] ~# vserver-info 
 Versions:
Kernel: 2.6.16.1
VS-API: 0x00020001
  util-vserver: 0.30.209; Apr 12 2006, 15:07:54
 
 Features:
CC: gcc, gcc (GCC) 4.0.3 (CRUX)
   CXX: g++, g++ (GCC) 4.0.3 (CRUX)
  CPPFLAGS: ''
CFLAGS: '-O2 -march=i686 -pipe -std=c99 -Wall
 -pedantic -W -funit-at-a-time' CXXFLAGS: '-O2 -march=i686 -pipe -ansi
 -Wall -pedantic -W -fmessage-length=0 -funit-at-a-time' build/host:
 i686-pc-linux-gnu/i686-pc-linux-gnu 
  Use dietlibc: no (you have been warned) 
~~
you have been warned :)

Build C++ programs: yes
Build C99 programs: yes
Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
 ~~

this one should not be required anymore, you can remove
it when configuring with --enable-apis=NOLEGACY IIRC

 ext2fs Source: e2fsprogs
 syscall(2) invocation: fast
   vserver(2) syscall#: 273/glibc
 
 Paths:
prefix: /usr
 sysconf-Directory: /etc
 cfg-Directory: /etc/vservers
  initrd-Directory: /etc/rc.d
pkgstate-Directory: ${prefix}/var/run/vservers
   vserver-Rootdir: /vservers
 
 
 Assumed 'SYSINFO' as no other option given; try '--help' for more
 information.
 
  So the host is crux (version ??)
  So the guest is crux (version ??)
 
 Both are CRUX 2.2.
 
 vserver started in debug-mode. I hope these infos help solve the
problem.
 
 [EMAIL PROTECTED] ~# vserver --debug vcrux01 start
 + shift
 + true
 + case $1 in
 + shift
 + break
 + OPTION_ALL=($OPTION_SILENT $OPTION_VERBOSE $OPTION_DEBUG
$OPTION_DEFAULTTTY)
 + SELF=($0 [EMAIL PROTECTED])
 + 

Re: [Vserver] /. [OS Virtualization Interview]

2006-04-19 Thread Herbert Poetzl
On Wed, Apr 19, 2006 at 06:18:43PM +0200, Eugen Leitl wrote:
 
 Link: http://slashdot.org/article.pl?sid=06/04/18/1933250
 Posted by: ScuttleMonkey, on 2006-04-19 01:37:00
 
VirtualizationBuff writes KernelTrap has a [1]fascinating interview
with Andrey Savochkin, the lead developer of the OpenVZ server
virtualization project. In the interview Savochkin goes into great
detail about how virtualization works, and why OpenVZ outshines the

competition, comparing it to VServer, Xen and User Mode Linux.
Regarding virtualization, Savochkin describes it as the next big step,
'comparable with the step between single-user and multi-user systems.'
Savochkin is now focused on getting OpenVZ merged into the mainline
Linux kernel.

we didn't figure why the poster 'ScuttleMonkey' concludes
that OpenVZ outshines (Linux-)VServer (or maybe he means
a different project?) ...

but we figured that Andrey Savochkin did some kernel work
around 1998-2000 (according to grep :)

anyway, thanks for the info,

best,
Herbert

 References
 
1. http://kerneltrap.org/node/6492
 
 - End forwarded message -
 -- 
 Eugen* Leitl a href=http://leitl.org;leitl/a http://leitl.org
 __
 ICBM: 48.07100, 11.36820http://www.ativel.com
 8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE



 ___
 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: ubuntu dapper vserver problem

2006-04-19 Thread Philippe Clérié
Got a reply from the ubuntu.server list: on dapper /var/run is created on a
tmpfs and does not survive a reboot.



Philippe Clérié wrote:

 I've installed linux-vserver on ubuntu dapper upgraded to the latest
 packages, using the uni-klu.ac.at kernel image
 (http://www2.uni-klu.ac.at/support/VServer).
 
 During creation of a vserver, I get the following message:
 
 The following problem(s) were encountered while verifying vshelper
 functionality:
 * The vshelper state-directory '/var/run/vshelper' does not exist; since
 it is created by 'make install', this indicates a serious problem with
 your util-vserver installation
 snipped
 
 The problem is that /var/run/vshelper is not created when util-vserver is
 installed. Neither are /var/run/vservers and /var/run/vservers.rev.
 
 When created manually, my vserver starts with no problems.
 
 But, these directories do not survive a reboot. They are being deleted,
 apparently on startup by some process which I've been unable to identify.
 
 Any clue as to what's going on would be welcomed.
 
 Thanks
 
 Philippe
 
 os: linux-image-2.6.15-21-686_2.6.15-21.30vs2.0.1+2.0.2rc15_i386.deb
 util-vserver: util-vserver_0.30.210-6_i386.deb
 
 
 ___
 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] how can I remove this in a Vserver : perl: warning: Falling back to the standard locale (C)...

2006-04-19 Thread Sébastien CRAMATTE

Hello

I've installed a very light debian from debootstrap
the problem now I've got this message.

perl: warning: Falling back to the standard locale (C).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Generating /etc/default/dhcp3-server...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
   LANGUAGE = fr_FR:fr:en_GB:en,
   LC_ALL = (unset),
   LANG = en_GB
   are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).


I know that  I must export
LC_ALL=C
LC_MESSAGES=C
LS_TYPE=C
LANGUAGE=C
LANG=C

But where can I do this at vserver startup ?
Thanks a lot


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


Re: [Vserver] how can I remove this in a Vserver : perl: warning: Falling back to the standard locale (C)...

2006-04-19 Thread Per Andreas Buer
Sébastien CRAMATTE wrote:
 Hello

 I've installed a very light debian from debootstrap
 the problem now I've got this message.

 perl: warning: Falling back to the standard locale (C).
 locale: Cannot set LC_CTYPE to default locale: No such file or directory

Have you installed the locales package in your vserver? Could you
please try this?



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


Re: [Vserver] how can I remove this in a Vserver : perl: warning: Falling back to the standard locale (C)...

2006-04-19 Thread Sébastien CRAMATTE

Per Andreas Buer a écrit :

Sébastien CRAMATTE wrote:
  

Hello

I've installed a very light debian from debootstrap
the problem now I've got this message.

perl: warning: Falling back to the standard locale (C).
locale: Cannot set LC_CTYPE to default locale: No such file or directory



Have you installed the locales package in your vserver? Could you
please try this?



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

I don't have installed locales
It is really necesary ?  I need a lightweight debian ...
If I keep my messages in english it's ok for me


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


Re: [Vserver] how can I remove this in a Vserver : perl: warning: Falling back to the standard locale (C)...

2006-04-19 Thread eyck
 It is really necesary ?  I need a lightweight debian ...
 heh
 If I keep my messages in english it's ok for me
 unset LANGUAGE, unset LANG etc...

-- 
Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
 Total Existance Failure
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Util-VServer in @RISK The Consensus Security Vulnerability Alert Vol. 5 No. 14

2006-04-19 Thread Daniel Hokka Zakrisson

Roderick A. Anderson wrote:
I noticed that Util-Vserver was reported with a SUEXEC Privilege 
Escalation Weakness in the April 10 report.


I found nothing on the list about this back as far as late February.  Is 
this report FUD, not worth worrying about, or I missed the whole thread 
on the list?

( https://savannah.nongnu.org/bugs/?func=detailitemitem_id=15996 )

In an odd way this is good since the other virtualization packages get 
more publicity.  :-(


It was discussed on IRC. How anyone can consider the host root entering 
a guest and executing a command as root as privilege escalation is 
beyond me (when in reality, you are dropping lots of capabilities, 
filesystem access, etc.).


--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Re: ubuntu dapper vserver problem

2006-04-19 Thread Herbert Poetzl
On Wed, Apr 19, 2006 at 03:21:48PM -0400, Philippe Clérié wrote:
 Got a reply from the ubuntu.server list: on dapper /var/run is created
 on a tmpfs and does not survive a reboot.

interesting detail, so maybe we should create that on
every startup then, or you might (as a temporary fix)
move that to a different location (at configure time)

HTH,
Herbert

 Philippe Clérié wrote:
 
  I've installed linux-vserver on ubuntu dapper upgraded to the latest
  packages, using the uni-klu.ac.at kernel image
  (http://www2.uni-klu.ac.at/support/VServer).
  
  During creation of a vserver, I get the following message:
  
  The following problem(s) were encountered while verifying vshelper
  functionality:
  * The vshelper state-directory '/var/run/vshelper' does not exist; since
  it is created by 'make install', this indicates a serious problem with
  your util-vserver installation
  snipped
  
  The problem is that /var/run/vshelper is not created when util-vserver is
  installed. Neither are /var/run/vservers and /var/run/vservers.rev.
  
  When created manually, my vserver starts with no problems.
  
  But, these directories do not survive a reboot. They are being deleted,
  apparently on startup by some process which I've been unable to identify.
  
  Any clue as to what's going on would be welcomed.
  
  Thanks
  
  Philippe
  
  os: linux-image-2.6.15-21-686_2.6.15-21.30vs2.0.1+2.0.2rc15_i386.deb
  util-vserver: util-vserver_0.30.210-6_i386.deb
  
  
  ___
  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 mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver