Date: Thu, 09 Oct 2014 20:42:46 +0000 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 Message-ID: <bug-194278-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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 <bugzilla@FreeBSD.org> --- Maintainers CC'd -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194278-13>