RE: [Vserver] Vserver guest os' and virtual interfaces ?

2005-07-23 Thread Brian Ipsen
Hi,

  I tried to build a vserver using:
  
  # ./vserver-build --force -m yum -n dns-int1 --hostname 
  ns2-int.domain.dk --netdev=eth0:0 --interface=192.168.3.27 
  --netmask=255.255.255.0 -- -d wbel4
 
 you certainly do not want to specify eth0:0 which isn't an 
 interface but at best an alias ... if you want to get an 
 alias (why would you need it for? ... ah ifconfig, I see :) 
 then better use something like:
 
  --interface hansi=eth0:192.168.3.27/24

I found out - it creates its own virtual interface ;-)

Anyway - stopping the vserver still gives:

  # vserver dns-int1 stop
  Shutting down system logger:   [  OK  ]
  Starting killall:  [  OK  ]
  A timeout occured while waiting for the vserver to finish 
 and it was 
  killed by sending a SIGKILL signal. Please investigate the reasons 
  and/or increase the timeout in apps/vshelper/sync-timeout.

Even though nothing particular has been started inside the vserver..

And one of the last things: If I need to run qmail inside one of the
vservers, I guess it should be created with --initstyle fakeinit ??

As far as I remember, there is an issue with bind - it should have
CAP_SYS_RESOURCE set (at least it was so in the old-style config). Where
should this parameter be added in the 2.0-style configuration ?

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


Re: [Vserver] How to build first vserver ?

2005-07-23 Thread Enrico Scholz
[EMAIL PROTECTED] (Brian Ipsen) writes:

 #./vserver-build --force -m yum -n dns-int1 -- -d wbel4
 Renamed '/etc/vservers/dns-int1' to '/etc/vservers/dns-int1.~1121798195~'
 ftp://ftp.riken.jp/Linux/whitebox/Null/en/os/i386/repodata/repomd.xml:


The yum author refuses to make yum configurable so there is no way to
influence '$releasever'. Its value is defined only by the release
number of the installed 'fedora-release' package (resp. the configured
'distroverpkg').

Yes, it sucks and feel free to bother the yum author regarding this
issue. In the meantime, all occurences of '$releasever' have to be
replaced manually with the correct value.


 Next, I have an issue with the setup in general... I mount
 /vservers/dns-int as a lvm-partition ..

Sorry; not supported yet.



Enrico


pgplxkZUQqZ5U.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vserver build - one remaining issue...

2005-07-23 Thread Enrico Scholz
[EMAIL PROTECTED] (Brian Ipsen) writes:

 # ./vserver-build --force -m yum -n dns-int1 -- -d wbel4
 ...
 error: unpacking of archive failed on file /usr/bin/X11;42dd8791: cpio:
 symlink failed - No such file or directory

Happens due to a bug in rpm[1]. That's why, an 'initpre' script must be
executed which worksarounds this issue. The common redhat-style 'initpre'
script should be fine for RH clones, so you should add a symlink like

| /etc/vservers/.distributions/initpre -  
/usr/lib/util-vserver/distributions/redhat/initpre


I will add more diagnostics to warn the user about this...


Nevertheless, as yum does not do proper errorhandling this bug will be
ignored and vserver should be built.




Enrico

Footnotes: 
[1]  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=90941
 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725



pgpbApEpCTMwS.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] V_xxxx not running ?

2005-07-23 Thread Enrico Scholz
[EMAIL PROTECTED] (Brian Ipsen) writes:

 After upgrading to v2.0-rc8.1 and installing utils 0.30.208 I get this
 error dusing startup of my server:

 Starting v_httpd:  exec --ip eth0 /etc/init.d/httpd start

oops... some legacy scripts (inclusive vsysvwrapper) were not updated to
a new naming convention (it should be $_CHBIND but not $CHBIND in the
script).

I will fix it, although the v_* scripts will disappear soon.




Enrico


pgpNEKsYOQSP3.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] V_xxxx not running ?

