Re: [Vserver] Re: vsched segfault (and workaround ;)

2004-12-20 Thread Enrico Scholz
[EMAIL PROTECTED] (Adrian Reyer) writes: >> > as pointed out by Hollow, confirmed by me and workarounded by Bertl, >> > vsched with hard limits segfaults after setting the values. by ading >> > '-- true' to the command line, it stops segfaulting while continue >> > working correctly. >> Sorry, ca

[Vserver] whitebox kernel patches

2004-12-20 Thread Andrew Thomson
Hi, Just wondering if there is a vserver 1.29 diff against the latest whitebox kernel: 2.4.21-20.ELsmp ? Thanks, ajt. -- Andrew Thomson <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vse

Re: [Vserver] Re: vsched segfault (and workaround ;)

2004-12-20 Thread Sam Vilain
Adrian Reyer wrote: I attach an strace of the failed call: # strace vsched --xid 49161 --fill-rate 2 --interval 100 --tokens 499 --tokens-min 1 --tokens-max 999 --prio-bias 0 [...] vserver(0xe010003, 0xc009, 0x7fbac0, 0x2, 0) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSE

[Vserver] Re: vsched segfault (and workaround ;)

2004-12-20 Thread Adrian Reyer
On Mon, Dec 20, 2004 at 09:57:59PM +0100, Enrico Scholz wrote: > > as pointed out by Hollow, confirmed by me and workarounded by Bertl, > > vsched with hard limits segfaults after setting the values. by ading > > '-- true' to the command line, it stops segfaulting while continue > > working correc

[Vserver] vsched segfault (and workaround ;)

2004-12-20 Thread Adrian Reyer
Hi there, as pointed out by Hollow, confirmed by me and workarounded by Bertl, vsched with hard limits segfaults after setting the values. by ading '-- true' to the command line, it stops segfaulting while continue working correctly. Regards, Adrian -- LiHAS - LinuxHaus Stuttgart

Re: [Vserver] Re: vsched segfault (and workaround ;)

2004-12-20 Thread Bjoern Steinbrink
On 2004.12.20 21:57:59 +0100, Enrico Scholz wrote: > Adrian Reyer <[EMAIL PROTECTED]> writes: > > > as pointed out by Hollow, confirmed by me and workarounded by Bertl, > > vsched with hard limits segfaults after setting the values. by ading > > '-- true' to the command line, it stops segfaulting

Re: [Vserver] Troubles with linebreaks

2004-12-20 Thread Thorsten Gunkel
OK, what do you think about the following patch? #v+ --- util-vserver-0.30.196/scripts/vserver 2004-08-27 23:06:45.0 +0200 +++ /sbin/vserver 2004-12-20 20:46:26.0 +0100 @@ -184,6 +184,16 @@ exit 5 } >&2 +# check for missing linebreak +

[Vserver] Re: vsched segfault (and workaround ;)

2004-12-20 Thread Enrico Scholz
Adrian Reyer <[EMAIL PROTECTED]> writes: > as pointed out by Hollow, confirmed by me and workarounded by Bertl, > vsched with hard limits segfaults after setting the values. by ading > '-- true' to the command line, it stops segfaulting while continue > working correctly. Sorry, can not reproduc

Re: [Vserver] apt-get and vserver problem

2004-12-20 Thread Liam Helmer
Correction: -A POSTROUTING -o ppp0 -i ppp0 won't work, sorry. Cheers, Liam On Mon, 2004-12-20 at 09:28 -0800, Liam Helmer wrote: > On Sat, 2004-12-18 at 12:28 +0100, Vincenzo Agosto wrote: > > Herbert Poetzl wrote: > > IP=`ifconfig ppp0 | grep inet | cut -d: -f2 | awk {'print $1'}` > > iptables

Re: [Vserver] X server and /dev/mem

2004-12-20 Thread Liam Helmer
Here's my BCapabilities -> I've been running X inside a vserver for quite some time. This is what I use. CAP_CHOWN CAP_DAC_READ_SEARCH -> needed for X CAP_FOWNER CAP_FSETID CAP_KILL CAP_SETGID CAP_SETUID CAP_SETPCAP -> I use this for ethereal CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW C

Re: [Vserver] apt-get and vserver problem

2004-12-20 Thread Liam Helmer
On Sat, 2004-12-18 at 12:28 +0100, Vincenzo Agosto wrote: > Herbert Poetzl wrote: > IP=`ifconfig ppp0 | grep inet | cut -d: -f2 | awk {'print $1'}` > iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -d ! 192.168.1.0/24 -j > SNAT --to-source $IP > same problem :( Wanna try quoting a little less me

[Vserver] Re: Trouble connecting to own addresses

2004-12-20 Thread Martin Honermeyer
Thanks, that's it! The loopback device was not running, strange enough. "ifconfig lo up" on the host did the trick! I will change the localhost in entry in /etc/hosts as well, in order to be future-proof.. Have a nice Christmas! Martin Herbert Poetzl wrote: > On Mon, Dec 20, 2004 at 01:08:42

Re: [Vserver] Mini Howto for CPU hard limits

2004-12-20 Thread Gregory (Grisha) Trubetskoy
Another tip - put "^19" (without quotes) in the flags file to get virtualized load average. (This will probably be replaced with a word eventually in utils, but for now this works). This will make the vservers see their own load average. Originally, we were using sched_hard to peg the load on

Re: [Vserver] Trouble connecting to own addresses

2004-12-20 Thread Herbert Poetzl
On Mon, Dec 20, 2004 at 01:08:42PM +0100, Martin Honermeyer wrote: > Hello, > > I've got a SMP VServer machine running on Gentoo. We have the strange > problem that it is not possible to connect to the host's addresses from > withhin the host's addresses itself. Which means: sounds a little stran

[Vserver] Trouble connecting to own addresses

2004-12-20 Thread Martin Honermeyer
Hello, I've got a SMP VServer machine running on Gentoo. We have the strange problem that it is not possible to connect to the host's addresses from withhin the host's addresses itself. Which means: * Host can't ping or ssh into any VServer. * No VServer can ping or ssh the host or any VServer, in