[Bug 245480] net/frr7
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 9 15:15:44 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245480
Bug ID: 245480
Summary: net/frr7
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: olivier at freebsd.org
Reporter: jgreco at ns.sol.net
Flags: maintainer-feedback?(olivier at freebsd.org)
Assignee: olivier at freebsd.org
frr includes watchfrr, a component to watch the frr daemons and restart them if
crashed.
watchfrr will try to restart a single daemon by issuing "service frr onerestart
ospfd", for example, which works fine. However, if multiple daemons have
crashed, it will issue "service frr onerestart all" and this fails.
The frr startup script at /usr/local/etc/rc.d/frr does not handle "all"
properly (or actually at all).
This is easily remedied. A stanza exists around line 136 to select the
frr_daemons to restart if arguments have been provided.
if [ $# -ge 1 ]; then
frr_daemons="$*"
fi
can be changed to
if [ $# -ge 1 -a "$1" != "all" ]; then
frr_daemons="$*"
fi
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list