2005-07-23 Thread Herbert Poetzl
On Sat, Jul 23, 2005 at 10:49:11AM +0200, Enrico Scholz wrote:
 [EMAIL PROTECTED] (Brian Ipsen) writes:
 
  After upgrading to v2.0-rc8.1 and installing utils 0.30.208 I get this
  error dusing startup of my server:
 
  Starting v_httpd:  exec --ip eth0 /etc/init.d/httpd start
 
 oops... some legacy scripts (inclusive vsysvwrapper) were not updated to
 a new naming convention (it should be $_CHBIND but not $CHBIND in the
 script).
 
 I will fix it, although the v_* scripts will disappear soon.

and be replaced by? 

btw, excellent work the 0.30.208 release!


I will provide a few updates to the kernel
headers and the alternative syscall macros
tomorrow ...

best,
Herbert

 Enrico

 ___
 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] How to build first vserver ?

2005-07-23 Thread Benoît des Ligneris
Hello,


Enrico Scholz a écrit :
 [EMAIL PROTECTED] (Brian Ipsen) writes:
 
 
Next, I have an issue with the setup in general... I mount
/vservers/dns-int as a lvm-partition ..
 
 
 Sorry; not supported yet.


Well, we have several vservers (60 and more on 20 servers+) set up like
this (either a globale LVM /vservers partition or one LVM partition by
vserver /lvm/vservers/dns, etc.) and we never had any trouble.

Can you describe your setup as well as the ouptut of lvdisplay,
vgdisplay, fstab, etc. ?

Ben

-- 
Benoît des Ligneris Ph. D.
Président / C.E.O. Revolution Linux  http://www.revolutionlinux.com/

Toutes les opinions et les prises de position exprimées dans ce courriel
sont celles de son auteur et ne représentent pas nécessairement celles
de Révolution Linux.

Any views and opinions expressed in this email are solely those of the
author and do not necessarily represent those of Revolution Linux.

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


RE: [Vserver] How to build first vserver ?

2005-07-23 Thread Brian Ipsen
Hi,

 Next, I have an issue with the setup in general... I mount 
 /vservers/dns-int as a lvm-partition ..

  Sorry; not supported yet.

 Well, we have several vservers (60 and more on 20 servers+) 
 set up like this (either a globale LVM /vservers partition or 
 one LVM partition by vserver /lvm/vservers/dns, etc.) and we 
 never had any trouble.
 
 Can you describe your setup as well as the ouptut of 
 lvdisplay, vgdisplay, fstab, etc. ?

# lvdisplay
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open
  --- Logical volume ---
  LV Name/dev/volgrp1/dns-ext
  VG Namevolgrp1
  LV UUIDDvVg6C-pHWx-JAMI-Ggwd-Zabv-O2bZ-m8tTao
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size2,00 GB
  Current LE 64
  Segments   1
  Allocation inherit
  Read ahead sectors 0
  Block device   253:0

  --- Logical volume ---
  LV Name/dev/volgrp1/dns-int
  VG Namevolgrp1
  LV UUIDHKF0el-Flal-K2Br-kDnP-FsML-zDGk-7toVCr
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size2,00 GB
  Current LE 64
  Segments   1
  Allocation inherit
  Read ahead sectors 0
  Block device   253:1


# vgdisplay
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open
  --- Volume group ---
  VG Name   volgrp1
  System ID
  Formatlvm2
  Metadata Areas1
  Metadata Sequence No  3
  VG Access read/write
  VG Status resizable
  MAX LV0
  Cur LV2
  Open LV   2
  Max PV0
  Cur PV1
  Act PV1
  VG Size   7,41 GB
  PE Size   32,00 MB
  Total PE  237
  Alloc PE / Size   128 / 4,00 GB
  Free  PE / Size   109 / 3,41 GB
  VG UUID   gsaR3l-U8hZ-ch5g-hvYh-2O2b-xGx3-E5vUA7

# cat /etc/fstab | grep volgrp1
/dev/volgrp1/dns-ext/vservers/dns-ext   ext3defaults1 2
/dev/volgrp1/dns-int/vservers/dns-int   ext3defaults1 2

Even though I'm using --force, it still complaints and tries to rename the
mountpoint...

2nd: I'm not sure why the vg-commands reports those file descriptor
messages, but assume it's a minor issue...

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