Bug 239497

Summary: net/frr5 rc.d/frr doesn't start daemon in integrated configuration mode
Product: Ports & Packages Reporter: Nicolas <nicolas>
Component: Individual Port(s)Assignee: Olivier Cochard <olivier>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (olivier)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch none

Description Nicolas 2019-07-28 15:42:15 UTC
Created attachment 206122 [details]
Patch

Issue:
/etc/rc.d/frr start does't start daemon if etc/frr/${daemon}.conf doesn't exit even if vtysh_boot is set to YES.

Integrated configuration mode use only frr.conf and so didn't require per daemon configuration files.
When daemons start, if ${daemon}.conf didn't exist daemon read frr.conf.

Solution:
Apply the attached patch.
Comment 1 Nicolas 2019-07-28 18:26:45 UTC
This bug exist only in frr5.
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-02-10 16:26:16 UTC
A commit references this bug:

Author: olivier
Date: Mon Feb 10 16:25:53 UTC 2020
New revision: 525713
URL: https://svnweb.freebsd.org/changeset/ports/525713

Log:
  - Fix starting daemon in integrated configuration mode
  - While here, add 'dynamicrouting' to RC's PROVIDE and fix Makefile order

  PR:		239497
  Submitted by:	Nicolas Deffayet <nicolas@deffayet.com>

Changes:
  head/net/frr5/Makefile
  head/net/frr5/files/frr.in
Comment 3 Olivier Cochard freebsd_committer freebsd_triage 2020-02-10 16:39:15 UTC
Thanks for your patch... and patience too :-)