Date: Fri, 14 Nov 2003 12:56:42 +0100 From: Pawel Jakub Dawidek <nick@garage.freebsd.pl> To: FB <freebsd@msquaredweb.net> Cc: freebsd-hackers@freebsd.org Subject: Re: Multiple IPs in Jail Message-ID: <20031114115642.GE85962@garage.freebsd.pl> In-Reply-To: <20031112180124.3F85943FD7@mx1.FreeBSD.org> References: <20031112180124.3F85943FD7@mx1.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--sDKAb4OeUBrWWL6P Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 12, 2003 at 10:01:23AM -0800, FB wrote: +> Before the patch was applied, the jail environment had no problem with d= ns. +> After the patch was applied however (and userland rebuilt both on host = and +> jail), dns breaks in the jail environment. Basically, gethostbyname fai= ls +> and h_errno is set to 2 - Host name lookup failure. the system is config= ured +> properly, since the only changes are to the kernel and the modified jail +> mechanism. Also interesting is that the failure is immediate, there is no +> timeout.=20 Gethostbyname(3) always fails? You could try this patch againt recent -CURRENT, but I haven't added anything - for me gethostbyname(3) in jail works fine. http://garage.freebsd.pl/patches/mijail5_2.patch --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --sDKAb4OeUBrWWL6P Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBP7TC+j/PhmMH/Mf1AQH/JwP+Nai/Xw9M8/K3O6d1I0/FH0b+jNNN/jF5 dVZBzSzaakzQ0zFlFqMJmhXfxwI/vuQ2CGrVUSZB/oHACFC7lLV5QW0slT534gWT clZMdTqVgQCKCF2tcHE9eW5lGheTcaqAyWeiqGbNqhHD3gXEo9r9/aikruDiuiwv G8wCdr9eaDM= =sjLb -----END PGP SIGNATURE----- --sDKAb4OeUBrWWL6P--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031114115642.GE85962>