[Vserver] quota and webmin on debian etch hostguest

2007-08-03 Thread ADNET Ghislain

Hi,

I have successfully installed a vserver on it's own partition and used 
a vroot device to add the quota to it. It works but i have two issues:


1/ i cannot do repquota /, only repquota /dev/hdv1 work
2/ webmin 1.350 quota extention does not work with the setup


i have :

Versions:
  Kernel: 2.6.21.5-vs2.2.0
  VS-API: 0x00020200
util-vserver: 0.30.213; Jul 14 2007, 19:48:12

Features:
  CC: gcc, gcc (GCC) 4.1.2 20061115 (prerelease) 
(Debian 4.1.1-21)
 CXX: g++, g++ (GCC) 4.1.2 20061115 (prerelease) 
(Debian 4.1.1-21)

CPPFLAGS: ''
  CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W 
-funit-at-a-time'
CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W 
-fmessage-length=0 -funit-at-a-time'

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

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



disk:

/dev/mapper/volume1-vservers on /vservers/myvserver01 type ext3 
(rw,noatime,usrquota,grpquota)



/usr/local/etc/vservers/monte03/fstab

none/proc   proc
defaults0 0
none/dev/ptsdevpts  
gid=5,mode=620  0 0
/dev/volume1/tmp40284   /tmpext3
defaults,rw,noatime,nodev,noexec,nosuid 0 2


 more /usr/local/etc/vservers/monte03/ccapabilities
quota_ctl

 more /usr/local/etc/vservers/monte03/apps/init/mtab
/dev/hdv1   /   ufs
defaults,noatime,usrquota,grpquota  0   0




in the guest i have:

monte03:/%(root) mount
/dev/hdv1 on / type ufs (defaults,noatime,usrquota,grpquota)
none on /proc type proc (defaults)
none on /dev/pts type devpts (gid=5,mode=620)
/dev/volume1/tmp40284 on /tmp type ufs 
(defaults,rw,noatime,nodev,noexec,nosuid)




So i wonder what i missed here, why does the repquota command does not 
work with the '/' and why webmin refuse to work on this setup :(


--
Cordialement,
Ghislain


smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] disk quota and vhashify

2007-06-13 Thread ADNET Ghislain

Hi,

 To have disk quotas it seems the best to have a partition for each 
Vserver guests. But vhashify use hardlink and i think it does not cross 
partition.  What would be the best way to have vhashify AND quota on the 
vserver ?



 *Is there a way to implement user/group quota per VServer?*

A: Yes, but not on a shared partition for now. You need to put the guest 
on a separate partition, setup a vroot device (to make the quota access 
secure), copy that into the guest, and adjust the mtab line inside the 
guest.



  is disk limits the solution ? how disk limit work with the quota 
support ?


http://oldwiki.linux-vserver.org/Disk+Limits

  this tells that it set limits but i don't know how this interact with 
the quota utilities or the likes. Anyone ghas experiences on how it works ?



--
Cordialement,
Ghislain


smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] New Debian Document

2007-06-04 Thread ADNET Ghislain

Ben Green a écrit :
I put together some documentation for Psand.net about a vserver setup 
I did for them. They release pretty much everything they do as open 
source. They asked me to make it generic so that it could be put on 
their website flakey.info  (They release pretty much everything they 
do as openly). It's for Debian etch basically. Any suggestions for 
how to improve this would be much appreciated. The document is 
situated at:


http://flakey.info/linux/vservers-on-debian-linux.html

It's released under the GFDL.

Cheers


thanks for sharing this with us :)


--
Cordialement,
Ghislain



smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] debian host wants centos guest

2007-05-11 Thread ADNET Ghislain

Chuck a écrit :

On Thursday 15 February 2007 07:52, ADNET Ghislain wrote:

i used a pre-made centos guest (bare bones) and had the same problem. i had to 
manually download and install rpm and yum to get a workable system. i use 
these centos4 and centos64 guests on a gentoo amd64 host and they work fine 
now.





thanks  ,


i setup the beast and have yum installed but..:

bash-3.00# yum update
Setting up Update Process
Setting up repositories
not using ftp, http[s], or file for repos, skipping - Null is not a valid 
release or hasnt been released yet
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update

