From owner-freebsd-ports-bugs@freebsd.org Sat Feb 23 20:25:23 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DE1915046D8 for ; Sat, 23 Feb 2019 20:25:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B31E16E137 for ; Sat, 23 Feb 2019 20:25:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 738CE15046D7; Sat, 23 Feb 2019 20:25:22 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E8B915046D6 for ; Sat, 23 Feb 2019 20:25:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE0A56E133 for ; Sat, 23 Feb 2019 20:25:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D4E37198B5 for ; Sat, 23 Feb 2019 20:25:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1NKPKR4080913 for ; Sat, 23 Feb 2019 20:25:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1NKPKu5080912 for ports-bugs@FreeBSD.org; Sat, 23 Feb 2019 20:25:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 235969] net/frr6: integrated-vtysh-config not honored by rc file Date: Sat, 23 Feb 2019 20:25:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yman@protonmail.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olivier@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 20:25:23 -0000 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.=