7.x and multiple IPs in jails

2008-10-28 Thread Charles Sprickman
Hello all, I've been searching around and have come up with no current discussions on this issue. I'll keep it brief: In 7.0 or 7.1 is there any provision to have multiple IP addresses in a jail? I'm stumped on this, as I just started a new hosting project that needs a few jails. At

Re: 7.x and multiple IPs in jails

2008-10-28 Thread Bjoern A. Zeeb
On Tue, 28 Oct 2008, Charles Sprickman wrote: Hello all, I've been searching around and have come up with no current discussions on this issue. I'll keep it brief: In 7.0 or 7.1 is there any provision to have multiple IP addresses in a jail? Subscribe to the freebsd-jail mailinglist and

nspluginwrapper / acrobat problem (was Re: huge cpu and memory usage by ld.so ?)

2008-10-28 Thread Luigi Rizzo
On Tue, Oct 21, 2008 at 12:31:29PM +0200, Luigi Rizzo wrote: On RELENG_7 (various versions between june and a few days ago) i noticed that sometimes ld.so starts using huge amounts of memory and CPU, both in terms of SIZE and RES. I saw it first on 3 different machines doing a portupgrade -a

Re: 7.x and multiple IPs in jails

2008-10-28 Thread Oliver Fromme
Charles Sprickman wrote: [...] Is there any firewall hackery to be had that can at least let me do IP based virtual hosts for web hosting? A common solution is to put the jail on a localhost IP (e.g. 127.0.0.2, whatever). The apache inside is bound to several arbitrary port numbers. For

Re: Short SMART check causes disk op timeouts

2008-10-28 Thread JoaoBR
On Monday 27 October 2008 20:03:21 Jeremy Chadwick wrote: I had no idea users were blindly uncommenting examples in well seems you're new in support business then :) the issue might be the reason why weapons are not delivered with roles in the chambers ... so developers probably should take

Re: SOLUTION!!!! Re: tcp_do_segment....again

2008-10-28 Thread Sujit Karataparambil
Sorry Just donot understand what you are saying. On 10/28/08, Jose Amengual [EMAIL PROTECTED] wrote: Hi Guys. I will describe de steps that I did to solve this problem that I still don't understand. Like my first post, I installed FreeBSD with the install cd

Re: Short SMART check causes disk op timeouts

2008-10-28 Thread Andriy Gapon
on 27/10/2008 21:59 Jeremy Chadwick said the following: On Mon, Oct 27, 2008 at 08:50:44PM +0100, martinko wrote: Jeremy Chadwick wrote: On Mon, Oct 27, 2008 at 07:52:01PM +0100, martinko wrote: Jeremy Chadwick wrote: Now, does the timeout cause loss of any data? Is there anything besides

Re: SOLUTION!!!! Re: tcp_do_segment....again

2008-10-28 Thread Jose Amengual
Sorry for my ESL :). On 28-Oct-08, at 9:03 AM, Sujit Karataparambil wrote: Sorry Just donot understand what you are saying. On 10/28/08, Jose Amengual [EMAIL PROTECTED] wrote: Hi Guys. I will describe de steps that I did to solve this problem that I still don't understand. Like my

Re: SOLUTION!!!! Re: tcp_do_segment....again

2008-10-28 Thread Jose Amengual
Thanks for the answer. But as you can see in my post one of the steps was to downgrade to 7.0- p5 and the problem was still there. That's why I'm so confuse. On 27-Oct-08, at 11:54 PM, Jeremy Chadwick wrote: On Mon, Oct 27, 2008 at 07:53:17PM -0700, Jeremy Chadwick wrote: On Mon, Oct

src/lib/libc/stdlib/grantpt.c commit broke sshd

2008-10-28 Thread Josh Carroll
I just built world from RELENG_7 sources csup'd this morning, and it appears the change to src/lib/libc/stdlib/grantpt.c has broken sshd. I see the following when I attempt to login: Oct 28 12:32:34 pflog sshd[78236]: fatal: openpty returns device for which ttyname fails. Oct 28 12:32:34 pflog

[SOLVED] Re: src/lib/libc/stdlib/grantpt.c commit broke sshd

2008-10-28 Thread Josh Carroll
On Tue, Oct 28, 2008 at 12:56 PM, Josh Carroll [EMAIL PROTECTED] wrote: I just built world from RELENG_7 sources csup'd this morning, and it appears the change to src/lib/libc/stdlib/grantpt.c has broken sshd. I see the following when I attempt to login: Oct 28 12:32:34 pflog sshd[78236]:

Re: src/lib/libc/stdlib/grantpt.c commit broke sshd

