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

2006-05-02 Thread Matvey Gladkikh
On 19/04/06 18:22 +0200, Eugen Leitl wrote:
 
 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?
May be you wish to build debian kernel like a mainstream with all include?

1. Install 2.6.14-amd64-smp kernel
2. Download source package for 2.6.14-amd64-smp
3. cat /boot/config.2.6.14-amd64-smp  /usr/src/2.6.14-amd64-smp/.config 
cd /usr/src/2.6.14-amd64-smp/  patch -p1  2.6.14-vs-patch  make
oldconfig  make menuconfig (to check modules)
4. (later I used make-kpkg --initrd kernel-image and build my own kernel
with ONLY difference to debian kernel - vserver applied )

I ve done this for i386 2.6.12 kernel - you can try for your one.
It is not very good to make kernels with reduced ammount of drivers - because
they will not be portable across different hardware.

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


Re: [Vserver] grsec + vserver

2006-05-02 Thread Rik Bobbaers
On Friday 28 April 2006 16:21, Rik/harry Bobbaers wrote:
 hey all,

 i know it's been a while... but!!!
 http://harry.ulyssis.org/vserver/patch-2.6.16.11-vs2.0.2-rc18-grsec2.1.9.di
ff

well... you've probably seen the linux kernel tree has another baby... 
2.6.16.12 ... 

the grsec people made an update (nothing new for grsec/pax tough) for the 
kernel... so ... i did too! ;)

http://harry.ulyssis.org/vserver/patch-2.6.16.12-vs2.0.2-rc18-grsec2.1.9.diff

for those who want to see the changelog:
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.16.12

i really hate it when they release this much patches... but at least you got 
the chance to upgrade again :)

btw. the localversion-grsec problem with make-kpkg... it's solved here :)

Have fun with it!

-- 
harry
aka Rik Bobbaers

K.U.Leuven - LUDIT  -=- Tel: +32 485 52 71 50
[EMAIL PROTECTED] -=- http://harry.ulyssis.org

Work hard and do your best, it'll make it easier for the rest
-- Garfield

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

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


Re: [Vserver] CPU TIME Limit exceeded problem

2006-05-02 Thread Herbert Poetzl
On Tue, May 02, 2006 at 03:00:10PM +0200, jmp wrote:
 hi everyone,
 
 I'v got an urgent problem with a vserver .
 This vserver uses tomcat and the web application failed 
 some times. (in fact a lots of times when the user is connecting)
 I made a ptrace on the process and I can see that there is SIGXCPU  
 invoked with CPU TIME Limit exceeded.

well, although I have to admit that it very much looks
like this is a vserver limit, I am relatively sure that
it is not. I suspect that tomcat or apache applies some
time limit via this mechanism, effectively limiting the
execution time to some reasonable amount

http://www.die.net/doc/linux/man/man2/setrlimit.2.html

 rt_sigsuspend(~[INT QUIT ABRT BUS SEGV TERM XCPU RTMIN RT_1]) = ? 
 ERESTARTNOHAND (To be restarted)
 --- SIGXCPU (CPU time limit exceeded) @ 0 (0) ---
 sigreturn() = ? (mask now ~[INT QUIT ABRT 
 BUS KILL SEGV TERM STOP RTMIN])
 sigreturn() = ? (mask now [CHLD])
 accept(127, 0xbff5e448, [28])   = ? ERESTARTSYS (To be restarted)
 --- SIGPWR (Power failure) @ 0 (0) ---
 futex(0x19b7b20, FUTEX_WAKE, 1) = 1
 
 
 I did not configure any cpu limits.
 How can I increase CPU limits  on  this vserver ?
 How can I see the cpu limits ?
 
 I try :
 vlimit -c 346 -H --cpu 30
 vc_set_rlimit(): Invalid argument
 vlimit -c 346 --cpu 30
 vc_set_rlimit(): Invalid argument

