[Bug 280057] net/frr9: mgmtd aborts during config check on assertion in lib/vty.c:vty_new()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Jun 2024 00:24:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280057 Bug ID: 280057 Summary: net/frr9: mgmtd aborts during config check on assertion in lib/vty.c:vty_new() Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: olivier@freebsd.org Reporter: john@saltant.com Flags: maintainer-feedback?(olivier@freebsd.org) Assignee: olivier@freebsd.org Created attachment 251784 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251784&action=edit Terminal output from "service frr start" On a clean install of net/frr9 with empty config files, the mgmtd service component fails to start. During the config check step, it aborts with these errors followed by additional diagnostic output (see attached). MGMTD: [YKHB9-ND03T] FE-client: msg_conn_send_msg: can't send message on closed connection MGMTD: lib/vty.c:1684: vty_new(): assertion (new->mgmt_session_id != 0) failed, extra info: Failed to create client session for VTY MGMTD: Received signal 6 at 1719706531 (si_addr 0x0); aborting... Steps to reproduce: pkg install frr9 sysrc frr_enable=YES frr_daemons="zebra mgmtd staticd" mkdir /usr/local/etc/frr cd /usr/local/etc/frr umask 066 touch zebra.conf mgmtd.conf staticd.conf chown -R frr:frr /usr/local/etc/frr service frr start Confirmed on freshly deployed EC2 instances running 13.3-RELEASE (amd64 and arm64) and 14.1-RELEASE (amd64 and arm64). The symptoms are similar to those reported in https://github.com/FRRouting/frr/issues/14174, except that the current version of devel/protobuf-c (1.4.1) is greater than the version that resolved that issue (1.3.3). Editing frr's rc script to skip the config check for mgmtd enables the service to start successfully. -- You are receiving this mail because: You are the assignee for the bug.