pathvector
pathvector copied to clipboard
bird-socket doesnt get used when executing `birdsh`
Describe the bug
When trying to use pathvector birdsh pathvector seems to look for /var/run/bird/bird.ctl and not actually look at the pathvector.yaml config for the custom location of bird-socket
Environment
Pathvector 6.3.2
Built c35220bf121f366ff05a51d93c6236e8c324d682 on 2023-06-11T07:03:14Z
No plugins
on FreeBSD 14
To Reproduce
- bird.ctl placed in
/var/run/bird.ctl - pathvector.yaml having the following:
bird-socket: /var/run/bird.ctl - execute
pathvector -c /usr/local/etc/pathvector.yaml birdsh
FATA[0000] dial unix /var/run/bird/bird.ctl: connect: no such file or directory
As seen above pathvector tried to look at /var/run/bird/bird.ctl instead of /var/run/bird.ctl
Expected behavior Birdsh to work for an interactive shell