as you can see, we decided not to implement this limit
on a per guest basis, because IMHO it doesn't make too
much sense to give the entire guest 30 seconds CPU time
and then kill it off ...

nevertheless, ulimits of this type are supported and
will effect each task independantly, but as I said, I'm
relatively sure that this is not the case ...

HTH,
Herbert

 vlimit -c 346 -a
 RSS N/A N/A inf
 NPROC   N/A N/A inf
 NOFILE  N/A N/A inf
 MEMLOCK N/A N/A inf
 AS  N/A N/A inf
 vc_get_rlimit(): Invalid argument

PS: this might be worth inspecting on our side, which
kernel and patch version is it?

 LOCKS   N/A N/A 0xbffa2e5c0001
 18  N/A N/A inf
 
 
 thanks for your help
 
 jean-marc.
 
 
 
 ___
 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] Newbie: getting started

2006-05-02 Thread Fareha Shafique

Hi,

I wanted to know where I could find out more about RTNETLINK.
When I stop my vserser, I get the message:
RTNETLINK answers: Cannot assign requested address

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


Re: [Vserver] Newbie: getting started

2006-05-02 Thread Herbert Poetzl
On Tue, May 02, 2006 at 11:24:53AM -0400, Fareha Shafique wrote:
 Hi,
 
 I wanted to know where I could find out more about RTNETLINK.
 When I stop my vserser, I get the message:
 RTNETLINK answers: Cannot assign requested address

looks like your address (assigned to the guest) is
not (properly) configured, maybe you changed it while
the guest was running, and/or you have it configured
on the host _and_ for the guest, but with 'dev' instead
of 'nodev' (and most likely a different netmask too)

HTH,
Herbert

 Thanks,
 -FS
 ___
 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


Re: [Vserver] CPU TIME Limit exceeded problem

2006-05-02 Thread jmp

thanks herbert for your answer



nevertheless, ulimits of this type are supported and
will effect each task independantly, but as I said, I'm
relatively sure that this is not the case ...


 


There is no limits inside the vserver
[EMAIL PROTECTED] ~]$ ulimit -a|grep cpu
cpu time   (seconds, -t) unlimited
How can I be sure that there no cpu limit on the vserver side ? How can 
I see the cpu limit ?



   


PS: this might be worth inspecting on our side, which
   kernel and patch version is it?
 


vserver-info
Versions:
  Kernel: 2.6.16-1.2096_FC4.vs2.0.2.0.rc17.1smp
  VS-API: 0x00020001
util-vserver: 0.30.210; Apr 15 2006, 20:07:50

Features:
  CC: gcc, gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
 CXX: g++, g++ (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
CPPFLAGS: ''
  CFLAGS: '-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -m32 -march=i386 -mtune=pentium4 
-fasynchronous-unwind-tables -std=c99 -Wall -pedantic -W -funit-at-a-time'
CXXFLAGS: '-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -m32 -march=i386 -mtune=pentium4 
-fasynchronous-unwind-tables -ansi -Wall -pedantic -W -fmessage-length=0 
-funit-at-a-time'

  build/host: i686-redhat-linux-gnu/i686-redhat-linux-gnu
Use dietlibc: yes
  Build C++ programs: yes
  Build C99 programs: yes
  Available APIs: compat,v11,fscompat,v13,net,oldproc,olduts
   ext2fs Source: e2fsprogs
   syscall(2) invocation: alternative
 vserver(2) syscall#: 273/glibc

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


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


[Vserver] report comparing vserver w/ xen

2006-05-02 Thread Marc E. Fiuczynski
Hello,

The following URL is for a paper that we wrote on Container-based Operating
System Virtualization: A Scalable, High-performance alternative to
Hypervisors.  At the performance, scale, and isolation level it compares
vserver with xen.  We chose vserver simply because we use it on 600+ servers
for PlanetLab (www.planet-lab.org).  The comparison is primarily between
container-based OSes (like vserver, virtuozzo, openvz, etc.) with
hypervisor-based systems (like xen, vmware esx, etc.).

http://www.cs.princeton.edu/~mef/research/vserver/paper.pdf

The paper is in draft form at the moment, but was submitted to the USENIX
Operating System Design and Implementation conference.  We plan to make
updates to the paper periodically, especially to section 3.  You'll see what
I mean when you read that.

Please send feedback to both the list as well as to me directly (i.e., reply
all).

Best regards,
Marc

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


Re: [Vserver] CPU TIME Limit exceeded problem

2006-05-02 Thread Herbert Poetzl
On Tue, May 02, 2006 at 06:05:33PM +0200, jmp wrote:
 thanks herbert for your answer
 
 
 nevertheless, ulimits of this type are supported and
 will effect each task independantly, but as I said, I'm
 relatively sure that this is not the case ...
 
 
  
 
 There is no limits inside the vserver
 [EMAIL PROTECTED] ~]$ ulimit -a|grep cpu
 cpu time   (seconds, -t) unlimited