i cannot seems to make this works :)
using vyum on the host works (this is how i setup yum on the guest. But inside 
it it fails :(

 i tried to install whitebox linux but i failed also to find how to build the 
guest so i stick with centos :)


--
Cordialement,
Ghislain



smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] [Release] Stable 2.2.0

2007-04-25 Thread ADNET Ghislain

[EMAIL PROTECTED] a écrit :

Herbert Poetzl a écrit :

Greetings Community!

after a longer rc stage, to get rid of all the
minor issues, we proudly present the first release
of the new stable 2.2 branch, which includes all
the 'considered stable' features of the previous
devel branch (2.1.x) which has been superceded by
the 2.3.x devel branch ...

http://www.13thfloor.at/vserver/s_rel26/v2.2.0/
(tools supposed to work fine on Mandriva 2007.x)

thanks to all who helped in development and did
test the release candidates ...

enjoy,
Herbert



should that be on the vserver website also ? :)
i am not too familiar with the wiki to add it myself as i tried and 
failed ;)



--
Cordialement,
Ghislain



smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] bastion host

2007-04-23 Thread ADNET Ghislain

hello,

I run vserver to isolate webserver from the real host. From time to 
time i have a process than run wild and block everything. I cannot even 
connect (ssh) to the Host. Which would be the more efficient way to 
configure the system so that vservers cannot prevent the host to work 
even if they are at max disk/network/cpu usage.



 The host itself does only run ssh and some monitoring tool. So it stay 
idle most of the time.


 The goal is to allways be able to connect to the host and manage 
things from here to recover from issues. What best practice do you use 
with vservers to acheive this goal ?


--
Cordialement,
Ghislain


smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] routing between host and guest

2007-02-09 Thread ADNET Ghislain
From what i got it seems that the  traffic from host to guest goes by the lo interface. The logs indicate that it does 
not DNAT from lo :



Feb  9 12:30:30 server kernel: OUTROUTEIN= OUT=lo SRC=my.pub.lic.ip DST=my.pub.lic.ip LEN=60 TOS=0x10 PREC=0x00 TTL=64 
ID=14753 DF PROTO=TCP SPT=42145 DPT=80 SEQ=3647414246 ACK=0 WINDOW=32792 RES=0x00 SYN URGP=0
Feb  9 12:30:30 server kernel: OUTPUTIN= OUT=lo SRC=my.pub.lic.ip DST=my.pub.lic.ip LEN=60 TOS=0x10 PREC=0x00 TTL=64 
ID=14753 DF PROTO=TCP SPT=42145 DPT=80 SEQ=3647414246 ACK=0 WINDOW=32792 RES=0x00 SYN URGP=0
Feb  9 12:30:30 server kernel: POSTROUTEIN= OUT=lo SRC=my.pub.lic.ip DST=my.pub.lic.ip LEN=60 TOS=0x10 PREC=0x00 TTL=64 
ID=14753 DF PROTO=TCP SPT=42145 DPT=80 SEQ=3647414246 ACK=0 WINDOW=32792 RES=0x00 SYN URGP=0
Feb  9 12:30:30 server kernel: INPUTIN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=my.pub.lic.ip 
DST=my.pub.lic.ip LEN=60 TOS=0x10 PREC=0x00 TTL=64 ID=14753 DF PROTO=TCP SPT=42145 DPT=80 SEQ=3647414246 ACK=0 
WINDOW=32792 RES=0x00 SYN URGP=0
Feb  9 12:30:30 server kernel: OUTPUTIN= OUT=lo SRC=my.pub.lic.ip DST=my.pub.lic.ip LEN=40 TOS=0x10 PREC=0x00 TTL=64 
ID=0 DF PROTO=TCP SPT=80 DPT=42145 SEQ=0 ACK=3647414247 WINDOW=0 RES=0x00 ACK RST URGP=0
Feb  9 12:30:30 server kernel: INPUTIN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=my.pub.lic.ip 
DST=my.pub.lic.ip LEN=40 TOS=0x10 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=80 DPT=42145 SEQ=0 ACK=3647414247 WINDOW=0 
RES=0x00 ACK RST URGP=0




 my log rule in postroute is triggered bu not he one i put in prerouting is it normal that traffic on lo bypass 
