Return-Path: Delivered-To: apmail-httpd-test-dev-archive@www.apache.org Received: (qmail 49012 invoked from network); 30 Mar 2004 01:40:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Mar 2004 01:40:19 -0000 Received: (qmail 16268 invoked by uid 500); 30 Mar 2004 01:40:03 -0000 Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 16150 invoked by uid 500); 30 Mar 2004 01:40:02 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 16133 invoked from network); 30 Mar 2004 01:40:02 -0000 Received: from unknown (HELO mail.logilune.com) (195.154.174.52) by daedalus.apache.org with SMTP; 30 Mar 2004 01:40:02 -0000 Received: from stason.org (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 91F0F1E1935 for ; Tue, 30 Mar 2004 03:40:08 +0200 (CEST) Message-ID: <4068CFF6.5020104@stason.org> Date: Mon, 29 Mar 2004 17:40:06 -0800 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: test-dev@httpd.apache.org Subject: Re: [Patch] Better IPv6 detection and configuration References: <1080602853.6422.18.camel@localhost.localdomain> <4068B49D.1020906@stason.org> <1080605899.6422.27.camel@localhost.localdomain> <4068BD84.1010709@stason.org> <1080607820.6422.30.camel@localhost.localdomain> <4068C777.5030901@stason.org> <1080608962.6422.32.camel@localhost.localdomain> <4068C9C6.9000103@stason.org> <1080609901.6422.37.camel@localhost.localdomain> In-Reply-To: <1080609901.6422.37.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Philippe M. Chiasson wrote: > On Mon, 2004-03-29 at 17:13 -0800, Stas Bekman wrote: > >>Philippe M. Chiasson wrote: >> >>>On Mon, 2004-03-29 at 17:03 -0800, Stas Bekman wrote: >>> >>> >>>>Philippe M. Chiasson wrote: >>>> >>>> >>>> >>>>>+ error "Socket6 not installed"; >>>>>+ error "Test might fail if your hostname: '$name' has an IPv6 address"; >>>> >>>>not too clear what to do in case of a problem, and what consitutes a problem. >>> >>> >>>Yeah, guess the message is a bit too terse. >>> >>> >>> >>>>something like this? >>>> >>>> error << EOI; >>>>Your system is configured to run both ipv6 and ipv4, but can't figure out >>>>which interface to use, trying to use ipv6. If the test suite doesn't start, >>>>please install the perl CPAN module 'Socket6' and re-run the last command. >>>>EOI >>> >>> >>>How about: >>> >>>" >>>Your system is configured to run both ipv6 and ipv4, but can't figure >>>out if the hostname 'name' is ipv4 only. If the test suite doesn't >>>start, try specifying a servername that you know is only ipv4, or >> >>what action user is supposed to undertake when you say that? it should be >>really clear, or we will end up with a question onto the list. > > > Well, what I am trying to say is that if the user goes I understand what you are trying to say to me, but the user most likely won't. result: question to the list and we achieved nada. > perl Makefile.PL -servername my.name.com > or > perl Makefile.PL -servername 127.0.0.1 > > His/Her problem will also go away. and that's exactly what the error message should say. but how the user will know which name to use? > installing Socket6 will not solve the problem, but just allow me to > detect if a problem is certain to happen. that's why I suggest to require Socket6, figure exactly what's going on and what user should do in case of ambiguety and based on the information that is accessible (.e.g resolve localhost and use the ip address, etc) the error message should explain what to do next. > In any case, at that point, the user will need to specify an ipv4 > hostname/address. most users don't know what is ipv4 hostname/address. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com