as I expected, it is a resource limit set by tomcat or
the application itself

 How can I be sure that there no cpu limit on the vserver side ? 

if you look into the kernel code, kernel/vserver/limit.c
you will see that the function is_valid_rlimit() does not
include RLIMIT_CPU, so a per guest limit cannot be set

 How can I see the cpu limit ?

as it is not available, you cannot see it (for the guest)
if it would be available, you would see it listed in the
output of 'cat /proc/virtual/xid/limit'

best,
Herbert


 
 PS: this might be worth inspecting on our side, which
kernel and patch version is it?
  
 
 vserver-info
 Versions:
   Kernel: 2.6.16-1.2096_FC4.vs2.0.2.0.rc17.1smp
   VS-API: 0x00020001
 util-vserver: 0.30.210; Apr 15 2006, 20:07:50
 
 Features:
   CC: gcc, gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
  CXX: g++, g++ (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
 CPPFLAGS: ''
   CFLAGS: '-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 
 -fexceptions -m32 -march=i386 -mtune=pentium4 
 -fasynchronous-unwind-tables -std=c99 -Wall -pedantic -W -funit-at-a-time'
 CXXFLAGS: '-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 
 -fexceptions -m32 -march=i386 -mtune=pentium4 
 -fasynchronous-unwind-tables -ansi -Wall -pedantic -W -fmessage-length=0 
 -funit-at-a-time'
   build/host: i686-redhat-linux-gnu/i686-redhat-linux-gnu
 Use dietlibc: yes
   Build C++ programs: yes
   Build C99 programs: yes
   Available APIs: compat,v11,fscompat,v13,net,oldproc,olduts
ext2fs Source: e2fsprogs
syscall(2) invocation: alternative
  vserver(2) syscall#: 273/glibc
 
 Paths:
   prefix: /usr
sysconf-Directory: /etc
cfg-Directory: /etc/vservers
 initrd-Directory: /etc/rc.d/init.d
   pkgstate-Directory: /var/run/vservers
  vserver-Rootdir: /vservers
 
 
 ___
 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] pty-allocation fails, ssh fails with stdin: is not a tty

2006-05-02 Thread Henrik Heil

Hello list,

I'm trying vservers again after some time -- sorry if this is a simple 
problem. vserver creation, start and usage from the host seems fine, ssh 
login (not startup) fails with with stdin: is not a tty.


Host:
Ubuntu Breezy with vanilla 2.6.16
patch-2.6.16-vs2.0.2-rc16
util-vserver-0.30.210

Guest:
Debian Sarge, built with:

vserver 101 build -m debootstrap -n myskel_101 --hostname=myskel --interface 
eth0:192.168.1.101 --force -- -d sarge


testme.sh:

./testme.sh
Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.16-vs2.0.2-rc16hkhl2 #1 SMP Tue May 2 16:29:13 CEST 2006 i686
Ea 0.30.210 273/glibc (DSa) v13,net
VCI: 0002:0001 273 03110016 (TbLgnPD)
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.


