mirror_frr/vtysh
Igor Ryzhov 2574f03a13 vtysh: remove resync workaround when exiting to config node
When exiting from a level below the config node, like `router rip`,
vtysh executes a resync by sending "end" and "conf term [file-lock]"
commands to all the daemons. As statet in the description comment, it's
done "in case one of the daemons is somewhere else". I don't think this
actually ever happens, but even if it is, it is a bug in a daemon that
needs to be fixed. This resync was okay before the introduction of
mgmtd, but now it unlocks and locks back the datastores during the
configuration reading process, which can lead to a failure which is
explained in the previous commit.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-02-07 18:37:29 +02:00
..
.gitignore lib,vtysh: add per-daemon log file config 2024-01-17 16:15:07 -05:00
daemons.pl *: manual SPDX License ID conversions 2023-02-09 14:09:07 +01:00
Makefile build: non-recursive vtysh 2018-09-08 21:26:54 +02:00
subdir.am lib,vtysh: add per-daemon log file config 2024-01-17 16:15:07 -05:00
vtysh_config.c vtysh: remove resync workaround when exiting to config node 2024-02-07 18:37:29 +02:00
vtysh_main.c *: rename frr_vtydir to frr_runstatedir 2024-01-27 19:01:19 +01:00
vtysh_user.c vtysh: Give actual pam error messages 2023-05-26 07:44:11 -04:00
vtysh_user.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
vtysh.c vtysh: remove resync workaround when exiting to config node 2024-02-07 18:37:29 +02:00
vtysh.h zebra: convert to mgmtd 2024-01-28 23:28:40 +02:00