[Vserver] having a routing problem from guests

2006-09-28 Thread Chuck
my 32 net guests cannot contact outside 39 net machines on our same network. 
they can contact other 39 net guests on the same host. conversely, the 
external 39 net machine cannot contact any 32 net ip on the vserver host or 
any guest..

the problem i had was when within a 32net guest if i ping a 39 net
external host, it goes out our 39 net card to the external host gets answered 
and routed back into our host on 32net since the source ip header in the 
packet is 32 net and the system ignores it.  setting below to 0 cures that.

am i doing something extremely stupid by disabling this or is it secure enough 
not to worry?

 we are protected by tons of acls in various routers plus a very strict 
iptables on the host.


i found below in sysctl.conf was set to 1. if i set it to 0 as shown 
everything works properly..

# Enables source route verification. 0 disables
net.ipv4.conf.default.rp_filter = 0

-- 

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


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


Re: [Vserver] XSL for http://wiki.linux-vserver.org/VServerConfiguration

2006-09-28 Thread Daniel Hokka Zakrisson

Tim Mecking wrote:

I forgot to attach the xsl template.


Thanks, I've added it to SVN (revision 2338).


With this new version you can choose whether to use the 'funky' signs or
 the full style names by applying an xsl parameter.

If full style names are used and minElements/maxElements values are set
in the xml there will be additional describing list entries with their
value.

Daniel Hokka Zakrisson wrote:


In general, I think
documentation that requires a key to read is bad.



Even if file types are printed by their full name some kind of legend is
required. Otherwise for most (new) users it would not be clear what is
meant by 'boolean' or 'scalar' files.


Ok, you got a point there, but I still think the words are better.

--
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] setting the xid of a guest

2006-09-28 Thread Daniel Hokka Zakrisson

Adnet Ghislain wrote:
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 ''


This means your guest isn't starting any process, and thus the context 
is gone before the start process is even finished. You could:
- change the initstyle to plain (echo plain > 
/usr/local/etc/vservers/S1.myvserver01/apps/init/style),
- set the persistent flag (echo ^38 >> 
/usr/local/etc/vservers/S1.myvserver01/flags),
- or simply chroot to your guest and run whatever command is needed to 
make sure a service is started on boot.


--
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] setting the xid of a guest

2006-09-28 Thread Herbert Poetzl
On Thu, Sep 28, 2006 at 11:24:20PM +0200, Adnet Ghislain wrote:
> 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 ? :)

well, let's try with a few basic hints from your
side first (like the kernel and tool version).
best get testme.sh and give it a spin, then attach
the output to your reply. also the output of
vserver-info - SYSINFO could be quite interesting.

TIA,
Herbert

> 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



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


[Vserver] Re: Virtual server monitor

2006-09-28 Thread Nicolas Costes
Le Mercredi 27 Septembre 2006 04:38, Guillaume Pratte a écrit :
> I would like to have the opinion of the mailing list about a tool I just
> released called 'Virtual server monitor' or 'vsmon' for short :
> 
> http://vsmon.revolutionlinux.com/
[...]


Hello !!!

In the page :
  http://vsmon.revolutionlinux.com/Virtual_server_monitor:Installation

...The url for the Django project is not :
  www.django-project.com (DNS catch-all)

But : http://www.djangoproject.com/

Bye ;-) !


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


Re: [Vserver] gentoo: vupdateworld from util-vserver ebuild gone?

2006-09-28 Thread Christian Heim
On Thursday, 28. September. 2006 10:52, Marcus Mülbüsch wrote:
> Hi all,
>
> Using the "sys-cluster/util-vserver-0.30.211_rc2" I no longer have
> the "vupdateworld" wrapper script available.
>
> vesync, vemerge and vdispatch-conf are also gone.

Yup, thanks to Daniel and Björn I know why. The file the patch for the 
inclusion was touching (scripts/Makefile-files) is included when running 
(e)automake, thus was no longer included to the Makefile, thus not being 
installed.

> Additionally, emerging that ebuild with the USE-Flag
> "bash-completion" fails with a
>
> "cp: cannot stat `contrib/bash_completion': No such file or directory
>
> !!! ERROR: sys-cluster/util-vserver-0.30.211_rc2 failed."

And that's supposed to happen when contrib/bash_completion is missing. That 
was caused by a corrupt patch, that added the files to 
util-vserver/util-vserver/, where the ebuild isn't looking.

Both "bugs" should be fixed now (haven't tried to emerge util-vserver with 
USE=bash-completion), I just commited the corresponding fixes. Thanks for 
spotting them!

-- 
Christian Heim 
GPG key ID: 9A9F68E6
Fingerprint: AEC4 87B8 32B8 4922 B3A9 DF79 CAE3 556F 9A9F 68E6

Your friendly treecleaner/mobile/kernel/vserver/openvz monkey


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


Re: [Vserver] how to set capabilities in Debian