vserver start, vserver enter and apt-get install ssh works fine.
When I try to login via ssh I get this error:


[EMAIL PROTECTED]:~# ssh 192.168.1.101
Password:
stdin: is not a tty



/var/log/auth.log:


May  2 15:04:11 myskel sshd[6774]: debug1: Allocating pty.
May  2 15:04:11 myskel sshd[6774]: error: openpty: No such file or directory
May  2 15:04:11 myskel sshd[6774]: error: session_pty_req: session 0 alloc 
failed


grep PTY /boot/config-2.6.16-vs2.0.2-rc16hkhl2


CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256



inside the vserver:


myskel:/# tree -apug /dev
/dev
|-- [lrwxrwxrwx root root]  MAKEDEV - /sbin/MAKEDEV
|-- [crw-rw-rw- root root]  full
|-- [srw-rw-rw- root root]  log
|-- [crw-rw-rw- root root]  null
|-- [crw-rw-rw- root root]  ptmx
|-- [drwxr-xr-x root root]  pts
|-- [crw-r--r-- root root]  random
|-- [crw-rw-rw- root root]  tty
|-- [crw-r--r-- root root]  urandom
|-- [prw-r- root adm ]  xconsole
`-- [crw-rw-rw- root root]  zero



myskel:/# mount
/dev/hdv1 on / type ufs (defaults)
proc on /proc type proc (defaults)
sysfs on /sys type sysfs (defaults)
devpts on /dev/pts type devpts (gid=4,mode=620)




myskel:/# tree -a /proc/self/fd/
/proc/self/fd/
|-- 0 - /dev/pts/6
|-- 1 - /dev/pts/6
|-- 2 - /dev/pts/6
`-- 3 - /proc/8423/fd


So I guess the problem is about the dangling symlinks/not created ptys 
under /dev/pts. I found a few small references to this and (maybe?) 
simlar problems with /dev/pts but no solution so far.


Any help is appreciated.

Thanks in advance,
Henrik

--
Henrik Heil, zweipol Coy  Heil GbR
http://www.zweipol.net/
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] report comparing vserver w/ xen

2006-05-02 Thread Herbert Poetzl
On Tue, May 02, 2006 at 12:08:05PM -0400, Marc E. Fiuczynski wrote:
 Hello,

first, please do not hijack email threads! :)

 The following URL is for a paper that we wrote on Container-based 
 Operating System Virtualization: A Scalable, High-performance 
 alternative to Hypervisors.  

 At the performance, scale, and isolation level it compares vserver 
 with xen. We chose vserver simply because we use it on 600+ servers
 for PlanetLab (www.planet-lab.org).  The comparison is primarily 
 between container-based OSes (like vserver, virtuozzo, openvz, etc.) 
 with hypervisor-based systems (like xen, vmware esx, etc.).
 
 http://www.cs.princeton.edu/~mef/research/vserver/paper.pdf

thanks, I did link it on the wiki (Documentation/Papers)

 The paper is in draft form at the moment, but was submitted to the 
 USENIX Operating System Design and Implementation conference.  
 We plan to make updates to the paper periodically, especially to 
 section 3.  You'll see what I mean when you read that.
 
 Please send feedback to both the list as well as to me directly 
 (i.e., reply all).

best,
Herbert

 Best regards,
 Marc
 
 ___
 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


Re: [Vserver] pty-allocation fails, ssh fails with stdin: is not a tty

