The module frr.py produces debugging output when the 'flag' flie /tmp/vyos-frr.debug exists; this output is not produced when running under vyos-configd. There are two reasons: (1) the existence of the 'flag' is checked when the module is imported; vyos-configd imports before the /tmp file is created, either by vyos-router, or a 'touch' command (2) fixing 1, vyos-configd redirects stdout, but not stderr, currently; StreamHandler defaults to sys.stderr, however, preferring sys.stdout will be consistent with the call to 'frr_reload.py --stdout' and be succesfully redirected.
Description
Description
Details
Details
- Difficulty level
- Easy (less than an hour)
- Version
- vyos-1.4
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Unspecified (possibly destroys the router)
- Issue type
- Bug (incorrect behavior)