From nobody@FreeBSD.org  Sat Apr 10 22:17:04 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id EC9F716A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Apr 2004 22:17:04 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EA04143D53
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Apr 2004 22:17:04 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i3B5H472026097
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Apr 2004 22:17:04 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i3B5H4Hi026096;
	Sat, 10 Apr 2004 22:17:04 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200404110517.i3B5H4Hi026096@www.freebsd.org>
Date: Sat, 10 Apr 2004 22:17:04 -0700 (PDT)
From: Harold Kachelmyer <bugs@princessharold.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: problem with postfix install using sysinstall
X-Send-Pr-Version: www-2.3

>Number:         65426
>Category:       bin
>Synopsis:       problem with postfix install using sysinstall
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    simon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 10 22:20:01 PDT 2004
>Closed-Date:    Tue Nov 16 22:17:10 GMT 2004
>Last-Modified:  Tue Nov 16 22:17:10 GMT 2004
>Originator:     Harold Kachelmyer
>Release:        5.2.1-RELEASE
>Organization:
>Environment:
FreeBSD testbaby.princessharold.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004     root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
      When chosing Postfix as the MTA during install-time, install hangs at downloading pcre-4.4. This occurs on all US mirrors I tried.
>How-To-Repeat:
      Install using the mini or bootonly ISOs and choose Postfix as the mailer.
>Fix:
      Finish install without choosing a mailer, install pcre-4.4 through the ports collection, complete installation of Postfix through sysinstall
>Release-Note:
>Audit-Trail:

From: "Simon L. Nielsen" <simon@FreeBSD.org>
To: Harold Kachelmyer <bugs@princessharold.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/65426: problem with postfix install using sysinstall
Date: Sun, 11 Apr 2004 13:56:55 +0200

 --cNdxnHkX5QqsyA0e
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2004.04.10 22:17:04 -0700, Harold Kachelmyer wrote:
 
 > When chosing Postfix as the MTA during install-time, install hangs at
 > downloading pcre-4.4. This occurs on all US mirrors I tried.
 
 Does the debug console (ctrl-f2) display any information ?
 
 Do you know if the problem exists with a normal CD install from a "full"
 disc1 ?
 
 I will try to reproduce the problem here later today.
 
 --=20
 Simon L. Nielsen
 FreeBSD Documentation Team
 
 --cNdxnHkX5QqsyA0e
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFAeTKHh9pcDSc1mlERAl/UAJ9q70EI08o5g6Pk2djQkQmKoAQy/gCgwdMD
 oME5kHtbYenGu/DNBSi5PBQ=
 =OHCr
 -----END PGP SIGNATURE-----
 
 --cNdxnHkX5QqsyA0e--
Responsible-Changed-From-To: freebsd-bugs->simon 
Responsible-Changed-By: simon 
Responsible-Changed-When: Sun Apr 11 05:09:20 PDT 2004 
Responsible-Changed-Why:  
I will look at this, since I some of the mailer selection code. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65426 

From: "Simon L. Nielsen" <simon@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: misc/65426: problem with postfix install using sysinstall
Date: Sun, 11 Apr 2004 18:02:00 +0200

 Add to audit-trail.
 
 ----- Forwarded message from Chris Harold Kachelmyer <harold@princessharold.net> -----
 
 From: Chris Harold Kachelmyer <harold@princessharold.net>
 Date: Sun, 11 Apr 2004 10:05:37 -0500
 To: "Simon L. Nielsen" <simon@FreeBSD.org>
 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007
 Subject: Re: misc/65426: problem with postfix install using sysinstall
 
 Simon L. Nielsen wrote:
 >Does the debug console (ctrl-f2) display any information ?
 
  I forgot to take down what error it throws. I believe it was that 
 pcre-4.4 was an invalid package.
 
 >Do you know if the problem exists with a normal CD install from a "full"
 >disc1 ?
 
  I don't think it does, but I'm not sure. I tried the full install CDs 
 on another person's machine, and I think we did much the same process, 
 but I don't recall encountering the error. I don't know if that was just 
 because of the media type.
 
 >I will try to reproduce the problem here later today.
 
 Thanks
 
 -- Harold
 ========================================================================
 C. Harold Kachelmyer
 Silver '87 XR4Ti ('86 SVO T5, PE, big VAM, AWIC, 3" exhaust,
 Gillis valve, Sapphire steering wheel and Cossie grille)
 harold@princessharold.net
 ICQ #30580727
 
 ----- End forwarded message -----
 
 -- 
 Simon L. Nielsen
 FreeBSD Documentation Team

From: "Simon L. Nielsen" <simon@FreeBSD.org>
To: Chris Harold Kachelmyer <harold@princessharold.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/65426: problem with postfix install using sysinstall
Date: Sun, 11 Apr 2004 23:51:41 +0200

 --vkogqOf2sHV7VnPd
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2004.04.11 10:05:37 -0500, Chris Harold Kachelmyer wrote:
 > Simon L. Nielsen wrote:
 
 > >I will try to reproduce the problem here later today.
 >=20
 > Thanks
 
 I can reproduce the problem here.  It seems there is a bug in
 sysinstall's handling of package dependencies when doing FTP installs.
 Now I just have to find out where the bug is.
 
 --=20
 Simon L. Nielsen
 FreeBSD Documentation Team
 
 --vkogqOf2sHV7VnPd
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFAeb3th9pcDSc1mlERAhyOAJ9gUadtaTuXb9YqV7If10NbG+0SLACgxCXP
 8Nezx5b1KcBQ2CXZW0x9NZI=
 =SYxs
 -----END PGP SIGNATURE-----
 
 --vkogqOf2sHV7VnPd--
State-Changed-From-To: open->analyzed 
State-Changed-By: simon 
State-Changed-When: Sun Apr 11 15:01:54 PDT 2004 
State-Changed-Why:  
The problem is caused by a bug in sysinstall's dependency 
handling for FTP installs. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65426 

From: "Simon L. Nielsen" <simon@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, bugs@princessharold.net
Cc:  
Subject: Re: misc/65426: problem with postfix install using sysinstall
Date: Mon, 19 Apr 2004 00:58:26 +0200

 --x+6KMIRAuhnl3hBn
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hello
 
 Just a little followup for the PR database and to let the submitter know
 the problem is being worked on... :
 
 It appears my initial analysis was incorrect.  The problem is that when
 doing FTP install there is a complete INDEX file which also contain two
 other postfix ports (postfix 1.X and postfix-current).  The way
 sysinstall searches for packages is on a (effectivly) last match basis.
 Therefor when searching for the normal postfix package the postfix1
 package is found instead.  This does not occour on CD's since the INDEX
 files on CD's only contain the correct postfix package.
 
 I have to find a way to tell sysinstall which postfix package to
 install.  I haven't found a non-hackish way to do that yet.
 
 --=20
 Simon L. Nielsen
 FreeBSD Documentation Team
 
 --x+6KMIRAuhnl3hBn
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFAgwgRh9pcDSc1mlERAraIAJsHCLZ2JxnyAYxrRlywEYeuQPYvigCfSM1M
 Cs4n9Vgw4CLpBKi8eDaKrik=
 =EY/o
 -----END PGP SIGNATURE-----
 
 --x+6KMIRAuhnl3hBn--
State-Changed-From-To: analyzed->patched 
State-Changed-By: simon 
State-Changed-When: Mon Aug 9 21:52:09 GMT 2004 
State-Changed-Why:  
I just committed a fix for this to -CURRENT.  If possible, it would be 
great if you could try FreeBSD 5.3-BETA1 when it comes out in a few 
weeks (it's scheduled for 20 August) and see if the problem is really 
fixed.  I plan to MFC after 5.3-BETA1 where I hope to be able to test 
that the fix works. 

In any case, thanks for the bug rapport. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65426 
State-Changed-From-To: patched->closed 
State-Changed-By: simon 
State-Changed-When: Tue Nov 16 22:16:14 GMT 2004 
State-Changed-Why:  
The patch seems to work so I have now MFC'ed it to 4-STABLE. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65426 
>Unformatted:
