Date: Sun, 30 Jun 2024 00:24:59 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280057] net/frr9: mgmtd aborts during config check on assertion in lib/vty.c:vty_new() Message-ID: <bug-280057-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280057 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=3D251784&action= =3Dedit 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 cl= osed connection MGMTD: lib/vty.c:1684: vty_new(): assertion (new->mgmt_session_id !=3D 0) f= ailed, 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=3DYES frr_daemons=3D"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 vers= ion 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 serv= ice to start successfully. --=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-280057-7788>