2006-09-28 Thread Herbert Poetzl
On Thu, Sep 28, 2006 at 06:34:48PM +0200, Wilhelm Meier wrote:
> Am Donnerstag, 28. September 2006 16:42 schrieb Herbert Poetzl:
> > On Thu, Sep 28, 2006 at 08:03:29AM +0200, Wilhelm Meier wrote:
> > > Am Mittwoch, 27. September 2006 16:40 schrieb Herbert Poetzl:
> > > > > H242-meier vserver.nfs # sysctl -a | grep sun
> > > > > error: "Operation not permitted" reading key "net.ipv4.route.flush"
> > > > > sunrpc.tcp_slot_table_entries = 16
> > > > > sunrpc.udp_slot_table_entries = 16
> > > > > sunrpc.nlm_debug = 0
> > > > > sunrpc.nfsd_debug = 1
> > > > > sunrpc.nfs_debug = 0
> > > > > sunrpc.rpc_debug = 1
> > > >
> > > > different values here will enable different debug
> > > > output, I would prefer something like 65535 there
> > > > (which will enable full output)
> > >
> > > The setting on the nfs-server:
> > >
> > > H242-meier ~ # sysctl -a | grep sun
> > > error: "Operation not permitted" reading key "net.ipv4.route.flush"
> > > sunrpc.tcp_slot_table_entries = 16
> > > sunrpc.udp_slot_table_entries = 16
> > > sunrpc.nlm_debug = 0
> > > sunrpc.nfsd_debug = 65535
> > > sunrpc.nfs_debug = 0
> > > sunrpc.rpc_debug = 65535
> > > H242-meier ~ #
> > >
> > > The log on the nfs-server:
> > >
> > > Sep 28 07:55:31 H242-meier device vmnet1 entered promiscuous mode
> > > Sep 28 07:55:49 H242-meier rpc.mountd: MNT3(/home) called
> > > Sep 28 07:55:49 H242-meier rpc.mountd: authenticated mount request from
> > > vs01:1009 for /home (
> > > /home) Sep 28 07:55:50 H242-meier nfsd: exp_rootfh(/home [f235c628]
> > > *:hda2/2277377) Sep 28 07:55:50 H242-meier nfsd: fh_compose(exp
> > > 03:02/2277377 //home, ino=2277377)
> > > Sep 28 07:56:09 H242-meier device vmnet1 left promiscuous mode
> > >
> > > The settings on the vserver-host:
> > >
> > > gs ~ # sysctl -a | grep sun
> > > error: "Success" reading key "dev.parport.parport0.autoprobe3"
> > > error: "Success" reading key "dev.parport.parport0.autoprobe2"
> > > error: "Success" reading key "dev.parport.parport0.autoprobe1"
> > > error: "Success" reading key "dev.parport.parport0.autoprobe0"
> > > error: "Success" reading key "dev.parport.parport0.autoprobe"
> > > error: "Operation not permitted" reading key "net.ipv4.route.flush"
> > > sunrpc.max_resvport = 1023
> > > sunrpc.min_resvport = 650
> > > sunrpc.tcp_slot_table_entries = 16
> > > sunrpc.udp_slot_table_entries = 16
> > > sunrpc.nlm_debug = 0
> > > sunrpc.nfsd_debug = 0
> > > sunrpc.nfs_debug = 65535
> > > sunrpc.rpc_debug = 65535
> > > gs ~ #
> > >
> > >
> > > The log on the vserver-host:
> > >
> > > Sep 27 22:13:18 gs rpciod_up: users 0
> > > Sep 27 22:13:18 gs RPC:  setting up tcp-ipv4 transport...
> > > Sep 27 22:13:18 gs RPC:  created transport cf91b400 with 16 slots
> > > Sep 27 22:13:18 gs RPC:  xprt_create_proto created xprt cf91b400
> > > Sep 27 22:13:18 gs RPC: creating nfs client for 192.168.39.1 (xprt
> > > cf91b400) Sep 27 22:13:18 gs RPC:  destroying transport cf91b400
> > > Sep 27 22:13:18 gs RPC:  xs_destroy xprt cf91b400
> > > Sep 27 22:13:18 gs RPC:  disconnected transport cf91b400
> > > Sep 27 22:13:18 gs nfs_create_client: cannot create RPC client. Error
> > > = -812534784
> > > Sep 27 22:13:18 gs rpciod_down sema 1
> > > Sep 27 22:13:18 gs nfs_get_sb: bad mount version
> > >
> > > (  )
> > > This doesn't semm to look good?
> > >
> > > Attached the tcpdump.
> > >
> > > > could you try with a v3,tcp mount too?
> > >
> > > The trace of the mount inside the vs:
> > >
> > > vs01 / # strace mount 192.168.39.1:/home /home -o nfsvers=3,nolock,tcp
> > > execve("/bin/mount",
> > > ["mount", "192.168.39.1:/home", "/home", "-o", "nfsvers=3,nolock,tcp"],
> > > [/* 26 vars */]) = 0
> > > uname({sys="Linux", node="vs01", ...})  = 0
> > > brk(0)  = 0x8063000
> > > access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or
> > > directory)
> > > open("/etc/ld.so.cache", O_RDONLY)  = 3
> > > fstat64(3, {st_mode=S_IFREG|0644, st_size=12117, ...}) = 0
> > > mmap2(NULL, 12117, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f4e000
> > > close(3)= 0
> > > open("/lib/libblkid.so.1", O_RDONLY)= 3
> > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\35\0"..., 512)
> > > = 512
> > > fstat64(3, {st_mode=S_IFREG|0755, st_size=28764, ...}) = 0
> > > mmap2(NULL, 30740, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
> > > = 0xb7f46000
> > > mmap2(0xb7f4d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
> > > MAP_DENYWRITE, 3, 0x6) = 0xb7f4d000
> > > close(3)= 0
> > > open("/lib/libuuid.so.1", O_RDONLY) = 3
> > > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0"...,
> > > 512) = 512
> > > fstat64(3, {st_mode=S_IFREG|0755, st_size=9600, ...}) = 0
> > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> > > = 0xb7f45000
> > > mmap2(NULL, 11

Re: [Vserver] Virtual server monitor

2006-09-28 Thread Guillaume Pratte




Tom Laermans a écrit :

  On Tue, 2006-09-26 at 22:38 -0400, Guillaume Pratte wrote:
  
  
Hello,

I would like to have the opinion of the mailing list about a tool I just 
released called 'Virtual server monitor' or 'vsmon' for short : 

http://vsmon.revolutionlinux.com/

  
  
Looks great! Once you have some .deb's I'll have to try it out ;)
  

Please help yourself : 

http://vsmon.revolutionlinux.com/Virtual_server_monitor:Installation#Debian_testing.2Funstable

The packages are far from beeing perfect, but they work :-)

-- 
Guillaume Pratte
Recherche et développement
Révolution Linux

Toutes les opinions et les prises de position exprimées dans ce courriel sont celles de son auteur et ne répresentent 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 set capabilities in Debian