2008-10-28 Thread Ed Schouten
Hello Josh, The commits I made two days ago were a little tricky. I made some modifications to libc and libutil at the same time. Unfortunately, due to a small case of API misuse in libutil, I couldn't keep older versions of libutil compatible with the new version of libc. Below is a small table

Re: src/lib/libc/stdlib/grantpt.c commit broke sshd

2008-10-28 Thread Josh Carroll
I suspect you are running a new libc, but forgot to update libutil to the latest version as well. Keep in mind that such a setup is not really supported. Yes, exactly my problem. The mystery on my end is now how I managed to build libc but not libutil. :) Ah, right after I finished typing

Re: src/lib/libc/stdlib/grantpt.c commit broke sshd

2008-10-28 Thread Ed Schouten
Hi Josh, I forgot to reply to your second question: there is no real need to enable COMPAT_43TTY. It is possible that applications use this (by including sgtty.h), but if you make sure your ports are up to date, they should not. sgtty.h is not present on FreeBSD -CURRENT, so I (and others)

Re: 7.x and multiple IPs in jails

2008-10-28 Thread Lorenzo Perone
Hi, there's a patch by Bjoern A.Zeeb, available at http://people.freebsd.org/~bz/bz_jail7-20080920-01-at150161.diff which succeeds and works well with 7.1-PRERELEASE currently. I had similar issues to solve and patched several hosts with it, so far with success. Bjoern has made an excellent

Re: 7.x and multiple IPs in jails

2008-10-28 Thread Michael Butler
Lorenzo Perone wrote: Hi, there's a patch by Bjoern A.Zeeb, available at http://people.freebsd.org/~bz/bz_jail7-20080920-01-at150161.diff which succeeds and works well with 7.1-PRERELEASE currently. I had similar issues to solve and patched several hosts with it, so far with success.

Re: 7.x and multiple IPs in jails

2008-10-28 Thread Bjoern A. Zeeb
On Tue, 28 Oct 2008, Michael Butler wrote: Lorenzo Perone wrote: Hi, there's a patch by Bjoern A.Zeeb, available at http://people.freebsd.org/~bz/bz_jail7-20080920-01-at150161.diff which succeeds and works well with 7.1-PRERELEASE currently. I had similar issues to solve and patched several

Re: 7.x and multiple IPs in jails

2008-10-28 Thread Michael Butler
Bjoern A. Zeeb wrote: This seems to imply that, at last, IPv6 addresses can be used in jails - is that true? yes Woohoo! THANKS! :-) Michael ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To

Re: 7.x and multiple IPs in jails

2008-10-28 Thread Chris St Denis
Lorenzo Perone wrote: Hi, there's a patch by Bjoern A.Zeeb, available at http://people.freebsd.org/~bz/bz_jail7-20080920-01-at150161.diff which succeeds and works well with 7.1-PRERELEASE currently. I had similar issues to solve and patched several hosts with it, so far with success. Bjoern

Problem with Bridging ... and bge devices under FreeBSD 7.x?

2008-10-28 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to run a QEMU VM on top of a FreeBSD 7.x server ... I've tried the exact same setup on my desktop, using 192.168.1.x and an fxp device, and it all works perfectly, but as soon as I do this on another machine on a public IP, I'm not

Re: Problem with Bridging ... and bge devices under FreeBSD 7.x?

2008-10-28 Thread Michael Proto
On Tue, Oct 28, 2008 at 7:56 PM, Marc G. Fournier [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to run a QEMU VM on top of a FreeBSD 7.x server ... I've tried the exact same setup on my desktop, using 192.168.1.x and an fxp device, and it all works

Re: Problem with Bridging ... and bge devices under FreeBSD 7.x?

2008-10-28 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On Tuesday, October 28, 2008 22:08:18 -0400 Michael Proto [EMAIL PROTECTED] wrote: On Tue, Oct 28, 2008 at 7:56 PM, Marc G. Fournier [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to run a QEMU VM

Re: Problem with Bridging ... and bge devices under FreeBSD 7.x?

2008-10-28 Thread Bakul Shah
On Wed, 29 Oct 2008 00:35:35 -0300 Marc G. Fournier [EMAIL PROTECTED] wrote: netstat -nr on the 192 server shows the IP to be at: netstat -nr | grep 168.1.100 192.168.1.100 52:54:00:12:34:56 UHLW11 fxp0 1128 which is very odd, as that MAC address is not found

Re: Problem with Bridging ... and bge devices under FreeBSD 7.x?

2008-10-28 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I only have one VM running on one server ... - --On Tuesday, October 28, 2008 21:14:28 -0700 Bakul Shah [EMAIL PROTECTED] wrote: On Wed, 29 Oct 2008 00:35:35 -0300 Marc G. Fournier [EMAIL PROTECTED] wrote: netstat -nr on the 192 server shows