NetBSD Problem Report #28376
From gcw@primenet.com.au Sun Nov 21 10:59:31 2004
Return-Path: <gcw@primenet.com.au>
Received: from g.primenet.com.au (g.primenet.com.au [203.24.36.10])
by narn.netbsd.org (Postfix) with SMTP id A4A492520E5
for <gnats-bugs@gnats.NetBSD.org>; Sun, 21 Nov 2004 10:59:28 +0000 (UTC)
Message-Id: <20041121105920.1005.qmail@g.primenet.com.au>
Date: 21 Nov 2004 21:59:20 +1100
From: gcw@primenet.com.au
Reply-To: gcw@primenet.com.au
To: gnats-bugs@netbsd.org
Subject: new syslogd gets facilities wrong (or some other problem?)
X-Send-Pr-Version: 3.95
>Number: 28376
>Category: bin
>Synopsis: syslogd logs incorrectly after recent branch merge
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: thorpej
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 21 11:00:00 +0000 2004
>Closed-Date: Sun Jan 23 08:10:59 +0000 2005
>Last-Modified: Sun Jan 23 08:10:59 +0000 2005
>Originator: Geoff C. Wing
>Release: NetBSD 2.99.10 (2004-11-20)
>Organization:
>Environment:
System: NetBSD g.primenet.com.au 2.99.10 NetBSD 2.99.10 (G) #0: Sun Nov 14 12:54:01 EST 2004 gcw@g.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/G i386
Architecture: i386
Machine: i386
syslogd after recent branch merge doesn't work. e.g. all my mail.*
information goes to /var/log/messages instead of /var/log/maillog
Similarly for some other facilities.
>Description:
>How-To-Repeat:
use default syslog.conf . See several areas are logged incorrectly.
>Fix:
?
>Release-Note:
>Audit-Trail:
From: Geoff Wing <gcw@pobox.com>
To: NetBSD Bugs <netbsd-bugs@netbsd.org>
Cc: NetBSD GNATS <gnats-bugs@netbsd.org>
Subject: Re: bin/28376: new syslogd gets facilities wrong (or some other problem?)
Date: Tue, 23 Nov 2004 12:08:42 +1100
gcw@primenet.com.au output:
: syslogd after recent branch merge doesn't work. e.g. all my mail.*
cfline() was parsing improperly. This bug is also open as pr#28380
Regards,
Geoff
--- syslogd.c.org 2004-11-23 11:49:21.000000000 +1100
+++ syslogd.c 2004-11-23 12:05:26.000000000 +1100
@@ -1939,7 +1939,7 @@
return;
}
f->f_pmask[i >> 3] = pri;
- f->f_pmask[i >> 3] = pri_cmp;
+ f->f_pcmp[i >> 3] = pri_cmp;
}
while (*p == ',' || *p == ' ')
p++;
From: Jason R Thorpe <thorpej@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/28376 CVS commit: src/usr.sbin/syslogd
Date: Tue, 23 Nov 2004 14:19:57 +0000 (UTC)
Module Name: src
Committed By: thorpej
Date: Tue Nov 23 14:19:57 UTC 2004
Modified Files:
src/usr.sbin/syslogd: syslogd.c
Log Message:
Fix typo that caused priories to compare incorrectly. PR bin/28376 and
bin/28380. Fix from Geoff Wing.
To generate a diff of this commit:
cvs rdiff -r1.72 -r1.73 src/usr.sbin/syslogd/syslogd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: thorpej@netbsd.org
State-Changed-When: Tue, 23 Nov 2004 14:20:55 +0000
State-Changed-Why:
Patch applied. Please let me know if this works for you now.
Responsible-Changed-From-To: bin-bug-people->thorpej
Responsible-Changed-By: thorpej@netbsd.org
Responsible-Changed-When: Tue, 23 Nov 2004 14:22:03 +0000
Responsible-Changed-Why:
My fault.
From: Geoff Wing <gcw@pobox.com>
To: thorpej@netbsd.org
Cc: NetBSD GNATS <gnats-bugs@netbsd.org>
Subject: Re: bin/28376
Date: Wed, 24 Nov 2004 09:30:06 +1100
thorpej@netbsd.org output:
:State-Changed-Why:
:Patch applied. Please let me know if this works for you now.
Everything works fine for me with that fix.
Regards,
Geoff
State-Changed-From-To: feedback->closed
State-Changed-By: jmc@netbsd.org
State-Changed-When: Sun, 23 Jan 2005 08:10:59 +0000
State-Changed-Why:
submitter reports working now
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.