2006-05-02 Thread Herbert Poetzl
On Tue, May 02, 2006 at 06:17:32PM +0200, Henrik Heil wrote:
 Hello list,
 
 I'm trying vservers again after some time -- sorry if this is a simple 
 problem. vserver creation, start and usage from the host seems fine, ssh 
 login (not startup) fails with with stdin: is not a tty.
 
 Host:
 Ubuntu Breezy with vanilla 2.6.16
 patch-2.6.16-vs2.0.2-rc16
 util-vserver-0.30.210
 
 Guest:
 Debian Sarge, built with:
 vserver 101 build -m debootstrap -n myskel_101 --hostname=myskel 
 --interface eth0:192.168.1.101 --force -- -d sarge
 
 testme.sh:
 ./testme.sh
 Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl
 chcontext is working.
 chbind is working.
 Linux 2.6.16-vs2.0.2-rc16hkhl2 #1 SMP Tue May 2 16:29:13 CEST 2006 i686
 Ea 0.30.210 273/glibc (DSa) v13,net
 VCI: 0002:0001 273 03110016 (TbLgnPD)
 ---
 [000]# succeeded.
 [001]# succeeded.
 [011]# succeeded.
 [031]# succeeded.
 [101]# succeeded.
 [102]# succeeded.
 [201]# succeeded.
 [202]# succeeded.
 
 vserver start, vserver enter and apt-get install ssh works fine.
 When I try to login via ssh I get this error:
 
 [EMAIL PROTECTED]:~# ssh 192.168.1.101
 Password:
 stdin: is not a tty
 
 
 /var/log/auth.log:
 
 May  2 15:04:11 myskel sshd[6774]: debug1: Allocating pty.
 May  2 15:04:11 myskel sshd[6774]: error: openpty: No such file or 
 directory
 May  2 15:04:11 myskel sshd[6774]: error: session_pty_req: session 0 alloc 
 failed
 
 grep PTY /boot/config-2.6.16-vs2.0.2-rc16hkhl2
 
 CONFIG_UNIX98_PTYS=y
 CONFIG_LEGACY_PTYS=y
 CONFIG_LEGACY_PTY_COUNT=256
 
 inside the vserver:
 
 myskel:/# tree -apug /dev
 /dev
 |-- [lrwxrwxrwx root root]  MAKEDEV - /sbin/MAKEDEV
 |-- [crw-rw-rw- root root]  full
 |-- [srw-rw-rw- root root]  log
 |-- [crw-rw-rw- root root]  null
 |-- [crw-rw-rw- root root]  ptmx
 |-- [drwxr-xr-x root root]  pts
 |-- [crw-r--r-- root root]  random
 |-- [crw-rw-rw- root root]  tty
 |-- [crw-r--r-- root root]  urandom
 |-- [prw-r- root adm ]  xconsole
 `-- [crw-rw-rw- root root]  zero

please add an 'ls -lagR /dev'

 myskel:/# mount
 /dev/hdv1 on / type ufs (defaults)
 proc on /proc type proc (defaults)
 sysfs on /sys type sysfs (defaults)
 devpts on /dev/pts type devpts (gid=4,mode=620)

 myskel:/# tree -a /proc/self/fd/
 /proc/self/fd/
 |-- 0 - /dev/pts/6
 |-- 1 - /dev/pts/6
 |-- 2 - /dev/pts/6
 `-- 3 - /proc/8423/fd
 
 So I guess the problem is about the dangling symlinks/not created ptys 
 under /dev/pts. I found a few small references to this and (maybe?) 
 simlar problems with /dev/pts but no solution so far.

they should be created if ptmx can be reached, could
it be that the group and permissions (4, 0620) are
not appropriate for your system (pam)?

TIA,
Herbert

 Any help is appreciated.
 
 Thanks in advance,
 Henrik
 
 -- 
 Henrik Heil, zweipol Coy  Heil GbR
 http://www.zweipol.net/
 ___
 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


Re: [Vserver] report comparing vserver w/ xen

2006-05-02 Thread Matt Ayres

Marc,

Since this is would also be important information to the Xen developers 
I have forwarded this over to the xen-devel mailing list.


Thank you,
Matt Ayres

Marc E. Fiuczynski wrote:

Hello,

