Date: Tue, 6 Oct 1998 11:48:02 +0200 From: axl@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: conf/8162: [PATCH] src/etc/syslog.conf won't use spaces as field separators Message-ID: <E0zQTis-0001Uz-00@axl.training.iafrica.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0zQTis-0001Uz-00>