From owner-freebsd-questions@FreeBSD.ORG Wed Jan 23 04:42:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DEE416A469 for ; Wed, 23 Jan 2008 04:42:20 +0000 (UTC) (envelope-from rakhesh@rakhesh.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.233]) by mx1.freebsd.org (Postfix) with ESMTP id 09C7C13C4CC for ; Wed, 23 Jan 2008 04:42:19 +0000 (UTC) (envelope-from rakhesh@rakhesh.com) Received: by wx-out-0506.google.com with SMTP id i29so1617045wxd.7 for ; Tue, 22 Jan 2008 20:42:19 -0800 (PST) Received: by 10.70.14.20 with SMTP id 20mr5953776wxn.25.1201063339329; Tue, 22 Jan 2008 20:42:19 -0800 (PST) Received: from smtp.home.rakhesh.com ( [82.178.100.29]) by mx.google.com with ESMTPS id i37sm35480718wxd.12.2008.01.22.20.42.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Jan 2008 20:42:18 -0800 (PST) Received: from obelix (obelix [192.168.17.13]) by smtp.home.rakhesh.com (Postfix) with ESMTP id F312511427; Wed, 23 Jan 2008 08:42:12 +0400 (GST) Date: Wed, 23 Jan 2008 08:42:12 +0400 (GST) X-X-Sender: rakhesh@obelix.home.rakhesh.com To: Zbigniew Szalbot In-Reply-To: <94136a2c0801220945j164eaf9clffeeda7186242cd1@mail.gmail.com> Message-ID: <20080123084020.L38771@obelix.home.rakhesh.com> References: <94136a2c0801220259x1b7dd4efw7a8fc1e8a60d2cc9@mail.gmail.com> <20080122202158.R45709@dogmatix.home.rakhesh.com> <94136a2c0801220845w6bbf50c9q7ba59052c72e871d@mail.gmail.com> <20080122211202.Q45709@dogmatix.home.rakhesh.com> <94136a2c0801220945j164eaf9clffeeda7186242cd1@mail.gmail.com> X-Blog: http://rakhesh.com/ X-Notes: http://rakhesh.net/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Rakhesh Sasidharan Cc: freebsd-questions@freebsd.org Subject: Re: pflogd log X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2008 04:42:20 -0000 >>>>> I noticed that pflog is not being written to. >>>>> >>>>> $ l /var/log/pflog >>>>> -rw-r--r-- 1 root wheel 60 Jan 22 00:00 /var/log/pflog >>>>> >>>>> However, the process running pflogd runs as _pflogd. Does this mean I >>>>> should chown the log file with user _pflogd? >>>> >> Also, just noticed now that my /var/log/pflog file doesn't have read perms >> for the others group. Would suggest removing that and trying again. >> Possible the extra perms are an issue. > > I do not know. > > l /var/log/pflog > -rw------- 1 root wheel 60 Jan 22 00:00 /var/log/pflog Ok. In your original mail, the permissions were different ... > $ ps ax |grep pflog > 25478 ?? Is 0:00.01 pflogd: [priv] (pflogd) > 25479 ?? S 0:00.03 pflogd: [suspended] -s 116 -f /var/log/pflog (pflogd) > 25561 p0 S+ 0:00.01 grep pflog > > Not really sure what is going on. I tried: > kill -HUP 25479 I would suggest asking this question on the freebsd-pf mailing list then. They can help better I guess. Thanks, Rakhesh --- http://rakhesh.net/