Created attachment 228985 [details] net/frr7: Backport 7573cb8 "yang: fix zebra module" After upgrading net/libyang to 1.0.240, zebra began emitting the following warnings during service start. Checking zebra.conf 2021/10/24 11:41:55 ZEBRA: libyang: Schema node "condition" not found (./condition) with context node "/frr-route-map:lib/route-map/entry/match-condition". 2021/10/24 11:41:55 ZEBRA: libyang: Schema node "condition" not found (./condition = 'ipv4-prefix-length' or ./condition) with context node "/frr-route-map:lib/route-map/entry/match-condition". 2021/10/24 11:41:55 ZEBRA: libyang: Schema node "condition" not found (./condition) with context node "/frr-route-map:lib/route-map/entry/match-condition". 2021/10/24 11:41:55 ZEBRA: libyang: Schema node "condition" not found (./condition) with context node "/frr-route-map:lib/route-map/entry/match-condition". 2021/10/24 11:41:55 ZEBRA: libyang: Schema node "condition" not found (./condition) with context node "/frr-route-map:lib/route-map/entry/match-condition". 2021/10/24 11:41:55 ZEBRA: libyang: Schema node "action" not found (./action) with context node "/frr-route-map:lib/route-map/entry/set-action". 2021/10/24 11:41:55 ZEBRA: libyang: Schema node "action" not found (./action) with context node "/frr-route-map:lib/route-map/entry/set-action". 2021/10/24 11:41:55 ZEBRA: [EC 4043309111] Disabling MPLS support (no kernel support) OK This appears to be a consequence the bug reported upstream as #8521 [0]. A fix is available [1] in the 7-stable branch, but has not appeared in a 7.x release. [0] https://github.com/FRRouting/frr/issues/8521 [1] https://github.com/FRRouting/frr/commit/7573cb86a259d3c9ef6eae9dd5d529f8080922cd
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4460e8dbd81053072a959b120f647db09690a333 commit 4460e8dbd81053072a959b120f647db09690a333 Author: Olivier Cochard <olivier@FreeBSD.org> AuthorDate: 2021-10-28 12:08:10 +0000 Commit: Olivier Cochard <olivier@FreeBSD.org> CommitDate: 2021-10-28 12:17:24 +0000 net/frr7: Fix warnings since latest libyang upgrade PR: 259403 Reported by: John W. O'Brien <john@saltant.com> net/frr7/Makefile | 2 +- .../files/patch-yang_frr-zebra.yang.patch (new) | 68 ++++++++++++++++++++++ 2 files changed, 69 insertions(+), 1 deletion(-)
Thanks for your report