The following URL is for a paper that we wrote on Container-based Operating
System Virtualization: A Scalable, High-performance alternative to
Hypervisors.  At the performance, scale, and isolation level it compares
vserver with xen.  We chose vserver simply because we use it on 600+ servers
for PlanetLab (www.planet-lab.org).  The comparison is primarily between
container-based OSes (like vserver, virtuozzo, openvz, etc.) with
hypervisor-based systems (like xen, vmware esx, etc.).

http://www.cs.princeton.edu/~mef/research/vserver/paper.pdf

The paper is in draft form at the moment, but was submitted to the USENIX
Operating System Design and Implementation conference.  We plan to make
updates to the paper periodically, especially to section 3.  You'll see what
I mean when you read that.

Please send feedback to both the list as well as to me directly (i.e., reply
all).

Best regards,
Marc

___
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] Problems with internal package management

2006-05-02 Thread Fareha Shafique

Hi,

I have set up internal package management. However, when I try to use 
yum I get the following error:

Setting up Install Process
Setting up repositories
Cannot find a valid baseurl for repo: updates-released
Error: Cannot find a valid baseurl for repo: updates-released

I'm quite sure the urls are valid, but I'm not sure if my guest can 
access the internet. How do I check/fix this?


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


Re: [Vserver] Newbie: getting started

2006-05-02 Thread Guenther Fuchs
Hi there,

on Tuesday, May 2, 2006 at 5:24:53 PM there was posted:

FS I wanted to know where I could find out more about RTNETLINK.
FS When I stop my vserser, I get the message:
FS RTNETLINK answers: Cannot assign requested address

Maybe you found the same problem Helmut and me had a couple of
months ago - try to name your net devices in a unique manner (if you 
didn't yet), this might solve your problem:

example to create this in a unique way for each existing device:
 code snippet - execute on root shell unchanged 
for vsn in /etc/vservers/*/; do
  for ifa in ${vsn}interfaces/*/; do
echo `basename ${vsn}``basename ${ifa}`  ${ifa}name
  done
done
 end code snipped 

-- 
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


Re: [Vserver] Problems with internal package management

2006-05-02 Thread Guenther Fuchs
Hi there,

on Tuesday, May 2, 2006 at 7:56:15 PM there was posted:

FS I have set up internal package management. However, when I try to use
FS yum I get the following error:
FS Setting up Install Process
FS Setting up repositories
FS Cannot find a valid baseurl for repo: updates-released
FS Error: Cannot find a valid baseurl for repo: updates-released

Possible stupid question: have you set up a proper nameserver inside
the guest?

(check /etc/resolv.conf inside the guest)

FS I'm quite sure the urls are valid, but I'm not sure if my guest
FS can access the internet. How do I check/fix this?

Try to ping any host outside, for example:

| ping -c5 linux-vserver.org

-- 
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] how to made dummy interface for fedora core 4

2006-05-02 Thread jmp

Rebonsoir,

My purpose is to have 127.1.0.1 as localhost address on my vserver
(I followed the idea of  http://levinux.org/?q=node/151)


I v'made in /etc/vserver/vservername/1

ip 127.1.0.1
dev dummy0
netmask 24
name vservernamedum0

and
/etc/modprobe.conf
*options dummy numdummies=5*


I try to reduce lo netmask to 255.255.255 in 
/etc/sysconfig/network-scripts/ifcfg-lo

but after a reboot I have always:

loLink encap:Boucle locale
 inet adr:127.0.0.1  Masque:255.0.0.0

fedora seems to ignore my change.

I must restart the vserver to see dummy0 in my interface

ifconfig -a
dummy0Link encap:Ethernet  HWaddr F3:63:4C:04:7E:75
 UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 lg file transmission:0
 RX bytes:0 (0.0 b)  TX bytes:210 (210.0 b)

dummy0:vservername du Link encap:Ethernet  HWaddr F3:63:4C:04:7E:75
 inet adr:127.1.0.1  Bcast:127.1.0.255  Masque:255.255.255.0
 UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1

and I can ping all 127 network except 127.0.0.1

What is the recipe to make this correctly ?



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