From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 21 11:40:06 2011 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 DA2D21065670 for ; Thu, 21 Apr 2011 11: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 9709A8FC18 for ; Thu, 21 Apr 2011 11:40:06 +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 p3LBe6vU045787 for ; Thu, 21 Apr 2011 11:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3LBe6ev045786; Thu, 21 Apr 2011 11:40:06 GMT (envelope-from gnats) Resent-Date: Thu, 21 Apr 2011 11:40:06 GMT Resent-Message-Id: <201104211140.p3LBe6ev045786@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, Frank Brendel Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCBCC1065674 for ; Thu, 21 Apr 2011 11:36:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id BC80C8FC14 for ; Thu, 21 Apr 2011 11:36:31 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p3LBaVv8030239 for ; Thu, 21 Apr 2011 11:36:31 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p3LBaU9c030238; Thu, 21 Apr 2011 11:36:30 GMT (envelope-from nobody) Message-Id: <201104211136.p3LBaU9c030238@red.freebsd.org> Date: Thu, 21 Apr 2011 11:36:30 GMT From: Frank Brendel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/156547: relayd exits when disabling and enabling hosts X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2011 11:40:06 -0000 >Number: 156547 >Category: ports >Synopsis: relayd exits when disabling and enabling hosts >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 21 11:40:06 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Frank Brendel >Release: FreeBSD 8.2 >Organization: >Environment: FreeBSD 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When I enable a host relayd exits. The error message is: fatal: pfe_dispatch_imsg: desynchronized This happens only if I disable a host during long running checks. >How-To-Repeat: relayd.conf: ---snip--- host1="10.0.0.1" host2="10.0.0.2" host_ext="10.0.1.1" interval 30 timeout 15000 table { $host1 $host2 } relay relay1 { listen on $host_ext port ssh forward to port ssh check script "/tmp/chk_test.sh" } relay relay2 { listen on $host_ext port smtp forward to port smtp check script "/tmp/chk_test.sh" } ---snap--- /tmp/chk_test.sh: ---snip--- #!/usr/local/bin/bash while true; do echo "PID: $$ - HOST: $1 - DATE:" $(date) >>/tmp/chk_test.txt sleep 5 exit 1 done ---snap--- Run 'relayctl host disable 2' during a check cycle. Now relayctl shows that the host 2 is disabled. If you enable this host relayd exits on the next check of this host. >Fix: >Release-Note: >Audit-Trail: >Unformatted: