Bug 19424

Summary: /stand/sysinstall wrongly changes /etc/make.conf
Product: Base System Reporter: matt <matt>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description matt 2000-06-21 22:50:00 UTC
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.

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.
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".
Comment 1 Alexey Zelkin freebsd_committer freebsd_triage 2000-07-08 15:12:38 UTC
Responsible Changed
From-To: gnats-admin->freebsd-bugs

Misfiled PR
Comment 2 Johan.Karlsson 2000-08-02 15:08:23 UTC
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
Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-02 15:18:50 UTC
State Changed
From-To: open->closed

As pointed out by Johan Karlsson <Johan.Karlsson@sm.luth.se>, this 
has been fixed by jkh in HEAD and RELENG_4.