From owner-freebsd-questions Wed Aug 7 10:11:22 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA20008 for questions-outgoing; Wed, 7 Aug 1996 10:11:22 -0700 (PDT) Received: from mail.EUnet.hu (mail.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA19998 for ; Wed, 7 Aug 1996 10:11:19 -0700 (PDT) Received: by mail.EUnet.hu, id TAA21766; Wed, 7 Aug 1996 19:11:17 +0200 Received: by CoDe.CoDe.hu (TAA03955); Wed, 7 Aug 1996 19:08:15 GMT From: Gabor Zahemszky Message-Id: <199608071908.TAA03955@CoDe.CoDe.hu> Subject: Re: tcpwrapper logs (fwd) To: freebsd-questions@freebsd.org Date: Wed, 7 Aug 1996 19:08:14 +0000 (GMT) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Opps! My previous message has lost it's main part. Sorry! It's a bit annoying: >>>>> ... ``I kill -9'd, restarted, exited'' >>>> ... I don't know, but ... >>> ... I typed ``kill -9 ..., after it restarted, but it exited >> ... I dunno, but kill > ... I killed with KILL signal, restarted, exited . . . I don't know tcp-wrapper, but: a) so many daemons (init, inetd, etc) use SIGHUP to re-read their configuration files. So kill -HUP `cat /var/run/syslog.pid` isn't kill it, only send an alert: ``Read your files, something was changed!'' b) I think, tcpd makes it's pid file like this: ------------------------------------+ v open( PIDFILE, O_RDWR | O_CREAT | O_EXCL ); And because with kill -9, he/she/it hasn't any time to remove it, at next start, exiting. Try kill -9, remove /var/run/syslog.pid, and start it over. If it exits, sorry. -- Gabor Zahemszky -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:- Earth is the cradle of human sense, but you can't stay in the cradle forever. Tsiolkovsky