Bug 22718

Summary: sysinstall in FreeBSD 3.5.1 generates bad entries
Product: Base System Reporter: james.card <james.card>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description james.card 2000-11-09 15:30:01 UTC
When running /stand/sysinstall as released, records are generated
in /etc/rc.conf that are not processed correctly during startup.
An example rc.conf follows (as generated by /stand/sysinstall).
Note lines which have *=YES="NO" etc...  also note that ip addresses
and machine names have been obscured by me.

# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# -- sysinstall generated deltas -- #
lpd_enable="YES"
nis_client_enable="YES"
nfs_client_enable="YES"
ifconfig_fxp0="inet xxx.xxx.xxx.xxx  netmask 255.255.255.0"
hostname="somehost.somedomain.com"
linux_enable="YES"
moused_enable="YES"
saver="daemon"
defaultrouter="xxx.xxx.xxx.xxx"
nisdomainname="nisdomain.com"
ntpdate_enable="YES"
ntpdate_flags="ntpmachine"
xntpd_enable="YES"
# -- sysinstall generated deltas -- #
nis_client_enable=YES="NO"
# -- sysinstall generated deltas -- #
nis_client_enable=YES="YES"
# -- sysinstall generated deltas -- #
lpd_enable=YES="NO"
ntpdate_flags="none"
ntpdate_enable="NO"

Fix: 

Temp work around is to edit the /etc/rc.conf file, I didn't look at
the code for sysinstall.
How-To-Repeat: Run /stand/sysinstall and go to network configuration.  Turn on
or off NFS client (for instance) and look at /etc/rc.conf.
Comment 1 iedowse freebsd_committer freebsd_triage 2001-07-10 18:29:28 UTC
State Changed
From-To: open->feedback


Does this problem still occur with more recent releases?
Comment 2 Murray Stokely freebsd_committer freebsd_triage 2001-09-06 11:34:21 UTC
State Changed
From-To: feedback->closed

This has been fixed in newer versions of FreeBSD.  Thanks!