From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 9 20:42:46 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3CE3F751 for ; Thu, 9 Oct 2014 20:42:46 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 242AE892 for ; Thu, 9 Oct 2014 20:42:46 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s99Kgkro020154 for ; Thu, 9 Oct 2014 20:42:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 194278] New: Port net/quagga: rc.d/quagga script not working properly Date: Thu, 09 Oct 2014 20:42:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: riccp@ige.unicamp.br X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2014 20:42:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194278 Bug ID: 194278 Summary: Port net/quagga: rc.d/quagga script not working properly Product: Ports Tree Version: Latest Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: riccp@ige.unicamp.br CC: mat@FreeBSD.org CC: mat@FreeBSD.org After installing the net/quagga port and setting the quagga_enable="NO" in /etc/rc.conf the /usr/local/etc/rc.d/quagga script tries to start the daemons. If quagga_enable="YES" then it works as expected. # egrep quagga /etc/rc.conf quagga_enable="NO" quagga_daemons="zebra ripd ospfd" # /usr/local/etc/rc.d/quagga status Cannot 'status' zebra. Set quagga_enable to YES in /etc/rc.conf or use 'onestatus' instead of 'status'. Cannot 'status' ripd. Set quagga_enable to YES in /etc/rc.conf or use 'onestatus' instead of 'status'. Cannot 'status' ospfd. Set quagga_enable to YES in /etc/rc.conf or use 'onestatus' instead of 'status'. # /usr/local/etc/rc.d/quagga [: =: unexpected operator [: =: unexpected operator [: =: unexpected operator Usage: /usr/local/etc/rc.d/quagga [fast|force|one|quiet](start|stop|restart|rcvar|enabled|configtest|status|poll) # /usr/local/etc/rc.d/quagga start Checking zebra.conf OK Cannot 'start' zebra. Set quagga_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'. Checking ripd.conf OK Cannot 'start' ripd. Set quagga_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'. Checking ospfd.conf 2014/10/09 17:37:56 OSPF: ASBR[Status:1]: Update 2014/10/09 17:37:56 OSPF: ASBR[Status:2]: Update 2014/10/09 17:37:56 OSPF: ASBR[Status:2]: Already ASBR 2014/10/09 17:37:56 OSPF: ASBR[Status:3]: Update 2014/10/09 17:37:56 OSPF: ASBR[Status:3]: Already ASBR OK Cannot 'start' ospfd. Set quagga_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'. # /usr/local/etc/rc.d/quagga onestart Starting zebra. Starting ripd. Starting ospfd. 2014/10/09 17:38:12 OSPF: ASBR[Status:1]: Update 2014/10/09 17:38:12 OSPF: ASBR[Status:2]: Update 2014/10/09 17:38:12 OSPF: ASBR[Status:2]: Already ASBR 2014/10/09 17:38:12 OSPF: ASBR[Status:3]: Update 2014/10/09 17:38:12 OSPF: ASBR[Status:3]: Already ASBR # /usr/local/etc/rc.d/quagga onestop Stopping zebra. Waiting for PIDS: 62355. Stopping ripd. Waiting for PIDS: 18584. Stopping ospfd. Waiting for PIDS: 96746. # vi /etc/rc.conf (setting to yes) # egrep quagga /etc/rc.conf quagga_enable="YES" quagga_daemons="zebra ripd ospfd" # /usr/local/etc/rc.d/quagga status zebra is not running. ripd is not running. ospfd is not running. # /usr/local/etc/rc.d/quagga [: =: unexpected operator [: =: unexpected operator [: =: unexpected operator Usage: /usr/local/etc/rc.d/quagga [fast|force|one|quiet](start|stop|restart|rcvar|enabled|configtest|status|poll) # /usr/local/etc/rc.d/quagga start Checking zebra.conf OK Starting zebra. Checking ripd.conf OK Starting ripd. Checking ospfd.conf 2014/10/09 17:40:48 OSPF: ASBR[Status:1]: Update 2014/10/09 17:40:48 OSPF: ASBR[Status:2]: Update 2014/10/09 17:40:48 OSPF: ASBR[Status:2]: Already ASBR 2014/10/09 17:40:48 OSPF: ASBR[Status:3]: Update 2014/10/09 17:40:48 OSPF: ASBR[Status:3]: Already ASBR OK Starting ospfd. 2014/10/09 17:40:48 OSPF: ASBR[Status:1]: Update 2014/10/09 17:40:48 OSPF: ASBR[Status:2]: Update 2014/10/09 17:40:48 OSPF: ASBR[Status:2]: Already ASBR 2014/10/09 17:40:48 OSPF: ASBR[Status:3]: Update 2014/10/09 17:40:48 OSPF: ASBR[Status:3]: Already ASBR # /usr/local/etc/rc.d/quagga stop Stopping ospfd. Waiting for PIDS: 25800. Stopping ripd. Waiting for PIDS: 47923. Stopping zebra. Waiting for PIDS: 55664. --- Comment #1 from Bugzilla Automation --- Maintainers CC'd -- You are receiving this mail because: You are the assignee for the bug.