Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Support FreeBSD jails for testing

Maxim Dounin
October 16, 2015 08:06AM
Hello!

On Fri, Oct 16, 2015 at 12:09:49AM +0000, Steven Hartland wrote:

> # HG changeset patch
> # User Steven Hartland <steven.hartland@multiplay.co.uk>
> # Date 1444954080 0
> # Fri Oct 16 00:08:00 2015 +0000
> # Node ID c22d8299e7040e0de6f85b4e96d0dd953f7af644
> # Parent 78b4e12e6efe642aff591234db0f0b040cae9b5e
> Support FreeBSD jails for testing
>
> Ensure the test directory is read and writable to the test user.
>
> If you request 127.0.0.1 in a FreeBSD jail without specific access
> to 127.0.0.1 then the socket binds to the interface address to
> maintain compatibility. This results in the log entries being
> from the bound interface address. To prevent failure compare
> with the bound IP when requesting 127.0.0.1 in combined test.

This jails behaviour is known to cause many problems, in
particular, it makes impossible nginx binary upgrades unless all
listen sockets are explicitly bound to jail's IP address.

Fortunately, this was resolved several years ago by introduction
of multi-IP jails. You may try to use them for tests instead.

Adding quirks everywhere to support this brain-damaged "no
127.0.0.1" case looks like a wrong way to go for me. Especially
given the fact that simple solution exists for years.

[...]

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Support FreeBSD jails for testing

steveh 703 October 15, 2015 08:12PM

Re: [PATCH] Support FreeBSD jails for testing

Maxim Dounin 319 October 16, 2015 08:06AM

Re: [PATCH] Support FreeBSD jails for testing

steveh 407 October 16, 2015 01:26PM

Re: [PATCH] Support FreeBSD jails for testing

Maxim Dounin 284 October 19, 2015 01:58PM

Re: [PATCH] Support FreeBSD jails for testing

steveh 428 October 19, 2015 06:40PM

Re: [PATCH] Support FreeBSD jails for testing

Maxim Dounin 321 October 19, 2015 09:54PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 127
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready