Date: Sat, 23 Feb 2019 20:25:20 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 235969] net/frr6: integrated-vtysh-config not honored by rc file Message-ID: <bug-235969-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235969 Bug ID: 235969 Summary: net/frr6: integrated-vtysh-config not honored by rc file 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: yman@protonmail.ch Flags: maintainer-feedback?(olivier@freebsd.org) Assignee: olivier@freebsd.org Created attachment 202299 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202299&action= =3Dedit frr.in.patch Problem When using 'integrated-vtysh-config' mode with frr.conf (frr_vtysh_boot rc flag), but without any daemon specific config files (e.g. ospfd.conf) all daemons failed to start. Then 'vtysh -b' failed to apply config to daemons. Steps to reproduce on 12.0: * install frr6 * create /usr/local/etc/frr/vtysh.conf with - service integrated-vtysh-config - hostname router - username root nopassword * create empty /usr/local/etc/frr/frr.conf * put any daemons in /etc/rc.conf options with frr_vtysh_boot, like - frr_enable=3D"YES" - frr_daemons=3D"zebra ospfd bgpd" - frr_vtysh_boot=3D"YES" * start frr service Result No daemons running, service didn't start. Expected result All chosen daemons running, service started. Some explanation In 'integrated-vtysh-config' mode vtysh utility controls that all daemons h= as config they need, while serving it from single config file (frr.conf), not daemon specific configs. vtysh also controls config writing. Daemons on sta= rtup locate frr.conf file and don't tries to load they own config. 'vtysh -b' ru= ns last and apply configuration to daemons. While there's a 'frr_vtysh_boot' flag in rc file for that exact reason, sta= rtup procedures still require all daemons have they own configs. If there are no daemon specific configs, that daemon will not be executed at all. --=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-235969-7788>