From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 8 23:30:19 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E93771065670 for ; Sat, 8 Sep 2012 23:30:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D3C008FC0A for ; Sat, 8 Sep 2012 23:30:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q88NUJOg075652 for ; Sat, 8 Sep 2012 23:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q88NUJAJ075637; Sat, 8 Sep 2012 23:30:19 GMT (envelope-from gnats) Date: Sat, 8 Sep 2012 23:30:19 GMT Message-Id: <201209082330.q88NUJAJ075637@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Mark Johnston Cc: Subject: Re: bin/163487: syslog.conf filtering syntax broken in 9.0-RC3 (was working in 8.2) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Johnston List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2012 23:30:20 -0000 The following reply was made to PR bin/163487; it has been noted by GNATS. From: Mark Johnston To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/163487: syslog.conf filtering syntax broken in 9.0-RC3 (was working in 8.2) Date: Sat, 8 Sep 2012 19:28:11 -0400 Didn't notice that this reply didn't get added to the PR. ----- Forwarded message from Thomas Johnson ----- Date: Thu, 21 Jun 2012 09:52:43 -0500 From: Thomas Johnson To: Mark Johnston Subject: Re: bin/163487: syslog.conf filtering syntax broken in 9.0-RC3 (was working in 8.2) Mark, tested your patch and it appears to resolve the problem. Sorry for the delay, it's been a busy couple of weeks, culminating in a Monday morning crash of the host I wanted to test the fix on. Thanks for looking into this! -Tom On Wed, Jun 6, 2012 at 11:33 PM, Mark Johnston wrote: > I've attached a small patch which fixes the issue described above. > Basically, rather than calling trimdomain(3) on the entire host filter > string (which won't do anything if the filter contains multiple hosts), > this change has syslogd call trimdomain(3) on each host and then copy it > to f->f_host. > > Would you be able to test this? > > Thanks, > -Mark > -- Thomas Johnson ClaimLynx, Inc. 952-593-5969 x2302 ----- End forwarded message -----