2006-09-28 Thread Wilhelm Meier
Am Donnerstag, 28. September 2006 16:42 schrieb Herbert Poetzl:
> On Thu, Sep 28, 2006 at 08:03:29AM +0200, Wilhelm Meier wrote:
> > Am Mittwoch, 27. September 2006 16:40 schrieb Herbert Poetzl:
> > > > H242-meier vserver.nfs # sysctl -a | grep sun
> > > > error: "Operation not permitted" reading key "net.ipv4.route.flush"
> > > > sunrpc.tcp_slot_table_entries = 16
> > > > sunrpc.udp_slot_table_entries = 16
> > > > sunrpc.nlm_debug = 0
> > > > sunrpc.nfsd_debug = 1
> > > > sunrpc.nfs_debug = 0
> > > > sunrpc.rpc_debug = 1
> > >
> > > different values here will enable different debug
> > > output, I would prefer something like 65535 there
> > > (which will enable full output)
> >
> > The setting on the nfs-server:
> >
> > H242-meier ~ # sysctl -a | grep sun
> > error: "Operation not permitted" reading key "net.ipv4.route.flush"
> > sunrpc.tcp_slot_table_entries = 16
> > sunrpc.udp_slot_table_entries = 16
> > sunrpc.nlm_debug = 0
> > sunrpc.nfsd_debug = 65535
> > sunrpc.nfs_debug = 0
> > sunrpc.rpc_debug = 65535
> > H242-meier ~ #
> >
> > The log on the nfs-server:
> >
> > Sep 28 07:55:31 H242-meier device vmnet1 entered promiscuous mode
> > Sep 28 07:55:49 H242-meier rpc.mountd: MNT3(/home) called
> > Sep 28 07:55:49 H242-meier rpc.mountd: authenticated mount request from
> > vs01:1009 for /home (
> > /home) Sep 28 07:55:50 H242-meier nfsd: exp_rootfh(/home [f235c628]
> > *:hda2/2277377) Sep 28 07:55:50 H242-meier nfsd: fh_compose(exp
> > 03:02/2277377 //home, ino=2277377)
> > Sep 28 07:56:09 H242-meier device vmnet1 left promiscuous mode
> >
> > The settings on the vserver-host:
> >
> > gs ~ # sysctl -a | grep sun
> > error: "Success" reading key "dev.parport.parport0.autoprobe3"
> > error: "Success" reading key "dev.parport.parport0.autoprobe2"
> > error: "Success" reading key "dev.parport.parport0.autoprobe1"
> > error: "Success" reading key "dev.parport.parport0.autoprobe0"
> > error: "Success" reading key "dev.parport.parport0.autoprobe"
> > error: "Operation not permitted" reading key "net.ipv4.route.flush"
> > sunrpc.max_resvport = 1023
> > sunrpc.min_resvport = 650
> > sunrpc.tcp_slot_table_entries = 16
> > sunrpc.udp_slot_table_entries = 16
> > sunrpc.nlm_debug = 0
> > sunrpc.nfsd_debug = 0
> > sunrpc.nfs_debug = 65535
> > sunrpc.rpc_debug = 65535
> > gs ~ #
> >
> >
> > The log on the vserver-host:
> >
> > Sep 27 22:13:18 gs rpciod_up: users 0
> > Sep 27 22:13:18 gs RPC:  setting up tcp-ipv4 transport...
> > Sep 27 22:13:18 gs RPC:  created transport cf91b400 with 16 slots
> > Sep 27 22:13:18 gs RPC:  xprt_create_proto created xprt cf91b400
> > Sep 27 22:13:18 gs RPC: creating nfs client for 192.168.39.1 (xprt
> > cf91b400) Sep 27 22:13:18 gs RPC:  destroying transport cf91b400
> > Sep 27 22:13:18 gs RPC:  xs_destroy xprt cf91b400
> > Sep 27 22:13:18 gs RPC:  disconnected transport cf91b400
> > Sep 27 22:13:18 gs nfs_create_client: cannot create RPC client. Error
> > = -812534784
> > Sep 27 22:13:18 gs rpciod_down sema 1
> > Sep 27 22:13:18 gs nfs_get_sb: bad mount version
> >
> > (  )
> > This doesn't semm to look good?
> >
> > Attached the tcpdump.
> >
> > > could you try with a v3,tcp mount too?
> >
> > The trace of the mount inside the vs:
> >
> > vs01 / # strace mount 192.168.39.1:/home /home -o nfsvers=3,nolock,tcp
> > execve("/bin/mount",
> > ["mount", "192.168.39.1:/home", "/home", "-o", "nfsvers=3,nolock,tcp"],
> > [/* 26 vars */]) = 0
> > uname({sys="Linux", node="vs01", ...})  = 0
> > brk(0)  = 0x8063000
> > access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or
> > directory)
> > open("/etc/ld.so.cache", O_RDONLY)  = 3
> > fstat64(3, {st_mode=S_IFREG|0644, st_size=12117, ...}) = 0
> > mmap2(NULL, 12117, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f4e000
> > close(3)= 0
> > open("/lib/libblkid.so.1", O_RDONLY)= 3
> > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\35\0"..., 512)
> > = 512
> > fstat64(3, {st_mode=S_IFREG|0755, st_size=28764, ...}) = 0
> > mmap2(NULL, 30740, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
> > = 0xb7f46000
> > mmap2(0xb7f4d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
> > MAP_DENYWRITE, 3, 0x6) = 0xb7f4d000
> > close(3)= 0
> > open("/lib/libuuid.so.1", O_RDONLY) = 3
> > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0"...,
> > 512) = 512
> > fstat64(3, {st_mode=S_IFREG|0755, st_size=9600, ...}) = 0
> > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> > = 0xb7f45000
> > mmap2(NULL, 11544, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
> > = 0xb7f42000
> > mmap2(0xb7f44000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
> > MAP_DENYWRITE, 3, 0x1) = 0xb7f44000
> > close(3)= 0
> > open("/lib/libc.so.6", O_RDONLY)= 3

Re: [Vserver] vmware in vserver?

2006-09-28 Thread bognár attila






  
You might be spinning your wheels on that - many win-apps will detect
vmware and refuse to run - even Windows virus applications will usually
detect vmware and go into hiding.

  
  
Going way off-topic here, but I've never ever had any windows app refuse to
run because it was running inside a vmware instance.
  


There is at least one: VMware products :-)  - you cannot start a vm
inside a vm.
But I would be curious too what others are there.

attila



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


Re: [Vserver] Remounting external drive into vserver using --bind failed

2006-09-28 Thread Stefan Hepp

Hi,

Thanks, that's what i missed! Remounting the device inside the namespace 
too helps a lot :)


