NetBSD Problem Report #47529

From  Mon Feb  4 01:39:44 2013
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 8665D63E568
	for <>; Mon,  4 Feb 2013 01:39:44 +0000 (UTC)
Message-Id: <>
Date: Sun,  3 Feb 2013 17:39:40 -0800 (PST)
Subject: syslogd doesn't correctly follow syslog.conf rules
X-Send-Pr-Version: 3.95

>Number:         47529
>Category:       bin
>Synopsis:       syslogd doesn't correctly follow syslog.conf rules
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dholland
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 04 01:40:01 +0000 2013
>Last-Modified:  Sun Oct 06 23:53:21 +0000 2013
>Originator:     Jeff G Woodall
>Release:        NetBSD 6.99.16
System: NetBSD 6.99.16 NetBSD 6.99.16 (GENERIC)
 #0: Fri Jan 18 03:30:55 UTC 2013\
 home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC i386

Architecture: i386
Machine: i386
In 5.x the following would direct messages from host globalinx _only_
to /var/log/globalinx.log:

  *.err;kern.*;auth.notice;authpriv.none;mail.crit	/dev/console

  *.info;auth,authpriv,cron,ftp,kern,lpr,mail.none	/var/log/messages
  kern.debug 						/var/log/messages

  auth,					/var/log/authlog						/var/log/cron						/var/log/xferlog						/var/log/lpd-errs						/var/log/maillog						/var/spool/uucp/ERRORS

  *.emerg							*
  #*.notice						root

  # Save all globalinx log messages to separate file
  *.*							/var/log/globalinx.log


In current this same syslog.conf now logs to both /var/log/globalinx.log AND

For both, syslogd is started with 'syslogd -b globalinx' , where globalinx is
an entry in /etc/hosts.  Adding '-U' option restores functionality, though it then
requires explict facility.level entries... 

Setup in both 5.x and current and write log messages to syslogd remotely.




Responsible-Changed-From-To: bin-bug-people->dholland
Responsible-Changed-When: Mon, 04 Feb 2013 06:03:14 +0000
I've been meaning to rewrite syslogd's parser, so I'll look into this.
(but not necessarily all that soon, so if anyone else feels like tackling it
don't wait for me)


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.