Bug 26770

Summary: sysinstall does not generate correct rc.conf when sendmail and inetd are disabled
Product: Base System Reporter: tplatt <tplatt>
Component: confAssignee: Eric Melville <eric>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description tplatt 2001-04-22 16:10:03 UTC
When sendmail and inetd are disabled during sysinstall rc.conf is improperly amended.

Contents of /etc/rc.conf are as follows:

inetd_enable="NO"
inetd_enable="YES"
sendmail_enable="NO"
sendmail_enable="YES"

The improper amendment of the file causes both inetd and sendmail to be enabled by default.

Fix: 

Correct the script to replace the contents of these variables in the rc.conf file rather than amend the file.
How-To-Repeat: Disable inetd and sendmail during sysinstall.
Comment 1 dd freebsd_committer freebsd_triage 2001-04-29 04:06:10 UTC
Responsible Changed
From-To: freebsd-bugs->jkh

Over to maintainer.
Comment 2 jkh freebsd_committer freebsd_triage 2001-08-31 01:29:23 UTC
Responsible Changed
From-To: jkh->eric

I'm running out of reasons, sorry.,
Comment 3 Murray Stokely freebsd_committer freebsd_triage 2001-09-06 11:58:13 UTC
State Changed
From-To: open->analyzed

I don't get this behavior when I run sysinstall from a running 4.4-RC 
system.  The proper entries are added to /etc/rc.conf after a : 

## --sysinstall generated deltas 

comment.  Are you still having problems with sysinstall?  Have you 
tried the 4.4 release candidates?
Comment 4 Murray Stokely freebsd_committer freebsd_triage 2001-09-06 22:05:52 UTC
State Changed
From-To: analyzed->closed

submitted also thinks that this problem has been fixed now.