PREROUTING or do i made a mistake here ?



Chain PREROUTING (policy ACCEPT 4601 packets, 239K bytes)
 pkts bytes target prot opt in out source   destination
0 0 pre10.11.1.1  all  --  lo *   0.0.0.0/0
my.pub.lic.ip
 1389 79355 pre10.11.1.1  all  --  *  *   0.0.0.0/0
my.pub.lic.ip



regards,
Ghislain.



server:/usr/local/.aqadmin/home%(aqadmin) ifconfig
eth0  Lien encap:Ethernet  HWaddr 00:30:48:80:35:98
  inet adr:my.pub.lic.ip  Bcast:my.public.net.255  
Masque:255.255.255.240
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:50547354 errors:0 dropped:0 overruns:0 frame:0
  TX packets:46120605 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 lg file transmission:100
  RX bytes:967618327 (922.7 MiB)  TX bytes:208844340 (199.1 MiB)
  Adresse de base:0xb000 Mémoire:f000-f002

eth0: Lien encap:Ethernet  HWaddr 00:30:48:80:35:98
  inet adr:10.11.1.1  Bcast:0.0.0.0  Masque:255.255.255.255
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  Adresse de base:0xb000 Mémoire:f000-f002

loLien encap:Boucle locale
  inet adr:127.0.0.1  Masque:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:188383 errors:0 dropped:0 overruns:0 frame:0
  TX packets:188383 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 lg file transmission:0
  RX bytes:24591743 (23.4 MiB)  TX bytes:24591743 (23.4 MiB)



server:/usr/local/.aqadmin/home%(aqadmin) sudo iptables -L -vn
Chain INPUT (policy ACCEPT 51M packets, 30G bytes)
 pkts bytes target prot opt in out source   destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target prot opt in out source   destination

Chain OUTPUT (policy ACCEPT 46M packets, 3496M bytes)
 pkts bytes target prot opt in out source   destination


server:/usr/local/.aqadmin/home%(aqadmin) sudo iptables -L -vn -t nat
Chain PREROUTING (policy ACCEPT 4601 packets, 239K bytes)
 pkts bytes target prot opt in out source   destination
  666 34304 pre10.11.1.1  all  --  *  *   0.0.0.0/0
my.pub.lic.ip

Chain POSTROUTING (policy ACCEPT 9432 packets, 644K bytes)
 pkts bytes target prot opt in out source   destination
8   518 post10.11.1.1  all  --  *  *   10.11.1.1   
!10.11.1.1

Chain OUTPUT (policy ACCEPT 34439 packets, 2175K bytes)
 pkts bytes target prot opt in out source   destination

Chain post10.11.1.1 (1 references)
 pkts bytes target prot opt in out source   destination
   74  4562 SNAT   all  --  *  *   0.0.0.0/00.0.0.0/0   
to:my.pub.lic.ip

Chain pre10.11.1.1 (1 references)
 pkts bytes target prot opt in out source   destination
  666 34304 DNAT   all  --  *  *   0.0.0.0/00.0.0.0/0   
to:10.11.1.1


server:/usr/local/.aqadmin/home%(aqadmin) telnet my.pub.lic.ip 80
Trying my.pub.lic.ip...
telnet: Unable to connect to remote host: Connection refused



server:/usr/local/.aqadmin/home%(aqadmin) telnet 10.11.1.1 80
Trying 10.11.1.1...
Connected to 

Re: [Vserver] routing between host and guest

2007-02-09 Thread ADNET Ghislain

ok found,

dnat for lo goes by -t nat -A OUTPUT and not -t nat -A prostrouting :)

--
Cordialement,
Ghislain


smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] routing between host and guest

2007-02-06 Thread ADNET Ghislain

Hello,

  I have some trouble with the routing between host and guest. I have guest having a 10.x ip and a public ip different 
from the host public IP. I have setup DNAT and SNAT between the 10.x and guest publicip and it works from outside but i 
cannot telnet port 80 into my guest from the host nor telnet on my guest public ip from inside the guest itself. Anyone 
can point a little how-to on this i googled but failed to find one ?



