From sheldonh@axl.training.iafrica.com  Tue Oct  6 02:48:20 1998
Received: from axl.training.iafrica.com (axl.training.iafrica.com [196.31.1.175])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA12886
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 6 Oct 1998 02:48:14 -0700 (PDT)
          (envelope-from sheldonh@axl.training.iafrica.com)
Received: from sheldonh by axl.training.iafrica.com with local (Exim 2.02 #1)
	id 0zQTis-0001Uz-00
	for FreeBSD-gnats-submit@freebsd.org; Tue, 6 Oct 1998 11:48:02 +0200
Message-Id: <E0zQTis-0001Uz-00@axl.training.iafrica.com>
Date: Tue, 6 Oct 1998 11:48:02 +0200
From: axl@iafrica.com
Sender: Sheldon Hearn <sheldonh@axl.training.iafrica.com>
Reply-To: axl@iafrica.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] src/etc/syslog.conf won't use spaces as field separators
X-Send-Pr-Version: 3.2

>Number:         8162
>Category:       conf
>Synopsis:       [PATCH] src/etc/syslog.conf won't use spaces as field separators
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    nate
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct  6 02:50:01 PDT 1998
>Closed-Date:    Wed Oct 14 15:00:00 PDT 1998
>Last-Modified:  Wed Oct 14 15:00:51 PDT 1998
>Originator:     Sheldon Hearn
>Release:        FreeBSD 2.2.7-STABLE i386
>Organization:
UUNET Internet Africa
>Environment:

	N/A

>Description:

	When syslogd parses /etc/syslog.conf it does not accept
	spaces at field separators, because spaces are legal within
	the fields themselves. This makes the syslog.conf format
	unusual enough for a comment to be needed in the conf file.
	No such comment exists.

>How-To-Repeat:

	N/A

>Fix:
	
	The following patch, applicable to both current and stable,
	will provide a comment that should prevent an FAQ at the
	source. Hooray!

Index: syslog.conf
===================================================================
RCS file: /home/ncvs/src/etc/syslog.conf,v
retrieving revision 1.8
diff -u -d -r1.8 syslog.conf
--- syslog.conf	1998/09/02 01:34:56	1.8
+++ syslog.conf	1998/10/06 09:40:10
@@ -1,5 +1,7 @@
 #	$Id: syslog.conf,v 1.8 1998/09/02 01:34:56 brian Exp $
 #
+#	Spaces are NOT valid field separators in this file.
+#	Consult the syslog.conf(5) manpage.
 *.err;kern.debug;auth.notice;mail.crit		/dev/console
 *.notice;kern.debug;lpr.info;mail.crit;news.err	/var/log/messages
 mail.info					/var/log/maillog
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nate 
State-Changed-When: Wed Oct 14 15:00:00 PDT 1998 
State-Changed-Why:  
Applied to both -current and -stable (well, in a second to -stable). 


Responsible-Changed-From-To: freebsd-bugs->nate 
Responsible-Changed-By: nate 
Responsible-Changed-When: Wed Oct 14 15:00:00 PDT 1998 
Responsible-Changed-Why:  
I did it! 
>Unformatted:
