Re: [Vserver] Error compiling util-vserver 0.29.2

2004-03-03 Thread Enrico Scholz
[EMAIL PROTECTED] (Micah Anderson) writes:

> I get the following error when I try to compile util-vserver 0.29.2,
> this is using linux-2.4.24 on debian woody.

Can you try version 0.29.3 which is available at

 http://www-user.tu-chemnitz.de/~ensc/util-vserver/pre/


> lib/vserver-internal.h: In function vserver':
> lib/vserver-internal.h:99: error: __NR_vserver' undeclared (first use
> in this function)




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


Re: [Vserver] Support with chroot problem

2004-03-03 Thread Enrico Scholz
[EMAIL PROTECTED] (Bodo Eggert) writes:

>> I observerd the same on SuSE9.0. Therefore, i just used the binaries
>> built in a Suse8.2 environment hoping that this works as well. So far
>> it does.
>> But of course i am interested in a 'clean' solution, i.e.  the
>> vserver-utils compiled with gcc 3.3.1 on SuSE9.0.
>
> I recently mailed a patch for reducecap to Enrico, which are
> supposed to make it work as intended.

AFAIS, this is unrelated to the chcontext capabilities: reducecap is
nowhere used in the toolchain but a standalone utility only. Both tools
are using different code for capability parsing and only the reducecap's
one is faulty. The chroot issues are caused by a bug in the compiler;
disabling of optimizations or upgrading to recent gcc will solve them (I
am completely unfamiliar with SuSE and do not know if they are having
newer packages or if their QA is aware of this problem).


> http://7eggert.dyndns.org/~7eggert/vserver/




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


[Vserver] Undeliverable: Re: Your document

2004-03-03 Thread postmaster
Your message

  To:  [EMAIL PROTECTED]
  Subject: Re: Your document
  Sent:Thu, 4 Mar 2004 00:28:22 +0100

did not reach the following recipient(s):

[EMAIL PROTECTED] on Thu, 4 Mar 2004 00:28:36 +0100
The recipient name is not recognized
The MTS-ID of the original message is: c=se;a=
;p=sebank;l=SMRI005A0403032328GDC3T3HX
MSEXCH:IMS:Sebank:Sebank Hub1:SMRI005A 0 (000C05A6) Unknown Recipient


--- Begin Message ---
Your file is attached.

[Filename: your_document.pif, Content-Type: application/octet-stream]
The attachment file in the message has been removed by the virus protection eManager.
--- End Message ---


Re: [Vserver] Support with chroot problem

2004-03-03 Thread Bodo Eggert
On Wed, 3 Mar 2004 [EMAIL PROTECTED] wrote:

[util-vserver and suse/gcc 3.3.1]

> I observerd the same on SuSE9.0. Therefore, i just used the binaries
> built in a Suse8.2 environment hoping that this
> works as well. So far it does.
> But of course i am interested in a 'clean' solution, i.e.
> the vserver-utils compiled with gcc 3.3.1 on SuSE9.0.

I recently mailed a patch for reducecap to Enrico, which are
supposed to make it work as intended. (Looking at the code, I wonder how
it could ever have work before, and it didn't change fron .26 to .29).
(I didn't look colosely at the other tools, though.)

Just in case it helps, I put it to
http://7eggert.dyndns.org/~7eggert/vserver/

Since I don't know automake, I'm not sure how to change the depencencies.
Therefore I created a separate Makefile (same link). Just compile the
unpatched sources, apply the patch, put the Makefile into src/ and run
'make reducecap' again. (Or better, tell me from which file Makefile.in
is generated. I hope it _is_ generated ...)

-- 
The programmer's National Anthem is ''

Friß, Spammer: [EMAIL PROTECTED]
 [EMAIL PROTECTED] [EMAIL PROTECTED]

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


[Vserver] VServer, heartbeat and drbd

2004-03-03 Thread loic d'Anterroches
Dear All,

I am new on the list, so please excuse my naive question.

I went through the how-tos and the archives of the list, but was enable to
find the answer to my question. It is between heartbeat and vserver so I
hope not to be completely off-topic.

Supposing I run 2 boxes BA and BB each has its very own IP + 1 ip for the
vserver. When BA goes down, BB take over. DRBD mount the /vservers
partition on BB as primary, then a script from linux-ha start the vserver
on BB.

Do I am wrong or thanks to the vserver approach I don't need to setup an
ip takeover? Or formulated another way: heartbeat is only used to start
the vserver on BB if BA goes down, drbd taking care of the synchro of the
data.

If anybody of you have experience with VServer, heartbeat and drbd I would
be happy to have your feedback.

Off-topic: If you are using drbd, how are you managing the synchro when
the master BA comes online again?

You will get a little howto if I succeed setting up all that.

Best regards,
loic

-- 
loïc d'Anterroches <[EMAIL PROTECTED]>
CAPEC, Department of Chemical Engineering
Technical University of Denmark, DK-2800 Lyngby, Denmark
tel: (+45)4525 2911  fax: (+45)4593 2906


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


Re: [Vserver] Support with chroot problem

2004-03-03 Thread Schlomo Schapiro
Hi,

it seems to be the optimization. Compiled with -O0 all works fine, without the tests # 
11, 201 and 202 of testme.sh fail.

I'll try the latest beta now.

Schlomo

-- 
Schlomo Schapiro
Senior Consultant
Solution Center Novell/Linux
mikado AG
Bülowstraße 66
10783 Berlin-Schöneberg

Tel.: (030) 21790-0
Mobil: (0177) 3279060
Fax: (030) 21790-200/ -201

>>> [EMAIL PROTECTED] 2004-03-02 22:55:47 >>>
[EMAIL PROTECTED] ("Schlomo Schapiro") writes:

> I played around a little more and found out that it seem to be the
> util-vserver package that is guilty.
>
> I compiled it on an older machine (gcc 2.95.3) and it worked well. The
> version compiled with gcc 3.3.1 on SuSE9.0 doesn't work correctly.

Can you try to build it without optimizations (CFLAGS='-O0' ./configure)? 
Else, can you add a

| printf("%08x\n", remove_cap);

to vc_new_s_context_compat() in lib/syscall-compat.hc and see what
happens (expected would be )?



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

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


Re: [Vserver] Support with chroot problem

2004-03-03 Thread juergen

> 
> I played around a little more and found out that it seem to be the
> util-vserver package that is guilty.
> 
> I compiled it on an older machine (gcc 2.95.3) and it worked well. The
> version compiled with gcc 3.3.1 on SuSE9.0 doesn't work correctly.
> 
> Did anyone else observer such a problem ? Or does everybody else use gcc
> 3.3.1 or SuSE9.0 without problems ?
> 

Hi!
I observerd the same on SuSE9.0. Therefore, i just used the binaries 
built in a Suse8.2 environment hoping that this 
works as well. So far it does. 
But of course i am interested in a 'clean' solution, i.e.
the vserver-utils compiled with gcc 3.3.1 on SuSE9.0.
Best wishes
Jürgen

-
This mail sent through IMP: http://horde.org/imp/

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