From owner-freebsd-bugs Tue Oct 6 02:50:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAB13226 for freebsd-bugs-outgoing; Tue, 6 Oct 1998 02:50:20 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA13163 for ; Tue, 6 Oct 1998 02:50:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA22620; Tue, 6 Oct 1998 02:50:01 -0700 (PDT) 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 ; 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: Date: Tue, 6 Oct 1998 11:48:02 +0200 From: axl@iafrica.com Reply-To: axl@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: conf/8162: [PATCH] src/etc/syslog.conf won't use spaces as field separators Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 6 02:50:01 PDT 1998 >Last-Modified: >Originator: Sheldon Hearn >Organization: UUNET Internet Africa >Release: FreeBSD 2.2.7-STABLE i386 >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 >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message