Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Apr 2020 15:15:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 245480] net/frr7
Message-ID:  <bug-245480-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245480

            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@freebsd.org
          Reporter: jgreco@ns.sol.net
             Flags: maintainer-feedback?(olivier@freebsd.org)
          Assignee: olivier@freebsd.org

frr includes watchfrr, a component to watch the frr daemons and restart the=
m if
crashed.

watchfrr will try to restart a single daemon by issuing "service frr oneres=
tart
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=3D"$*"
fi

can be changed to

if [ $# -ge 1 -a "$1" !=3D "all" ]; then
        frr_daemons=3D"$*"
fi

--=20
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-245480-7788>