[Vserver] init-style gentoo with baselayout-1.13.0_alpha12

2007-06-27 Thread Marcus Mülbüsch
I have a Gentoo vserver set up with vserver-sources-2.2.0, 
util-vserver-0.30.213 and baselayout-1.13.0_alpha12


Thus I can use the gentoo init-style. Fine so far. Building and using 
that vserver is easy; I followed 
http://www.gentoo.org/proj/en/vps/vserver-howto.xml almost exactly.


I want to start a daemon from inittab (in this case: monit), so it gets 
respawned when dieing. Works fine with older gentoo vserver guests which 
use the plain init style.


However, when inside a guest vserver with gentoo init style, there is 
no seperate init process for each guest. So when I issue init q I get 
a init: /dev/initctl: No such file or directory.


I freely admit that I do not exactly know what I'm expected to do here. :-/

A few pointers on what I don't understand, how I can solve that problem, 
or what I am to do instead of using inittab would be very appreciated.


Additionally, when stopping that vserver i still get the messages:

Deactivating swap ...
Not superuser. 

and

Unmounting /usr/portage/packages ...
umount2: Operation not permitted
umount: /usr/vservers/vpackages: not found
umount: /usr/portage/packages: must be superuser to umount

I found a post on the archive where it says this is only cosmetical. But 
still, it is a bit annoying.


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


Re: [Vserver] Unsupported packaging method

2007-01-22 Thread Marcus Mülbüsch

Herbert Poetzl schrieb:


nevertheless, probably something like a high space or
some strange UTF8 characters got pasted along with the
actual data ... 


Well, a manually inserted space has the same effect - if I log via SSH 
using putty on my windows machine.


Using the console the space is ignored.

So it probably is a putty/SSH issues. Phew.

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


Re: [Vserver] Gentoo and Tomcat

2007-01-18 Thread Marcus Mülbüsch
It is very likely that a dependency of tomcat depends on 
kernel-sources, please provide the output of emerge tomcat -vpt to 
get a full dependency tree


My dear, I should've provided that earlier, shouldn't I?


On a clean install an emerge -pvt tomcat shows:

[ebuild  N] www-servers/tomcat-5.5.20-r7  USE=-admin -doc
[ebuild  N]  dev-java/mx4j-3.0.1-r2  USE=-doc -examples -
[ebuild  N]www-servers/axis-1.2_rc2  USE=-debug -doc
[ebuild  N] dev-java/castor-0.9.9.1  USE=-doc -jikes -postgres 
-source

[ebuild  N]  dev-java/ldapsdk-4.1.7-r1  USE=-doc
[ebuild  N]sys-kernel/gentoo-sources-2.6.18-r6  USE=-build 
-symlink (-ultra1)


if I provide the binary packages (compiled in the previous install) I  get:

[binary  N] www-servers/tomcat-5.5.20-r7  USE=-admin -doc -examples 
-java5 -source -test

[binary  N]  dev-java/mx4j-3.0.1-r2  USE=-doc -examples -
[binary  N]   dev-java/mx4j-tools-3.0.1  USE=-doc -s
[binary  N]www-servers/axis-1.2_rc2  USE=-debug -doc
[binary  N] dev-java/castor-0.9.9.1  USE=-doc -jikes -postgres 
-source

[binary  N]  dev-java/ldapsdk-4.1.7-r1  USE=-doc

No gentoo-sources needed... Strange indeed.

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


[Vserver] Gentoo and Tomcat

2007-01-17 Thread Marcus Mülbüsch
With (finally) a working Tomcat-ebuild I try to emerge tomcat inside a 
Gentoo-vserver guest. Everything works fine, but why does tomcat want to 
emerge


 sys-kernel/gentoo-sources-2.6.18-r6

Is this a vserver issue? A Gentoo problem? What does tomcat need the 
kernel sources for, anyway?


I'm running vserver-sources-2.3.0.6 on kernel 2.6.19, using 
util-vserver-0.30.212, if this is of any issue


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


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


Re: [Vserver] Latest usable Gentoo package

2006-09-07 Thread Marcus Mülbüsch
Due to the speed the _rc's occured, we thought that moving those ebuilds to 
our project overlay [1] would make sense. The overlay is subversion based, 
but you should be able to grab it via wget (or similar) if you can't/wont 
install subversion just for this single repo.


TIA, Christian

[1] http://overlays.gentoo.org/svn/proj/vps


  Wouldn't it be nice to post a short message to the list if a new 
revision comes up? Somehow I missed revisions 41 to 43 the last week...


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


[Vserver] Gentoo, iproute2 and USE-Flag minimal

2006-07-21 Thread Marcus Mülbüsch

Hi all,

   When the USE-Flag minimal is set for sys-apps/iproute2, vservers 
don't stop, are not accessible via IP, don't send mail etc.


   The error message when stopping a vserver is:

   /usr/lib/util-vserver/vserver.functions: line 629: /sbin/ip: No 
such file or directory


which is here:

function disableInterfaces
{...
   while test $i -gt 0; do
   ...
   case $type in
...
IP_ADDR)$_IP addr  del $@;;


   Recompiling iproute2 without that flag solves it.

   Now, there isn't really a problem, but can anybody tell me what is 
happening here? Just curious.


util-vserver-0.30.210-r15
and
2.6.17-vs2.1.1-rc26-gentoo

Marcus

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


Re: [Vserver] Gentoo, iproute2 and USE-Flag minimal

2006-07-21 Thread Marcus Mülbüsch

Christian Heim schrieb:

On Thursday 20 July 2006 17:50, Marcus Mülbüsch wrote:

Hi all,

   When the USE-Flag minimal is set for sys-apps/iproute2, vservers
don't stop, are not accessible via IP, don't send mail etc.


Which one is that ? ~arch or stable ?


   That was sys-apps/iproute2-2.6.15.20060110; that is the stable 
x86 version


   however, a test shows that the ~x86-version 
(sys-apps/iproute2-2.6.16.20060323) shows the same behavior.


   There is no other iproute2 in the portage tree.

Marcus



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