Re: [Vserver] Re: Re: Re: Re: Re: Re: java crash in vserver...

2007-05-12 Thread Jan Zuchhold
Hello,

 I made a package of my guest 'gis' (about 465 MB):
 /etc/vservers/gis (config of the image)
 /vservers/gis (home of the guest images)

 http://www.archit.uni-karlsruhe.de/geoserver/vserver.tar.bz2

ok, i've tried it.

The problem is caused by running out of space on /tmp. You mount that on 
tmpfs, specified in fstab in the vserver-config dir:

none   /tmptmpfs   size=16m,mode=1777  0 0

If you remove or comment-out this line (or increase the size), it works.

Jan


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


[Vserver] possibly dumb question

2007-05-12 Thread Chuck
i am installing a workstation which i have no plans to use as a vserver host 
however there may be that possibility in the mid to far future...


are the kernels produced with the vserver patches 'improved' over std kernels 
and generally work better? or is it by its nature causing slight overhead 
compared to without?

i guess it boils down to use vserver patches on a normal workstation kernel or 
not? i have this undefined suspicion it is better with but would like a more 
factual answer :)

-- 

Chuck



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


Re: [Vserver] Re: Re: Re: Re: Re: Re: java crash in vserver...

2007-05-12 Thread Herbert Poetzl
On Sat, May 12, 2007 at 09:13:19AM +0200, Jan Zuchhold wrote:
 Hello,
 
  I made a package of my guest 'gis' (about 465 MB):
  /etc/vservers/gis (config of the image)
  /vservers/gis (home of the guest images)
 
  http://www.archit.uni-karlsruhe.de/geoserver/vserver.tar.bz2
 
 ok, i've tried it.
 
 The problem is caused by running out of space on /tmp. 
 You mount that on tmpfs, specified in fstab in the 
 vserver-config dir:
 
 none   /tmptmpfs   size=16m,mode=1777  0 0
 
 If you remove or comment-out this line (or increase 
 the size), it works.

nice one, tx, btw, 16MB for /tmp should be more
than sufficient for properly written programs,
(larger temporary files go to /var/tmp)

best,
Herbert

 Jan

 ___
 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] Acceptable characters in a vserver name?

2007-05-12 Thread Daniel Hokka Zakrisson

Guillaume Pratte wrote:

Hello,

A quick question. What are the acceptable characters in a vserver name?

I would suppose [a-z][A-Z] + '_' and '-' are ok, but are accents, spaces 
and other characters acceptable?


I'd like to say yes, but I haven't tried it. It's a bug if it doesn't work.

--
Daniel Hokka Zakrisson
___
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-12 Thread Daniel Hokka Zakrisson

[EMAIL PROTECTED] wrote:

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


hi,

i have some finished centos 5 images for linux vserver:
http://www.cryptronic.de/wiki/Vserver_en:images_for_openvcp

to get yum working:

edit /etc/yum.repos.d/CentOS-Base.repo

and replace $releasever and $basearch with hardcoded values eg
$relesevar: 5
$basearch: i386

after that yum works quite fine.


Why would you do that? Why doesn't it have centos-release installed, and 
why can't it figure out the architecture on its own?



best regards

oliver werner

htpt://www.cryptronic.de


What's HTPT? ;-)

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


Re: [Vserver] Re: Re: Re: Re: Re: Re: java crash in vserver...

2007-05-12 Thread Corey Wright
On Sat, 12 May 2007 17:36:24 +0200
Herbert Poetzl [EMAIL PROTECTED] wrote:

 On Sat, May 12, 2007 at 09:13:19AM +0200, Jan Zuchhold wrote:
  The problem is caused by running out of space on /tmp. 
  You mount that on tmpfs, specified in fstab in the 
  vserver-config dir:
  
  none   /tmptmpfs   size=16m,mode=1777  0 0
  
  If you remove or comment-out this line (or increase 
  the size), it works.
 
 nice one, tx, btw, 16MB for /tmp should be more
 than sufficient for properly written programs,
 (larger temporary files go to /var/tmp)

i must respectfully disagree.  i have never heard of such a rule and the
FHS
(http://www.pathname.com/fhs/pub/fhs-2.3.html#VARTMPTEMPORARYFILESPRESERVEDBETWEE)
doesn't include that justification either.

and that is why i am on record as saying:

 btw, i hate that useless default 16 MB tmpfs mount within the guests and
 removing it from /etc/vservers/guest/fstab is one of the first things i do
 upon creating a new guest.
- http://www.paul.sladen.org/vserver/archives/200702/0014.html

when i last cared to check which directory applications used for temporary
files (to insure libpam-tmpdir, automatic per-user temporary directories,
was effective) i only ever saw used /tmp (hard-coded unfortunately), TMP,
or TMPDIR and those variables do not distinguish between maximum temporary
file size.

i consider this the only wart of linux-vserver.

corey
-- 
[EMAIL PROTECTED]
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver