From nobody@FreeBSD.org  Tue Nov 20 12:10:38 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 5043537B417
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Nov 2001 12:10:38 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id fAKKAcD04293;
	Tue, 20 Nov 2001 12:10:38 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200111202010.fAKKAcD04293@freefall.freebsd.org>
Date: Tue, 20 Nov 2001 12:10:38 -0800 (PST)
From: John Ross <jhr@corp.attcanada.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: unattended install with sysinstall doesn't work when installing X
X-Send-Pr-Version: www-1.0

>Number:         32144
>Category:       bin
>Synopsis:       [sysinstall] unattended install with sysinstall doesn't work when installing X
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 20 12:20:00 PST 2001
>Closed-Date:    Thu Jun 14 06:10:56 GMT 2007
>Last-Modified:  Thu Jun 14 06:10:56 GMT 2007
>Originator:     John Ross
>Release:        FreeBSD 4.4-20011001-STABLE i386
>Organization:
AT&T Canada
>Environment:
FreeBSD jumper.corp.netcom.ca 4.4-STABLE FreeBSD 4.4-STABLE #7: Mon Oct 22 12:28:48 EDT 2001     jhr@jumper.corp.netcom.ca:/usr/src/sys/compile/NetcBSD  i386

>Description:
When using the install.cfg file with sysinstall, a menu pops up asking what XFree86 distributions you would like to install, even though those distributions are selected in install.cfg
>How-To-Repeat:
use sysinstall with install.cfg, and select the distribution "distSetXDeveloper" (It also fails when "dists=xbin Xlib" or any thing with X
>Fix:
My C could be off, but I'm thinking in dist.c, line 285, in distSetX(void) There are 2 return calls:

return distSetXF86(NULL);
return DITEM_SUCCESS;

distSetXF86 seems to just launch the the menu, I'm guessing that should be removed.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: murray 
State-Changed-When: Mon Dec 10 02:54:34 PST 2001 
State-Changed-Why:  
I'll look into this. 



Responsible-Changed-From-To: freebsd-bugs->murray 
Responsible-Changed-By: murray 
Responsible-Changed-When: Mon Dec 10 02:54:34 PST 2001 
Responsible-Changed-Why:  
I'll look into this. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32144 

From: murray@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org, jhr@corp.attcanada.ca
Cc:  
Subject: Re: misc/32144: unattended install with sysinstall doesn't work when installing X
Date: Mon, 10 Dec 2001 02:53:56 -0800

 Can you please post your complete install.cfg file?
 
 What happens if you specify the distributions but then choose
 "distSetCustom" instead of "distSetXDeveloper" ?
 
 		- Murray

From: John Ross <jhr@corp.attcanada.ca>
To: murray@FreeBSD.org
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/32144: unattended install with sysinstall doesn't work when
 installing X
Date: Wed, 2 Jan 2002 17:49:12 -0500 (EST)

 On Mon, 10 Dec 2001 murray@FreeBSD.org wrote:
 
 > Can you please post your complete install.cfg file?
 
 Sure thing, it's included below. (Some stuff removed to protect the
 guilty)
 >
 > What happens if you specify the distributions but then choose
 > "distSetCustom" instead of "distSetXDeveloper" ?
 >
 As long as you choose any distribution that needs X, it doesn't work. The
 install.cfg I've included does not install any X libs from the
 distribution (so It works) but you can somply replace:
 	dists=bin doc manpages info compat22 compat3x compat4x crypto krb5
 With:
 	dists=bin Xbin
 
 And it won't work anymore. (You could also use distSetXDeveloper,
 distSetXUser, distSetEverything, distSetXF86 and it will fail as well)
 
 I've tried it with Xbin, Xlib, XF86-xc, even just Xdoc, and it fails.
 
 > 		- Murray
 >
 
 
 debug=YES
 nonInteractive=YES
 noConfirm=YES
 noWarn=YES
 
 # If you set the
 # following to "NO" then it seems to assume you're not sure, and ask you
 # (No == Maybe ?)
 # So I went out and propositioned a few women, and used the
 # response I got when I ignored their "No" answer.
 #
 # sysinstall now gets the idea.
 tryDHCP=DropDead
 tryRTSOL=BugOff
 
 hostname=###HOSTNAME###
 domainname=corp.attcanada.ca
 defaultrouter=###ROUTERIP###
 ipaddr=###CLIENTIP###
 netmask=255.255.255.0
 netDev=fxp0
 nfs=10.35.248.150:/usr/jump/dist
 mediaSetNFS
 
 disk=da0
 partition=all
 bootManager=standard
 diskPartitionEditor
 
 da0s1-1=ufs 524288 /
 da0s1-2=swap 8290304 none
 da0s1-3=ufs 524288 /usr
 da0s1-4=ufs 8388608 /var
 da0s1-5=ufs 1048576 /tmp
 diskLabelEditor
 
 ################################
 dists=bin doc manpages info compat22 compat3x compat4x crypto krb5
 distSetCustom
 ################################
 
 installCommit
 
 package=XFree86-clients-4.1.0
 packageAdd
 
 shutdown
 
 -- 
 John Ross
 Systems Administrator
 AT&T Canada
 
 Executive ability is deciding quickly and getting somebody else to do
 the work.
 		-- John G. Pollard
 
Responsible-Changed-From-To: murray->freebsd-qa 
Responsible-Changed-By: murray 
Responsible-Changed-When: Fri Mar 18 02:38:51 GMT 2005 
Responsible-Changed-Why:  
I am no longer working in this area. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=32144 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Jun 14 06:09:59 UTC 2007 
State-Changed-Why:  
I believe that this PR has been obsoleted by subsequent events. 

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