using 2.16.19.2 with 2.2.0rc10 patch on debian

--
Cordialement,
Ghislain


smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] 2 of 18 tests failed, Please report to vserver@list.linux-vserver.org

2006-11-27 Thread Adnet Ghislain



2.6.18.3-vs2.2.0-pre4 #4 SMP PREEMPT

util-vserver 0.30.211

Features:
  CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
 CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
CPPFLAGS: ''
  CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W'
CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W 
-fmessage-length=0'

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

Paths:
  prefix: /usr/local
   sysconf-Directory: ${prefix}/etc
   cfg-Directory: ${prefix}/etc/vservers
initrd-Directory: $(sysconfdir)/init.d
  pkgstate-Directory: ${prefix}/var/run/vservers
 vserver-Rootdir: /vservers

aqueos81247:~/util-vserver-0.30.211# make check
/bin/sed -e '...' pathconfig.h.pathsubst pathconfig.h
... no changes, reusing old version
chmod a-w util-vserver.spec
touch .fixups
make  check-recursive
make[1]: Entering directory `/root/util-vserver-0.30.211'
Making check in .
make[2]: Entering directory `/root/util-vserver-0.30.211'
/bin/sed -e '...' scripts/legacy/vps.pathsubst scripts/legacy/vps
... no changes, reusing old version
/bin/sed -e '...' contrib/manifest.dat.pathsubst contrib/manifest.dat
... no changes, reusing old version
rm -f lib/util-vserver.pc
test -z  ||  'lib/util-vserver.pc.subst' 'lib/util-vserver.pc'
chmod a-w lib/util-vserver.pc
/bin/sed -e '...' scripts/util-vserver-vars.pathsubst 
scripts/util-vserver-vars

... no changes, reusing old version
make  lib/testsuite/cflags lib/testsuite/personality lib/testsuite/fmt 
lib/testsuite/parselimit src/testsuite/rpm-fake-test 
src/testsuite/hashcalc src/testsuite/hashcalc-plain 
src/testsuite/vunify-functest src/testsuite/chcontext-test 
src/testsuite/chbind-test ensc_vector/testsuite/test1 
ensc_vector/testsuite/test2 lib_internal/testsuite/command 
lib_internal/testsuite/filecfg-ml lib_internal/testsuite/copy 
lib_internal/testsuite/isnumber lib_internal/testsuite/isnumber-gnu 
lib_internal/testsuite/sigbus lib_internal/testsuite/sigbus-gnu 
src/testsuite/vunify-test.sh src/testsuite/hashcalc-plain.sh 
src/testsuite/hashcalc.sh

