/usr/local/etc/rc.d/quagga script always returns 0, regardless of actual status of quagga daemons. It should return non-zero when one or more of quagga daemons don't work. This bug breaks applications such as heartbeat which depend on the onestatus command.
Fix: Apply the attached patch.
Patch attached with submission follows:
How-To-Repeat: # /usr/local/etc/rc.d/quagga onestatus
zebra is not running.
bgpd is not running.
# echo $?
Maintainer of net/quagga,
Please note that PR ports/143086 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
Edwin Groothuis via the GNATS Auto Assign Tool
Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Approved. Thank You!
I'll take it.
pgollucci 2010-02-01 17:45:31 UTC
FreeBSD ports repository
- Fix the return value of the rc.d script
Submitted by: Emil Smolenski <email@example.com>
Approved by: Boris Kovalenko <firstname.lastname@example.org> (maintainer)
Revision Changes Path
1.96 +1 -1 ports/net/quagga/Makefile
1.16 +4 -1 ports/net/quagga/files/quagga.sh.in
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"