-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Labels
Description
Describe the bug
FRRzebra service is not loaded during startup because daemon/core/services/manager.py fails to locate the zebra executable in the correct path.
To Reproduce
Steps to reproduce the behavior:
- On Debian 12, install
frrpackage using:
apt install -y frr- Install
core_9.2.1_amd64.deb - Start
core-daemonusing:
systemctl start core-daemonor, to see the error message:
source /opt/core/venv/bin/activate
core-daemon --debug- See error:
2025-07-07 16:52:42,314 - DEBUG - manager:load_locals - not loading service(zebra): service(zebra): failed to find required executable(zebra) in path
Expected behavior
Error message should not apear.
Desktop (please complete the following information):
- OS: Debian 12
- CORE Version 9.2.1
Additional context
The bug is due to the fact that, in order to add the FRRzebra service to the daemon session, daemon/core/services/manager.py uses the function utils.which to search for the zebraexecutable. But the function call does not take into account the frr_sbin_path variable that is configured in the FRRZebra class.
References