From matt@epsilon.lucida.qc.ca  Wed Jun 21 14:42:25 2000
Return-Path: <matt@epsilon.lucida.qc.ca>
Received: from epsilon.lucida.qc.ca (epsilon.lucida.qc.ca [216.95.146.6])
	by hub.freebsd.org (Postfix) with SMTP id 88DF337C073
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 21 Jun 2000 14:42:24 -0700 (PDT)
	(envelope-from matt@epsilon.lucida.qc.ca)
Received: (qmail 17293 invoked by uid 1000); 21 Jun 2000 21:42:23 -0000
Message-Id: <20000621214223.17292.qmail@epsilon.lucida.qc.ca>
Date: 21 Jun 2000 21:42:23 -0000
From: matt@ARPA.MAIL.NET
Sender: matt@epsilon.lucida.qc.ca
Reply-To: matt@ARPA.MAIL.NET
To: FreeBSD-gnats-submit@freebsd.org
Subject: /stand/sysinstall changes make.conf in an improper way.
X-Send-Pr-Version: 3.2

>Number:         19424
>Category:       bin
>Synopsis:       /stand/sysinstall wrongly changes /etc/make.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 21 14:50:00 PDT 2000
>Closed-Date:    Wed Aug 2 07:18:50 PDT 2000
>Last-Modified:  Wed Aug 02 07:22:31 PDT 2000
>Originator:     Matt Heckaman
>Release:        FreeBSD 4.0-STABLE i386 (To my knowlege, this problem affects ALL versions of 4.0)
>Organization:
Lucida Communications
>Environment:

FreeBSD 4.0-RELEASE and 4.0-STABLE

>Description:

If one sets USA_RESIDENT=YES in /etc/make.conf and then runs sysinstall at
any point thereafter, USA_RESIDENT is set to a value of "NO". It is not a
requiremen that anything be done in /stand/sysinstall to produce this, simply
starting sysinstall and immediately exiting causes this problem.

>How-To-Repeat:

Place USA_RESIDENT=YES into /etc/make.conf and then run /stand/sysinstall
and check the value of USA_RESIDENT after you exist sysinstall. It will be
changed to "NO".

>Fix:

I'm not aware of a fix for this problem. I suspect it would be a matter
of making sysinstall scan /etc/make.conf and suck in the USA_RESIDENT
variable instead of setting it to NO.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: phantom 
Responsible-Changed-When: Sat Jul 8 07:12:38 PDT 2000 
Responsible-Changed-Why:  
Misfiled PR 

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

From: Johan Karlsson <Johan.Karlsson@sm.luth.se>
To: freebsd-gnats-submit@FreeBSD.org, matt@ARPA.MAIL.NET
Cc:  
Subject: Re: bin/19424: /stand/sysinstall wrongly changes /etc/make.conf
Date: Wed, 02 Aug 2000 16:08:23 +0200

 Fixed in
 sysinstall.h 1.194
 install.c    1.278
 globals.c    1.25
 among others
 
 Has also been MFC:ed to RELENG_4
 
 /Johan K
 
 
 -- 
 Johan Karlsson              Phone : +46 (0)920 720 16 
 Systemteknik, Datalogi      Fax   : +46 (0)920 721 91 
 Lule Tekniska Universitet  E-mail: Johan.Karlsson@SM.LuTH.SE
 S-971 87 LULE, SWEDEN
 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Wed Aug 2 07:18:50 PDT 2000 
State-Changed-Why:  
As pointed out by Johan Karlsson <Johan.Karlsson@sm.luth.se>, this 
has been fixed by jkh in HEAD and RELENG_4. 

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