From owner-freebsd-questions@FreeBSD.ORG Tue May 3 19:02:39 2011 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 E8C901065670 for ; Tue, 3 May 2011 19:02:39 +0000 (UTC) (envelope-from ges+lists@wingfoot.org) Received: from wingfoot.org (caduceus.wingfoot.org [64.19.172.234]) by mx1.freebsd.org (Postfix) with ESMTP id 9C9948FC08 for ; Tue, 3 May 2011 19:02:37 +0000 (UTC) Received: from caduceus.wingfoot.org (localhost [127.0.0.1]) by wingfoot.org (Postfix) with ESMTP id 3EA9039E0CA; Tue, 3 May 2011 14:42:46 -0400 (EDT) X-Virus-Scanned: amavisd-new at wingfoot.org Received: from wingfoot.org ([127.0.0.1]) by caduceus.wingfoot.org (wingfoot.org [127.0.0.1]) (amavisd-new, port 10042) with ESMTP id Ze3rr3nEDFAX; Tue, 3 May 2011 14:42:39 -0400 (EDT) Received: from Sandal.local (ool-45732cf6.dyn.optonline.net [69.115.44.246]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by wingfoot.org (Postfix) with ESMTPSA id F19F539E0C7; Tue, 3 May 2011 14:42:38 -0400 (EDT) Message-ID: <4DC04C9E.7050802@wingfoot.org> Date: Tue, 03 May 2011 14:42:38 -0400 From: Glenn Sieb User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Janos Dohanics References: <20110503124037.a4469206.web@3dresearch.com> <201105031803.p43I3Px8067589@mail.r-bonomi.com> <20110503143244.81861e46.web@3dresearch.com> In-Reply-To: <20110503143244.81861e46.web@3dresearch.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: /etc/newsyslog.conf and denyhosts 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: Tue, 03 May 2011 19:02:40 -0000 On 5/3/11 2:32 PM, Janos Dohanics wrote: >> Denyhosts has to be informed that the logfile has changed, so that >> it can close and re-open the logfile. It may be possible by >> sending it a 'signal', or you may have to kill/restart it. See >> the documentation for denyhosts. >> >> Newsyslog itself does _not_ notify/restart any daemons you have >> to do this yourself. >From the man page for newsyslog.conf: path_to_pid_file This optional field specifies the file name containing a daemon's process ID or to find a group process ID if the U flag was speci- fied. If this field is present, a signal_number is sent the process ID contained in this file. If this field is not present, then a SIGHUP signal will be sent to syslogd(8), unless the N flag has been specified. This field must start with `/' in order to be recognized properly. signal_number This optional field specifies the signal number that will be sent to the daemon process (or to all processes in a process group, if the U flag was specified). If this field is not present, then a SIGHUP signal will be sent. --Glenn