From owner-freebsd-ports Thu Oct 19 6: 0: 7 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6C92037B661 for ; Thu, 19 Oct 2000 06:00:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA68939; Thu, 19 Oct 2000 06:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 4F04737B479; Thu, 19 Oct 2000 05:59:45 -0700 (PDT) Message-Id: <20001019125945.4F04737B479@hub.freebsd.org> Date: Thu, 19 Oct 2000 05:59:45 -0700 (PDT) From: kazarov@izmiran.rssi.ru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/22121: stunnel leaves zombie childes when launched with -l option, it creates PID file in /var/run/stunnel which is deleted on reboot Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22121 >Category: ports >Synopsis: stunnel leaves zombie childes when launched with -l option, it creates PID file in /var/run/stunnel which is deleted on reboot >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 19 06:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Dmitry >Release: FreeBSD-4.1.1 >Organization: IZMIRAN >Environment: >Description: 1. stunnel leaves zombie childes when launched with -l option - it always sets SIGCHLD handler to SIG_IGN, even when it spawns services via execpv. 2. it stores its PID in the pid file in /var/run/stunnel which is deleted during reboot ( line 'rm -rf /var/run/*' in /etc/rc ). This prevents stunnel from starting after reboot. Files patch-ad and patch-ae contains patches for this problems >How-To-Repeat: 1. Zombies: stunnel -p /usr/local/etc/stunnel.pem -d 995 -l /usr/local/libexec/popper3 telnet localhost 995 ^[ close ps -ax | fgrep Z 1234 ?? Z 00.00.00 (popper3) 2. PID file - just reboot after install and stunnel refuses to start >Fix: begin 644 patch-ad M*BHJ('-T=6YN96PN8RYO&-E<'1I M;VYS(&AA;F1L:6YG(&9U;F-T:6]NF5O9BAA9&1R*3L*+2TM(#0T,2PT-3$@+2TM M+0H@("`@("!L'0L('-T&5C7W!R969I>$`**BHJ(#DL M,34@*BHJ*@H@('-B:6YD:7(]0'-B:6YD:7)`"B`@;&EB9&ER/4!L:6)D:7)` M"B`@;6%N.&1IRelease-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message