Regards,
 Stefan

Herbert Poetzl wrote:

did you unmount the 'original' usb mount _inside_
the guest namespace too? if not, that is very likely
to cause your issues ...

don't forget, the guest namespace will (atm) not
automatically 'inherit' changes from the host
namespace, so basically you want to do the following
after an usb unplug/replug inside the guest namespace

 umount -f /mnt/data/vservers/data/media/usb0
 umount -f /media/usb0
 mount /some/usb/dev /media/usb0
 mount --bind /media/usb0 /mnt/data/vservers/data/media/usb0

otherwise, all you will get is an empty dir

HTC,
Herbert
  

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


Re: [Vserver] XSL for http://wiki.linux-vserver.org/VServerConfiguration

2006-09-28 Thread Tim Mecking
I forgot to attach the xsl template.

With this new version you can choose whether to use the 'funky' signs or
 the full style names by applying an xsl parameter.

If full style names are used and minElements/maxElements values are set
in the xml there will be additional describing list entries with their
value.

Daniel Hokka Zakrisson wrote:
> In general, I think
> documentation that requires a key to read is bad.

Even if file types are printed by their full name some kind of legend is
required. Otherwise for most (new) users it would not be clear what is
meant by 'boolean' or 'scalar' files.

Ciao
Tim

http://www.w3.org/1999/XSL/Transform"; xmlns="http://www.w3.org/1999/xhtml"; version="2.0">
	
	
	
	

	
		The contents of the  directory
		
			
Directory names are written in bold letters.

Boolean files are files without content. Only existence matters.

Scalar files are files with only one line (one value).

List files are files with multiple values. One value per line.

Hash files are files with multiple key/value pairs. One key/value pair per line.

Symbolic names (variables) are written in italic letters.
			
			
Directories are marked with a trailing / and bold letters.
		
Scripts are marked with a trailing superscript *.
		
Hash files (with key/value pairs) are marked with a trailing superscript #.
		
Boolean files (without content) are marked with a trailing superscript 0.
		
Scalar files (with only one line) are marked with a trailing superscript 1.
		
List files (with multiple lines) are marked with a trailing superscript min - max sequence, where min is the minimum and max the maximum number of lines.
		
Symlinks are marked with a trailing superscript @.
		
Data files have no special mark up.
		
Symbolic names (variables) are written in italic letters.
			
		
		
		
			
		
		This page is automatically created by XSL transformation of configuration.xml. Additions, corrections, etc. should be made in that file, not in the Wiki page.
	

  


  


  

  

  

  


  
  



  
  

  

  


  

script
  
  

  

  


  

hash
  
  

  
  
  


  

file
  
  

  

  


  

data
  
  

  

  


  

list
  
  

  
  
  


  

symlink
  
  

  

  


  

boolean
  
  

  
  
  


  

directory
  
  

  
/
  

  

  
/
  
  

  

	
		
		
		
		'''
		/
		
			
'''

			
			

	/'''
	@
	0
	
		
		0
	-
		
		∞
	
	1
	*
	#
	
	???

			
		
	
	
	
		
		
		
		
		
		
			
			
		
		
		
		
		
	
	
	
	
	
		
			
Allowed values:

	

			
		
	
	
	
		
	

	
	
	
		
			

	

			
		
	
	
	
		
	

	
	
		
			

			
		
	
	
	
		
			

			
		
	

	
		
			
Possible values:

	

			
		
	
	
	
		
	
	
	
	
	
		
			
Will be called with the following parameters:

			
		
	
	
	
		
	
	
	
	
	
		
	

	
		
; Default : 
	"
  
	
		
; Since Version : 
	
	
	
	
	
	
	[]
	
	
	
	
	
	[[#
		
		
	|]]
	
	[file://]
  

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


Re: [Vserver] vmware in vserver?

2006-09-28 Thread Tom Laermans
> 
> You might be spinning your wheels on that - many win-apps will detect
> vmware and refuse to run - even Windows virus applications will usually
> detect vmware and go into hiding.

Going way off-topic here, but I've never ever had any windows app refuse to
run because it was running inside a vmware instance.

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


Re: [Vserver] vmware in vserver?

2006-09-28 Thread Michael S. Zick
On Thu September 28 2006 08:48, John Alberts wrote:
> I was curious about running vmware in a guest so that I could run an
> instance of windows on my linux box.  That's the only thing I wish
> vserver could do is let me run windows as a guest os.
>

You might be spinning your wheels on that - many win-apps will detect
vmware and refuse to run - even Windows virus applications will usually
detect vmware and go into hiding.

You might have better luck running Wine -


If you also have a licensed copy of the M$ dlls - you can set Wine
to pick and choose between the M$ dlls and the ones provided with Wine.

> Please don't start flaming with "Why would you use WINDOZE anyway?".
> Sometimes it's necessary, especially for Windows admins like myself.
> :)
> 
> Thanks for everyones input.
> 

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


RE: [Vserver] Problems with yum and centos42

2006-09-28 Thread John Cianfarani








I have vserver running on CentOS 4.3 

 

This guide seemed to work well for me

http://oldwiki.linux-vserver.org/CentOS_HowTo

 

Thanks

John

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Jorgensen
Sent: Wednesday, September 27,
2006 11:47 AM
To: vserver@list.linux-vserver.org
Subject: Fw: [Vserver] Problems
with yum and centos42



 





Hi all,

It's been a week but no reply to my problem.  Can anyone duplicate the
problem I'm having even?  Do I need to post more info?

Thanks,

jorgy





- Forwarded Message

From: Eric Jorgensen <[EMAIL PROTECTED]>
To: vserver@list.linux-vserver.org
Sent: Wednesday, September 20, 2006 12:23:52 PM
Subject: [Vserver] Problems with yum and centos42





Hello,

I am having recent troubles (I haven't built a guest in 2-3 weeks so it's been
since then) building a centos42 guest with yum.  I am running kernel
2.6.15.6-vs2.0.2-rc13 with util-vserver 0.30.210.  This had been working
up until just recently.  The command I am using is:

/usr/lib/util-vserver/vserver-build --debug --force -m yum
-n j_photos \    
--hostname=photos.unixguys.com --netdev=eth0 --interface 192.168.1.83 \
--netmask 255.255.255.0 -- -d centos42



The end of the log looks like (no errors earlier on):

++
/usr/lib/util-vserver/distributions/centos42/initpost /etc/vservers/j_photos
/usr/lib/util-vserver/util-vserver-vars
secure-mount: chdir("/tmp"): No such file or directory
/etc/vservers/j_photos/fstab:2:1: failed to mount fstab-entry
vcontext: execvp("bash"): No such file or directory

An error occured while executing the vserver startup sequence; when
there are no other messages, it is very likely that the init-script
(bash -c
    exec  >/dev/null
    exec 2>/dev/null

    set -x
    f=/tmp/startwait
    trap "rm -f $f" EXIT
    mkfifo $f
    ( sleep 10; kill -s 9 -- -1 ) &
    cat "$f" >/dev/null
    kill -s 9 -- -1
    wait
) failed.
Common causes are:
* /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build
  method knows how to deal with this, but on existing installations,
  appending 'true' to this file will help.


Failed to start vserver 'j_photos'
chroot-shopen("/etc/sysconfig/network"): No such file or directory
chroot-shopen("/etc/init.d/halt"): No such file or directory
chmod: cannot access `etc/init.d/halt': No such file or directory
chroot-shopen("etc/inittab"): No such file or directory


Any help would be greatly appreciated it!!

Thanks,

jorgy







___
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] Remounting external drive into vserver using --bind failed

2006-09-28 Thread Herbert Poetzl
On Thu, Sep 28, 2006 at 05:08:55PM +0200, Stefan Hepp wrote:
> Hi,
> 
> I am trying to mount an external harddisk into a vserver, but ran into 
> some troubles when using mount --bind/umount.
> 
> So, here is my setup:
> Debian 3.1 stable, Linux 2.6.17.11-grsec2.1.9-vs2.0.2 (self-compiled)
> util-vserver from testing, version 0.30.210-10
> udev from testing, version 0.093-1
> /mnt/data  second, big harddisk, ext3
> /media/usb0   external harddisk, ext3
> 
> And here is what I do:
> # vnamespace -e data mount --bind /media/usb0 
> /mnt/data/vservers/data/media/usb0
> works, can see files in vserver
> 
> # vnamespace -e data umount /mnt/data/vservers/data/media/usb0
> works too
> 
> Doing all this once again works too, however, when I unmount the bind, 
> then unplug the drive (the device is removed, then usbmount unmounts 
> /media/usb0) and plug it in again (device is created and mounted to 
> /media/usb0 again), the trouble starts:

did you unmount the 'original' usb mount _inside_
the guest namespace too? if not, that is very likely
to cause your issues ...

don't forget, the guest namespace will (atm) not
automatically 'inherit' changes from the host
namespace, so basically you want to do the following
after an usb unplug/replug inside the guest namespace

 umount -f /mnt/data/vservers/data/media/usb0
 umount -f /media/usb0
 mount /some/usb/dev /media/usb0
 mount --bind /media/usb0 /mnt/data/vservers/data/media/usb0

otherwise, all you will get is an empty dir

HTC,
Herbert

> # vnamespace -e data mount --bind /media/usb0 
> /mnt/data/vservers/data/media/usb0
> does not work, vnamespace -e data ls -a /media/usb0 doesn't show a 
> single entry (not even . and ..)
> the bind shows up in /proc/mounts
> 
> # vnamespace -e data mount --bind /media/usb0/Temp 
> /mnt/data/vservers/data/media/usb0
> mount: special device /media/usb0/Temp does not exist
> 
> # touch /media/usb0/Temp/test.txt
> works..
> 
> # vnamespace -e data umount /mnt/data/vservers/data/media/usb0
> works too, ls shows . and ..
> 
> # umount /media/usb0
> # vnamespace -e data mount /dev/sdb1 /mnt/data/vservers/data/media/usb0
> works. no problems when mounting the device itself, even when the device 
> is removed while still mounted.
> 
> After restarting the vserver, bind works again until the drive is
> unplugged. Unmounting /media/usb0 before it is removed, using --rbind
> or binding a sub-directory does not make any difference.
>
> This makes it impossible to bind a directory from the external
> harddisk into a vserver without restarting the vserver each time. I am
> currently trying to hack usbmount to remount the device itself without
> using --bind, which works for me, but simply binding would make it a
> lot easier ;) .
> 
> (For the records: testme.sh and testfs.sh report no errors)
> 
> Regards,
>  Stefan
> 
> ___
> 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] XSL for http://wiki.linux-vserver.org/VServerConfiguration

2006-09-28 Thread Tim Mecking
>> The 'funky' signs are basically taken from 'ls -F' ( '/' for directory,
>> '@' for symlinks, '*' for executables. The rest are supplemented ('#'
>> for hash files, ''/'-' for number of lines in the files).
>>
>> I think these signs are quite intuitive.
> 
> I disagree. Given that there are no min/max values for any file (AFAIK),
> it seems strange to use it in the documentation.

Currently you are right. But there are xml element definitions in the
schema for min/maxElements.

> In general, I think
> documentation that requires a key to read is bad. It's not like we're
> running out of space on the lines or anything, so just putting the
> actual word there seems like the most logical thing to me.

Ok, I changed the xsl.

> I noticed that the wiki page shows things that are commented in the XML
> source, is that intentional?

Oh, no.. I removed the comment begin/end to see if  lists work
and forgot to restore before inserting the xsl-output into the wiki.

> It should also use _ as the word separator
> in the name, like the other pages do.

The page name is taken from the old wiki page. But I just moved the page to
http://wiki.linux-vserver.org/VServer_Configuration

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


Re: [Vserver] vmware in vserver?

2006-09-28 Thread Herbert Poetzl
On Thu, Sep 28, 2006 at 08:48:04AM -0500, John Alberts wrote:
> I was curious about running vmware in a guest so that I could run an
> instance of windows on my linux box.  That's the only thing I wish
> vserver could do is let me run windows as a guest os.

well, no problem, get the soruces and adjust it so
that windows runs on a linux kernel, we'll do the
rest then to allow for installing windows guests :)

best,
Herbert

> Please don't start flaming with "Why would you use WINDOZE anyway?".
> Sometimes it's necessary, especially for Windows admins like myself.
> :)
> 
> Thanks for everyones input.
> 
> 
> On 9/28/06, ehab heikal <[EMAIL PROTECTED]> wrote:
> >But you can run vserver in a vmware linux setup.
> >
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] On Behalf Of John
> >Alberts
> >Sent: Wednesday, September 27, 2006 8:02 PM
> >To: vserver@list.linux-vserver.org
> >Subject: [Vserver] vmware in vserver?
> >
> >
> >Is it possible to run vmware-server in a vserver guest?
> >___
> >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
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Remounting external drive into vserver using --bind failed

2006-09-28 Thread Stefan Hepp

Hi,

I am trying to mount an external harddisk into a vserver, but ran into 
some troubles when using mount --bind/umount.


So, here is my setup:
Debian 3.1 stable, Linux 2.6.17.11-grsec2.1.9-vs2.0.2 (self-compiled)
util-vserver from testing, version 0.30.210-10
udev from testing, version 0.093-1
/mnt/data  second, big harddisk, ext3
/media/usb0   external harddisk, ext3

And here is what I do:
# vnamespace -e data mount --bind /media/usb0 
/mnt/data/vservers/data/media/usb0

works, can see files in vserver

# vnamespace -e data umount /mnt/data/vservers/data/media/usb0
works too

Doing all this once again works too, however, when I unmount the bind, 
then unplug the drive (the device is removed, then usbmount unmounts 
/media/usb0) and plug it in again (device is created and mounted to 
/media/usb0 again), the trouble starts:


# vnamespace -e data mount --bind /media/usb0 
/mnt/data/vservers/data/media/usb0
does not work, vnamespace -e data ls -a /media/usb0 doesn't show a 
single entry (not even . and ..)

the bind shows up in /proc/mounts

# vnamespace -e data mount --bind /media/usb0/Temp 
/mnt/data/vservers/data/media/usb0

mount: special device /media/usb0/Temp does not exist

# touch /media/usb0/Temp/test.txt
works..

# vnamespace -e data umount /mnt/data/vservers/data/media/usb0
works too, ls shows . and ..

# umount /media/usb0
# vnamespace -e data mount /dev/sdb1 /mnt/data/vservers/data/media/usb0
works. no problems when mounting the device itself, even when the device 
is removed while still mounted.


After restarting the vserver, bind works again until the drive is unplugged.
Unmounting /media/usb0 before it is removed, using --rbind or binding a 
sub-directory does not make any difference.


This makes it impossible to bind a directory from the external harddisk 
into a vserver without restarting the vserver each time.
I am currently trying to hack usbmount to remount the device itself 
without using --bind, which works for me, but simply binding would make 
it a lot easier ;) .


(For the records: testme.sh and testfs.sh report no errors)

Regards,
 Stefan

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


Re: [Vserver] how to set capabilities in Debian

2006-09-28 Thread Herbert Poetzl
On Thu, Sep 28, 2006 at 08:03:29AM +0200, Wilhelm Meier wrote:
> Am Mittwoch, 27. September 2006 16:40 schrieb Herbert Poetzl:
> > > H242-meier vserver.nfs # sysctl -a | grep sun
> > > error: "Operation not permitted" reading key "net.ipv4.route.flush"
> > > sunrpc.tcp_slot_table_entries = 16
> > > sunrpc.udp_slot_table_entries = 16
> > > sunrpc.nlm_debug = 0
> > > sunrpc.nfsd_debug = 1
> > > sunrpc.nfs_debug = 0
> > > sunrpc.rpc_debug = 1
> >
> > different values here will enable different debug
> > output, I would prefer something like 65535 there
> > (which will enable full output)
> 
> The setting on the nfs-server:
> 
> H242-meier ~ # sysctl -a | grep sun
> error: "Operation not permitted" reading key "net.ipv4.route.flush"
> sunrpc.tcp_slot_table_entries = 16
> sunrpc.udp_slot_table_entries = 16
> sunrpc.nlm_debug = 0
> sunrpc.nfsd_debug = 65535
> sunrpc.nfs_debug = 0
> sunrpc.rpc_debug = 65535
> H242-meier ~ #
> 
> The log on the nfs-server:
> 
> Sep 28 07:55:31 H242-meier device vmnet1 entered promiscuous mode
> Sep 28 07:55:49 H242-meier rpc.mountd: MNT3(/home) called
> Sep 28 07:55:49 H242-meier rpc.mountd: authenticated mount request from 
> vs01:1009 for /home ( /home)
> Sep 28 07:55:50 H242-meier nfsd: exp_rootfh(/home [f235c628] *:hda2/2277377)
> Sep 28 07:55:50 H242-meier nfsd: fh_compose(exp 03:02/2277377 //home, 
> ino=2277377)
> Sep 28 07:56:09 H242-meier device vmnet1 left promiscuous mode
> 
> The settings on the vserver-host:
> 
> gs ~ # sysctl -a | grep sun
> error: "Success" reading key "dev.parport.parport0.autoprobe3"
> error: "Success" reading key "dev.parport.parport0.autoprobe2"
> error: "Success" reading key "dev.parport.parport0.autoprobe1"
> error: "Success" reading key "dev.parport.parport0.autoprobe0"
> error: "Success" reading key "dev.parport.parport0.autoprobe"
> error: "Operation not permitted" reading key "net.ipv4.route.flush"
> sunrpc.max_resvport = 1023
> sunrpc.min_resvport = 650
> sunrpc.tcp_slot_table_entries = 16
> sunrpc.udp_slot_table_entries = 16
> sunrpc.nlm_debug = 0
> sunrpc.nfsd_debug = 0
> sunrpc.nfs_debug = 65535
> sunrpc.rpc_debug = 65535
> gs ~ #
> 
> 
> The log on the vserver-host:
> 
> Sep 27 22:13:18 gs rpciod_up: users 0
> Sep 27 22:13:18 gs RPC:  setting up tcp-ipv4 transport...
> Sep 27 22:13:18 gs RPC:  created transport cf91b400 with 16 slots
> Sep 27 22:13:18 gs RPC:  xprt_create_proto created xprt cf91b400
> Sep 27 22:13:18 gs RPC: creating nfs client for 192.168.39.1 (xprt cf91b400)
> Sep 27 22:13:18 gs RPC:  destroying transport cf91b400
> Sep 27 22:13:18 gs RPC:  xs_destroy xprt cf91b400
> Sep 27 22:13:18 gs RPC:  disconnected transport cf91b400
> Sep 27 22:13:18 gs nfs_create_client: cannot create RPC client. Error 
> = -812534784
> Sep 27 22:13:18 gs rpciod_down sema 1
> Sep 27 22:13:18 gs nfs_get_sb: bad mount version
> 
> (  )
> This doesn't semm to look good?
> 
> Attached the tcpdump.
> 
> >
> > could you try with a v3,tcp mount too?
> 
> The trace of the mount inside the vs:
> 
> vs01 / # strace mount 192.168.39.1:/home /home -o nfsvers=3,nolock,tcp
> execve("/bin/mount", 
> ["mount", "192.168.39.1:/home", "/home", "-o", "nfsvers=3,nolock,tcp"], [/* 
> 26 vars */]) = 0
> uname({sys="Linux", node="vs01", ...})  = 0
> brk(0)  = 0x8063000
> access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or 
> directory)
> open("/etc/ld.so.cache", O_RDONLY)  = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=12117, ...}) = 0
> mmap2(NULL, 12117, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f4e000
> close(3)= 0
> open("/lib/libblkid.so.1", O_RDONLY)= 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\35\0"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=28764, ...}) = 0
> mmap2(NULL, 30740, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7f46000
> mmap2(0xb7f4d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
> MAP_DENYWRITE, 3, 0x6) = 0xb7f4d000
> close(3)= 0
> open("/lib/libuuid.so.1", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=9600, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f45000
> mmap2(NULL, 11544, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7f42000
> mmap2(0xb7f44000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
> MAP_DENYWRITE, 3, 0x1) = 0xb7f44000
> close(3)= 0
> open("/lib/libc.so.6", O_RDONLY)= 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240T\1"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=122, ...}) = 0
> mmap2(NULL, 1158452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7e27000
> mmap2(0xb7f3c000, 1638

Re: [Vserver] XSL for http://wiki.linux-vserver.org/VServerConfiguration

2006-09-28 Thread John Alberts

I think they are intuitive as well.  It looks good to me.


On 9/28/06, Tim Mecking <[EMAIL PROTECTED]> wrote:

Daniel Hokka Zakrisson wrote:
> What's with all the funky signs after filenames? Wouldn't it be better
> with something like what the boring CSS template has, i.e. [symlink],
> [script], etc?

Maybe..
As I always disable css at the flower page I didn't take it into
consideration.

The 'funky' signs are basically taken from 'ls -F' ( '/' for directory,
'@' for symlinks, '*' for executables. The rest are supplemented ('#'
for hash files, ''/'-' for number of lines in the files).

I think these signs are quite intuitive.

Ciao
Tim
___
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] XSL for http://wiki.linux-vserver.org/VServerConfiguration

2006-09-28 Thread Daniel Hokka Zakrisson

Tim Mecking wrote:

Daniel Hokka Zakrisson wrote:


What's with all the funky signs after filenames? Wouldn't it be better
with something like what the boring CSS template has, i.e. [symlink],
[script], etc?



Maybe..
As I always disable css at the flower page I didn't take it into
consideration.

The 'funky' signs are basically taken from 'ls -F' ( '/' for directory,
'@' for symlinks, '*' for executables. The rest are supplemented ('#'
for hash files, ''/'-' for number of lines in the files).

I think these signs are quite intuitive.


I disagree. Given that there are no min/max values for any file (AFAIK), 
it seems strange to use it in the documentation. In general, I think 
documentation that requires a key to read is bad. It's not like we're 
running out of space on the lines or anything, so just putting the 
actual word there seems like the most logical thing to me.


I noticed that the wiki page shows things that are commented in the XML 
source, is that intentional? It should also use _ as the word separator 
in the name, like the other pages do.


--
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] vmware in vserver?

2006-09-28 Thread John Alberts

I was curious about running vmware in a guest so that I could run an
instance of windows on my linux box.  That's the only thing I wish
vserver could do is let me run windows as a guest os.
Please don't start flaming with "Why would you use WINDOZE anyway?".
Sometimes it's necessary, especially for Windows admins like myself.
:)

Thanks for everyones input.


On 9/28/06, ehab heikal <[EMAIL PROTECTED]> wrote:

But you can run vserver in a vmware linux setup.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Alberts
Sent: Wednesday, September 27, 2006 8:02 PM
To: vserver@list.linux-vserver.org
Subject: [Vserver] vmware in vserver?


Is it possible to run vmware-server in a vserver guest?
___
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


Re: [Vserver] XSL for http://wiki.linux-vserver.org/VServerConfiguration

2006-09-28 Thread Tim Mecking
Daniel Hokka Zakrisson wrote:
> What's with all the funky signs after filenames? Wouldn't it be better
> with something like what the boring CSS template has, i.e. [symlink],
> [script], etc?

Maybe..
As I always disable css at the flower page I didn't take it into
consideration.

The 'funky' signs are basically taken from 'ls -F' ( '/' for directory,
'@' for symlinks, '*' for executables. The rest are supplemented ('#'
for hash files, ''/'-' for number of lines in the files).

I think these signs are quite intuitive.

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


Re: [Vserver] XSL for http://wiki.linux-vserver.org/VServerConfiguration

2006-09-28 Thread Daniel Hokka Zakrisson

Tim Mecking wrote:

Hi,

attached is the xsl template I wrote to create the wiki source for
http://wiki.linux-vserver.org/VServerConfiguration

Perhaps s.o. could check it in

Ciao
Tim


What's with all the funky signs after filenames? Wouldn't it be better 
with something like what the boring CSS template has, i.e. [symlink], 
[script], 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


[Vserver] XSL for http://wiki.linux-vserver.org/VServerConfiguration

2006-09-28 Thread Tim Mecking
Hi,

attached is the xsl template I wrote to create the wiki source for
http://wiki.linux-vserver.org/VServerConfiguration

Perhaps s.o. could check it in

Ciao
Tim

http://www.w3.org/1999/XSL/Transform"; xmlns="http://www.w3.org/1999/xhtml"; version="2.0">
	
	

	
		The contents of the  directory
		Directories are marked with a trailing / and bold letters.
		
		Scripts are marked with a trailing superscript *.
		
		Hash files (with key/value pairs) are marked with a trailing superscript #.
		
		Boolean files (without content) are marked with a trailing superscript 0.
		
		Scalar files (with only one line) are marked with a trailing superscript 1.
		
		List files (with multiple lines) are marked with a trailing superscript min - max sequence, where min is the minimum and max the maximum number of lines.
		
		Symlinks are marked with a trailing superscript @.
		
		Data files have no special mark up.
		
		Symbolic names (variables) are written in italic letters.
		
		
			
		
		This page is automatically created by XSL transformation of configuration.xml. Additions, corrections, etc. should be made in that file, not in the Wiki page.
	

  


  


  

  

  

  


  
  



  
  

  

  


  

script
  
  

  

  


  

hash
  
  

  
  
  


  

file
  
  

  

  


  

data
  
  

  

  


  

list
  
  

  
  
  


  

symlink
  
  

  

  


  

boolean
  
  

  
  
  


  

directory
  
  

  
/
  

  

  
/
  
  

  

	
		
		
		
		'''
		/
		
			/'''
			@
			0
			

0
			-

∞
			
			1
			*
			#
			
			???
		
	
	
	
		
		
		
		
		
		
		
		
		
	
	
	
	
	
		
			
Allowed values:

	

			
		
	
	
	
		
	

	
	
	
		
			

	

			
		
	
	
	
		
	

	
	
	
		
			
Possible values:

	

			
		
	
	
	
		
	
	
	
	
	
		
			
Will be called with the following parameters:

			
		
	
	
	
		
	
	
	
	
	
		
	

	
		
; Default : 
	"
  
	
		
; Since Version : 
	
	
	
	
	
	
	[]
	
	
	
	
	
	[[#
		
		
	|]]
	
	[file://]
  

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


Re: Fw: [Vserver] Problems with yum and centos42

2006-09-28 Thread Daniel Hokka Zakrisson

Eric Jorgensen wrote:


- Original Message 
From: Daniel Hokka Zakrisson <[EMAIL PROTECTED]>
To: vserver@list.linux-vserver.org
Sent: Wednesday, September 27, 2006 12:31:13 PM
Subject: Re: Fw: [Vserver] Problems with yum and centos42

[ ... ]

This makes it pretty obvious that nothing got installed.

You could upgrade to util-vserver 0.30.211-rc2 where centos42 has been
replaced by centos4, the more generic name which points to the latest 4
release at all times. It's available from
http://people.linux-vserver.org/~dhozac/p/uv/experimental/util-vserver-0.30.211-rc2.tar.bz2 




Bingo - that solved it for me.  I don't know if I had a mirror that was 
still available, or what (I did clean out my metadata just in case).  
Nonetheless, it is working fine now.


The next question is, how can I upgrade my centos42 guest vservers to 
centos4?


If you're using external package management, you'll have to do something 
like ln -sf /usr/lib/util-vserver/distributions/centos4/yum.repos.d 
/vservers/.pkg//yum/etc/yum.repos.d (adjusting paths 
accordingly). If you have internalized package management, I believe you 
should already be using the latest version, but you can make sure by 
editing /etc/yum.repos.d/CentOS-Base.repo inside the guest and looking 
for any references to 4.2.


--
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] gentoo: vupdateworld from util-vserver ebuild gone?

2006-09-28 Thread Christian Heim
On Thursday, 28. September. 2006 10:52, Marcus Mülbüsch wrote:
> Hi all,
>
> Using the "sys-cluster/util-vserver-0.30.211_rc2" I no longer have
> the "vupdateworld" wrapper script available.
>
> vesync, vemerge and vdispatch-conf are also gone.
>
> Additionally, emerging that ebuild with the USE-Flag
> "bash-completion" fails with a
>
> "cp: cannot stat `contrib/bash_completion': No such file or directory
>
> !!! ERROR: sys-cluster/util-vserver-0.30.211_rc2 failed."
>
> Wow, was there a reason to remove that scripts?

Hrm, I'm sure I added the patches to svn. But I'll check to see about that 
later.

-- 
Christian Heim 
GPG key ID: 9A9F68E6
Fingerprint: AEC4 87B8 32B8 4922 B3A9 DF79 CAE3 556F 9A9F 68E6

Your friendly treecleaner/mobile/kernel/vserver/openvz monkey


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


RE: [Vserver] vmware in vserver?

2006-09-28 Thread ehab heikal
But you can run vserver in a vmware linux setup.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Alberts
Sent: Wednesday, September 27, 2006 8:02 PM
To: vserver@list.linux-vserver.org
Subject: [Vserver] vmware in vserver?


Is it possible to run vmware-server in a vserver guest?
___
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] vmware in vserver?

2006-09-28 Thread Marcus Mülbüsch

John Alberts schrieb:

true.  I guess there is no point in running vmware in a guest os.


Except a vserver-guest is much more easy to make a copy of, diddle with 
updates, configs and whatever - and so have a copy available that can be 
started within a few seconds when you misconfigure something.


And you can move it much more easily to another physical machine.

I wouldn't try to combine vmware in a vserver guest, though. Much too 
fiddly.

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


[Vserver] gentoo: vupdateworld from util-vserver ebuild gone?

2006-09-28 Thread Marcus Mülbüsch

Hi all,

   Using the "sys-cluster/util-vserver-0.30.211_rc2" I no longer have
the "vupdateworld" wrapper script available.

   vesync, vemerge and vdispatch-conf are also gone.

   Additionally, emerging that ebuild with the USE-Flag
"bash-completion" fails with a

"cp: cannot stat `contrib/bash_completion': No such file or directory

!!! ERROR: sys-cluster/util-vserver-0.30.211_rc2 failed."

   Wow, was there a reason to remove that scripts?

--
Mark5 GmbH Systemhaus
Max-Keith-Str. 66, 45136 Essen
http://www.mark5.de
--
[EMAIL PROTECTED]
+49(0)201 89626-806

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