From andrew@freebsd-uk.eu.org  Fri Apr  5 19:13:09 2002
Return-Path: <andrew@freebsd-uk.eu.org>
Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94])
	by hub.freebsd.org (Postfix) with ESMTP id 1DCE337B419
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  5 Apr 2002 19:13:08 -0800 (PST)
Received: from dogma.freebsd-uk.eu.org ([130.88.200.97])
	by probity.mcc.ac.uk with esmtp (Exim 2.05 #7)
	id 16tgdQ-000FZ2-00
	for FreeBSD-gnats-submit@freebsd.org; Sat, 6 Apr 2002 04:13:00 +0100
Received: (from andrew@localhost)
	by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g363Cxr33158;
	Sat, 6 Apr 2002 04:12:59 +0100 (BST)
	(envelope-from andrew)
Message-Id: <200204060312.g363Cxr33158@dogma.freebsd-uk.eu.org>
Date: Sat, 6 Apr 2002 04:12:59 +0100 (BST)
From: Andrew Boothman <andrew@cream.org>
Reply-To: Andrew Boothman <andrew@cream.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] Typos in /etc/defaults/rc.conf
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         36808
>Category:       conf
>Synopsis:       [PATCH] Typos in /etc/defaults/rc.conf
>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:   Fri Apr 05 19:20:00 PST 2002
>Closed-Date:    Sat Apr 06 01:28:58 PST 2002
>Last-Modified:  Sat Apr 06 01:28:58 PST 2002
>Originator:     Andrew Boothman
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD dogma 4.5-STABLE FreeBSD 4.5-STABLE #4: Thu Feb 7 16:13:48 GMT 2002 ip@karma:/usr/src/sys/compile/DOGMA i386


	
>Description:
	
There are two typos in /etc/defaults/rc.conf. In both cases, the title of a
section reads "Need all" when only "All need" makes sense.
>How-To-Repeat:
	
Read /etc/defaults/rc.conf
>Fix:

	
The problem was noticed on -STABLE but this patch applies to -CURRENT

--- rc.conf.patch begins here ---
*** rc.conf.orig	Sat Apr  6 02:34:04 2002
--- rc.conf	Sat Apr  6 02:51:56 2002
***************
*** 156,162 ****
  sshd_program="/usr/sbin/sshd"	# path to sshd, if you want a different one.
  sshd_flags=""			# Additional flags for sshd.
  
! ### Network daemon (NFS) Need all portmap_enable="YES" ###
  amd_enable="NO"			# Run amd service with $amd_flags (or NO).
  amd_flags="-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map"
  amd_map_program="NO"		# Can be set to "ypcat -k amd.master"
--- 156,162 ----
  sshd_program="/usr/sbin/sshd"	# path to sshd, if you want a different one.
  sshd_flags=""			# Additional flags for sshd.
  
! ### Network daemon (NFS): All need portmap_enable="YES" ###
  amd_enable="NO"			# Run amd service with $amd_flags (or NO).
  amd_flags="-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map"
  amd_map_program="NO"		# Can be set to "ypcat -k amd.master"
***************
*** 188,194 ****
  xntpd_program="ntpd"		# path to ntpd, if you want a different one.
  xntpd_flags="-p /var/run/ntpd.pid"	# Flags to ntpd (if enabled).
  
! # Network Information Services (NIS) options: Need all portmap_enable="YES" ###
  nis_client_enable="NO"		# We're an NIS client (or NO).
  nis_client_flags=""		# Flags to ypbind (if enabled).
  nis_ypset_enable="NO"		# Run ypset at boot time (or NO).
--- 188,194 ----
  xntpd_program="ntpd"		# path to ntpd, if you want a different one.
  xntpd_flags="-p /var/run/ntpd.pid"	# Flags to ntpd (if enabled).
  
! # Network Information Services (NIS) options: All need portmap_enable="YES" ###
  nis_client_enable="NO"		# We're an NIS client (or NO).
  nis_client_flags=""		# Flags to ypbind (if enabled).
  nis_ypset_enable="NO"		# Run ypset at boot time (or NO).
--- rc.conf.patch ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Sat Apr 6 01:28:48 PST 2002 
State-Changed-Why:  
Committed, thanks! 

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