From owner-freebsd-hackers Sun Jan 19 08:22:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id IAA07400 for hackers-outgoing; Sun, 19 Jan 1997 08:22:32 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id IAA07393 for ; Sun, 19 Jan 1997 08:22:28 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id RAA05414; Sun, 19 Jan 1997 17:20:56 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id QAA12430; Sun, 19 Jan 1997 16:57:54 +0100 (MET) Message-ID: Date: Sun, 19 Jan 1997 16:57:54 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: thompson@tgsoft.com (mark thompson) Cc: hackers@freefall.freebsd.org Subject: Re: usr.sbin/ppp: reopen ppp.log on SIGUSR1? References: <199701191515.HAA12852@squirrel.tgsoft.com> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199701191515.HAA12852@squirrel.tgsoft.com>; from mark thompson on Jan 19, 1997 07:15:16 -0800 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As mark thompson wrote: > Well, this may be ignorance talking, but i thought that daemons that did > logging were supposed to close/open their logfiles regularly (every > message?) so that they automatically get the right one after > rotation. Is this not so? It's not. The general protocol is to send the daemon a SIGHUP in order to have it re-read its config file, and reopen its logfile(s). I'm afraid SIGHUP is not really available for a PPP daemon, since it is meaningful there (unlike with other daemons that don't run on a tty). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)