From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 30 20:30:03 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 19BDC1065675 for ; Thu, 30 Sep 2010 20:30:03 +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 D045D8FC19 for ; Thu, 30 Sep 2010 20:30:02 +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 o8UKU2gm024086 for ; Thu, 30 Sep 2010 20:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8UKU2q2024083; Thu, 30 Sep 2010 20:30:02 GMT (envelope-from gnats) Resent-Date: Thu, 30 Sep 2010 20:30:02 GMT Resent-Message-Id: <201009302030.o8UKU2q2024083@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, Melissa Jenkins Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FEDB106566C for ; Thu, 30 Sep 2010 20:25:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7F5308FC0C for ; Thu, 30 Sep 2010 20:25:05 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8UKP4eX001306 for ; Thu, 30 Sep 2010 20:25:04 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8UKP4pd001293; Thu, 30 Sep 2010 20:25:04 GMT (envelope-from nobody) Message-Id: <201009302025.o8UKP4pd001293@www.freebsd.org> Date: Thu, 30 Sep 2010 20:25:04 GMT From: Melissa Jenkins To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/151124: OpenBGPD exists if an interface is removed or created 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, 30 Sep 2010 20:30:03 -0000 >Number: 151124 >Category: ports >Synopsis: OpenBGPD exists if an interface is removed or created >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 30 20:30:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Melissa Jenkins >Release: 8.0-RELEASE-p3 >Organization: - >Environment: FreeBSD manch1.streamapn.com 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #3: Sat Jun 5 12:56:03 UTC 2010 root@XXXX:/usr/obj/usr/src/sys/SFIP-AMD-8_0 amd64 >Description: OpenBGPD exits (apparently cleanly) when changes to the IP addressing occur on an GRE & GIF interfaces Log shows the same exit codes as a clean shutdown. >How-To-Repeat: Running OpenBGPD with the following configuration ===>>> openbgpd-4.6.20100227 bgpd.conf: AS 64570 fib-update yes listen on 192.168.1.2 log updates network inet static network inet connected neighbor 192.168.1.1 { announce all } bgpd -v -v -v -v -d -f bgpd.conf Wait for startup, then remove an existing interface eg: ifconfig gre1 destroy bgpd logs the following: route decision engine exiting neighbor 192.168.1.129 (XXX): state change Established -> Idle, reason: Stop neighbor 192.168.1.1 (YYYY): state change Established -> Idle, reason: Stop session engine exiting kernel routing table decoupled Terminating Same happens when you configure new addresses on an existing interface ifconfig gre2 create (still fine) ifconfig gre10 inet 172.30.1.1 10.0.5.1 (exits) ifconfig gif1 inet 172.30.1.1 10.0.4.1 will also cause it to exit adding or removing an alias from a real interface doesn't appear to cause problems. Also, if you have a minimal configuration file containing only AS & listen on with nothing else it will still exit in the previous cases >Fix: >Release-Note: >Audit-Trail: >Unformatted: