From b37ead3361ad04b3a5b44108ec77ae7028f62b1f Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Tue, 3 Nov 2009 20:47:40 +0000 Subject: [PATCH] Get rid of pflogd.pid because the privsep child cannot delete the pidfile; use pkill(1) in /etc/newsyslog.conf instead together with otto and suggestions from tedu --- src/etc/newsyslog.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/etc/newsyslog.conf b/src/etc/newsyslog.conf index 29d6ce78..9d2a7626 100644 --- a/src/etc/newsyslog.conf +++ b/src/etc/newsyslog.conf @@ -1,4 +1,4 @@ -# $OpenBSD: newsyslog.conf,v 1.26 2007/02/02 14:52:48 ajacoutot Exp $ +# $OpenBSD: newsyslog.conf,v 1.27 2009/11/03 20:47:40 deraadt Exp $ # # configuration file for newsyslog # @@ -14,4 +14,5 @@ /var/log/wtmp 644 7 * $W6D4 ZB /var/log/xferlog 640 7 250 * Z /var/log/ppp.log 640 7 250 * Z -/var/log/pflog 600 3 250 * ZB /var/run/pflogd.pid +/var/log/pflog 600 3 250 * ZB "pkill -HUP -u root -U root -t - -x pflogd" +