make[3]: Entering directory `/root/util-vserver-0.30.211'
make[3]: « lib/testsuite/personality » est à jour.
make[3]: « lib/testsuite/fmt » est à jour.
make[3]: « lib/testsuite/parselimit » est à jour.
make[3]: « src/testsuite/rpm-fake-test » est à jour.
make[3]: « src/testsuite/hashcalc » est à jour.
make[3]: « src/testsuite/hashcalc-plain » est à jour.
make[3]: « src/testsuite/vunify-functest » est à jour.
make[3]: « src/testsuite/chcontext-test » est à jour.
make[3]: « src/testsuite/chbind-test » est à jour.
make[3]: « ensc_vector/testsuite/test1 » est à jour.
make[3]: « ensc_vector/testsuite/test2 » est à jour.
make[3]: « lib_internal/testsuite/command » est à jour.
make[3]: « lib_internal/testsuite/filecfg-ml » est à jour.
make[3]: « lib_internal/testsuite/copy » est à jour.
make[3]: « lib_internal/testsuite/isnumber » est à jour.
make[3]: « lib_internal/testsuite/isnumber-gnu » est à jour.
make[3]: « lib_internal/testsuite/sigbus » est à jour.
make[3]: « lib_internal/testsuite/sigbus-gnu » est à jour.
make[3]: Rien à faire pour « src/testsuite/vunify-test.sh ».
make[3]: Rien à faire pour « src/testsuite/hashcalc-plain.sh ».
make[3]: Rien à faire pour « src/testsuite/hashcalc.sh ».
make[3]: Leaving directory `/root/util-vserver-0.30.211'
make  check-TESTS
make[3]: Entering directory `/root/util-vserver-0.30.211'
PASS: lib/testsuite/cflags
PASS: lib/testsuite/personality
PASS: lib/testsuite/fmt
PASS: lib/testsuite/parselimit
PASS: src/testsuite/vunify-functest
PASS: src/testsuite/chcontext-test
PASS: src/testsuite/chbind-test
PASS: src/testsuite/vunify-test.sh
SHA-1 mismatch at rand-0
FAIL: src/testsuite/hashcalc-plain.sh
SHA-1 mismatch at rand-0
FAIL: src/testsuite/hashcalc.sh
PASS: ensc_vector/testsuite/test1
PASS: ensc_vector/testsuite/test2
PASS: lib_internal/testsuite/filecfg-ml
PASS: lib_internal/testsuite/copy-check
PASS: lib_internal/testsuite/isnumber
PASS: lib_internal/testsuite/isnumber-gnu
PASS: lib_internal/testsuite/sigbus
PASS: lib_internal/testsuite/sigbus-gnu
===
2 of 18 tests failed
Please report to vserver@list.linux-vserver.org
===
make[3]: *** [check-TESTS] Erreur 1
make[3]: Leaving directory `/root/util-vserver-0.30.211'
make[2]: *** [check-am] Erreur 2
make[2]: Leaving directory `/root/util-vserver-0.30.211'
make[1]: *** [check-recursive] Erreur 1
make[1]: Leaving directory `/root/util-vserver-0.30.211'
make: *** [check] Erreur 2


--
Cordialement,
Ghislain



smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver 

[Vserver] which version to choose for a new install

2006-11-23 Thread Adnet Ghislain

Hello,

 If we want to build new box with vserver on them, what version 
stable/dev/prepatch  should we choose ?  We know the kernel has seen 
some major bug squeeze those last weeks and stable version is laggin a 
little in kernel version. So what is the best choice about this ? should 
we stick with stable and be .0.01 late in kernel or take dev one, will 
this be a problem ? will version be switched soon (dev=stable) as hints 
on the list seems to indicate ?  Any advice on wich version to choose ? :)


--
Cordialement,
Ghislain



smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] setting the xid of a guest

2006-09-28 Thread Adnet Ghislain
i created a guest without giving the context at creation time. It does 
not run so i tried to add a number in context but this does not help. 
Any hint ? :)



mycomp01:/usr/local/etc/vservers/S1.myvserver01# more 
/usr/local/etc/vservers/S1.myvserver01/context

10
mycomp01:/usr/local/etc/vservers/S1.myvserver01# vserver S1.myvserver01 
start
vshelper.init: can not determine xid of vserver 'S1.myvserver01'; 
returned value was ''


--
Cordialement,
Ghislain


smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] guest network interface disappears

2006-08-01 Thread ADNET Ghislain


 Further hint: I've placed this as line in /etc/rc.d/rc.local on the
 host so it get's loaded already on boot, that makes it easier.

   

the sysctl.conf file seems more appropriate for this kind of settings,
see man page for syntax :)

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


[Vserver] kernel exploit, vserver and 2.6.17.6.

2006-07-18 Thread ADNET Ghislain
Hello there,

  Does anyone has tested vserver with the lastest kernels :2.6.17.6. ? 
Seems it should work but i am reluctant to try this on a production
system, anyone has experience in this ?

-- 
Cordialement,
Ghislain ADNET.
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Quick question

2006-05-23 Thread ADNET Ghislain
thanks for the hint !!
 on sarge i use the packages from backports.org, versions 0.30.210 and
 4.1.2.  instructions for using backports.org are at
 http://backports.org/instructions.html.

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


Re: [Vserver] vserver build docs, and vserver docs in general

2006-05-20 Thread ADNET Ghislain




I will gladly do that if i knowed his email adress. In fact i looked at
the page but i do not see any way to contact him, now i know the name
of the author i searched on the 'hall of fame' page but this is not
spammer friendly so there is no adress :)

If you hear us Enrico ! Accept our respectfull request to switch the
css to weedpage along with our thanks for your work on this project :)

Cordialement,
Ghislain ADNET.

  
well, how about contacting Enrico and kindly asking 
him to make some other stylesheet (e.g. weedpage)
the default stylesheet? ever thought/tried that?

best,
Herbert
  



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


Re: [Vserver] vserver guest sharing the eth0 of host

2006-05-10 Thread ADNET Ghislain




this seems to do the trick !  Thanks a lot :)

Cordialement,
Ghislain ADNET.
AQUEOS.

Attention !  Pour toute demande de support
ou commande de domaine utilisez désormais: 

http://support.aqueos.net.   


  

   
  AQUEOS
- Service Informatique
1, Rue Albert Einstein
77420 Champs sur marne
  
  
Service technique :  http://support.aqueos.net
Service commercial :  [EMAIL PROTECTED]
Tel : 01.64.02.99.37, Fax: 0 1.72.70.32.66
  
  

  





  Your trouble might get solved when you touch a file with the name nodev
in the interface dir of the corresponding interface.

Example: touch /etc/vservers/guestname/interfaces/0/nodev

That will avoid ifconfig for the defined interface.

hth Markus
___
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] vserver guest sharing the eth0 of host

2006-05-09 Thread ADNET Ghislain




Hi,

 I am testing vserver and all works well for me but one thing. I have
a server with one public IP. I use vserver to have 2 vserver, one is
the prod one and the other is a test one. I start one after stopping
the other (they never runs at the same time). I have a problem in the
fact that i use the eth0 of the host for both of them.

 My issue is that when i shut down one of the vserver it shutdown
completly the eth0 interface of the Host... I really find the
documentation troubling. This patchwork of different "how-to", "faq"
and articles is really hard to grasp for a new user of vserver. 


to come back on my problem:


/usr/src/util-vserver-0.30.210# vserver mailservertest stop
Stopping periodic command scheduler: cron.
Stopping ClamAV daemon: clamd
Stopping ClamAV virus database updater: freshclam
Stopping MTA: exim4.
Stopping internet superserver: inetd.
Stopping SpamAssassin Mail Filter Daemon: spamd.
Saving the System Clock time to the Hardware Clock...
hwclock is unable to get I/O port access: the iopl(3) call failed.
Hardware Clock updated to Tue May 9 19:52:31 UTC 2006.
Stopping deferred execution scheduler: atd.
Stopping kernel log daemon: klogd.
Stopping system log daemon: syslogd.
Sending all processes the TERM signal...done.
Sending all processes the KILL signal...done.
Saving random seed...done.
Unmounting remote and non-toplevel virtual filesystems...done.
Deconfiguring network interfaces...done.
Cleaning up ifupdown...done.
Deactivating swap...umount: none: not found
umount: /tmp: must be superuser to umount
Not superuser.
done.
Unmounting local filesystems...umount: none: not found
umount: /tmp: must be superuser to umount
umount: /dev/hdv1: not found
umount: /: not mounted
done.
mount: permission denied
Rebooting... ifdown: shutdown eth0: Permission denied
:/usr/src/util-vserver-0.30.210#



at this point the server loose the network. i have not the "Enable
different security models" setup as the FAQ says. I do not see
anything special, any hints ?


-- 
Cordialement,
Ghislain ADNET.


# vserver-info
Versions:
 Kernel: 2.6.16.11-vs2.0.2-rc18
 VS-API: 0x00020001
 util-vserver: 0.30.210; May 9 2006, 21:43:40

Features:
 CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
 CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
 CPPFLAGS: ''
 CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W'
 CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
-fmessage-length=0'
 build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
 Use dietlibc: no (you have been warned)
 Build C++ programs: yes
 Build C99 programs: yes
 Available APIs: v13,net
 ext2fs Source: e2fsprogs
 syscall(2) invocation: fast
 vserver(2) syscall#: 273/glibc

Paths:
 prefix: /usr/local
 sysconf-Directory: ${prefix}/etc
 cfg-Directory: ${prefix}/etc/vservers
 initrd-Directory: $(sysconfdir)/init.d
 pkgstate-Directory: ${prefix}/var/run/vservers
 vserver-Rootdir: /vservers




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