Bug 231984 - net/frr5: After restarting the FRR service, zebra stops receiving routes from other services5
Summary: net/frr5: After restarting the FRR service, zebra stops receiving routes from...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Olivier Cochard
URL: https://github.com/FRRouting/frr/issu...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-05 19:11 UTC by Alexey
Modified: 2018-10-06 07:33 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2018-10-05 19:11:31 UTC
This error is in all starting script of frr.

https://github.com/FRRouting/frr/issues/3136

to fix it need for frr5 and frr4 and frr3 start script add next line:

--- /usr/ports/net/frr5/files/frr.in    2018-03-25 10:44:59.000000000 +0300
+++ /usr/local/etc/rc.d/frr      2018-10-05 22:05:05.430493000 +0300
@@ -89,6 +89,7 @@
 {
        local ret
        ret=0
+       frr_cmd=$1
        for daemon in ${frr_daemons}; do
            command=%%PREFIX%%/sbin/${daemon}
            required_files=%%ETCDIR%%/${daemon}.conf
Comment 1 Donald Sharp 2018-10-05 19:29:18 UTC
https://github.com/FRRouting/frr/issues/3136#issuecomment-427473667

is an explanation of what I saw in the script.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-10-06 07:25:38 UTC
A commit references this bug:

Author: olivier
Date: Sat Oct  6 07:25:21 UTC 2018
New revision: 481322
URL: https://svnweb.freebsd.org/changeset/ports/481322

Log:
  Fix 2 bugs into the RC script (restart and quietstart) and add ISIS patch.

  PR:		231984
  Submitted by:	pautina@kharkiv.net

Changes:
  head/net/frr5/Makefile
  head/net/frr5/files/frr.in
  head/net/frr5/files/patch-isisd_isis__circuit.c
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-10-06 07:30:45 UTC
A commit references this bug:

Author: olivier
Date: Sat Oct  6 07:29:44 UTC 2018
New revision: 481324
URL: https://svnweb.freebsd.org/changeset/ports/481324

Log:
  Fix 2 bugs into the RC script (restart and quietstart)

  PR:		231984
  Submitted by:	pautina@kharkiv.net

Changes:
  head/net/frr4/Makefile
  head/net/frr4/files/frr.in
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-10-06 07:31:49 UTC
A commit references this bug:

Author: olivier
Date: Sat Oct  6 07:31:19 UTC 2018
New revision: 481325
URL: https://svnweb.freebsd.org/changeset/ports/481325

Log:
  Fix 2 bugs into the RC script (restart and quietstart)

  PR:		231984
  Submitted by:	pautina@kharkiv.net

Changes:
  head/net/frr3/Makefile
  head/net/frr3/files/frr.in
Comment 5 Olivier Cochard freebsd_committer freebsd_triage 2018-10-06 07:33:27 UTC
Thanks a lot's for your troubleshooting session and patch!