From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 23 14:40:06 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DE7F1065670 for ; Fri, 23 Jul 2010 14:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EC49E8FC19 for ; Fri, 23 Jul 2010 14:40:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o6NEe55L057994 for ; Fri, 23 Jul 2010 14:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o6NEe5VD057988; Fri, 23 Jul 2010 14:40:05 GMT (envelope-from gnats) Resent-Date: Fri, 23 Jul 2010 14:40:05 GMT Resent-Message-Id: <201007231440.o6NEe5VD057988@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Gerzo Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 088AD1065670 for ; Fri, 23 Jul 2010 14:36:50 +0000 (UTC) (envelope-from danger@alice.syscare.sk) Received: from services.syscare.sk (services.syscare.sk [188.40.39.36]) by mx1.freebsd.org (Postfix) with ESMTP id B637D8FC1E for ; Fri, 23 Jul 2010 14:36:49 +0000 (UTC) Received: from services.syscare.sk (services [188.40.39.36]) by services.syscare.sk (Postfix) with ESMTP id 08F6136C10 for ; Fri, 23 Jul 2010 16:36:49 +0200 (CEST) Received: from services.syscare.sk ([188.40.39.36]) by services.syscare.sk (services.rulez.sk [188.40.39.36]) (amavisd-new, port 10024) with ESMTP id GCVtYFKLgb9Y for ; Fri, 23 Jul 2010 16:36:43 +0200 (CEST) Received: from alice.syscare.sk (services [188.40.39.36]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by services.syscare.sk (Postfix) with ESMTPS id 0672836C06 for ; Fri, 23 Jul 2010 16:36:43 +0200 (CEST) Received: (from root@localhost) by alice.syscare.sk (8.14.4/8.14.4/Submit) id o6NEagOa009009; Fri, 23 Jul 2010 16:36:42 +0200 (CEST) (envelope-from danger) Message-Id: <201007231436.o6NEagOa009009@alice.syscare.sk> Date: Fri, 23 Jul 2010 16:36:42 +0200 (CEST) From: Daniel Gerzo To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/148869: [patch] www/lighttpd - - set the correct signal for sig_reload X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2010 14:40:06 -0000 >Number: 148869 >Category: ports >Synopsis: [patch] www/lighttpd - - set the correct signal for sig_reload >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jul 23 14:40:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Daniel Gerzo >Release: FreeBSD 8.0-STABLE amd64 >Organization: SysCare s. r. o. >Environment: >Description: in /etc/rc.subr, we have _run_rc_killcmd() function, which does this: _cmd="kill -$1 $rc_pid". When we set sig_stop to -KILL, the kill command receives wrong signal (i.e. "--INT") so it silently sends a wrong signal. >How-To-Repeat: >Fix: --- lighttpd.sh.in.diff begins here --- --- lighttpd.sh.in.orig 2010-07-23 16:34:31.489657978 +0200 +++ lighttpd.sh.in 2010-07-23 16:34:39.075043817 +0200 @@ -35,7 +35,7 @@ restart_precmd="checkconfig" reload_precmd=reload_precmd reload_postcmd=reload_postcmd -sig_reload="-INT" +sig_reload="INT" check_cmd="checkconfig" extra_commands="reload check" --- lighttpd.sh.in.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: