pathvector icon indicating copy to clipboard operation
pathvector copied to clipboard

bird-socket doesnt get used when executing `birdsh`

Open zappiehost opened this issue 2 years ago • 0 comments

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

  1. bird.ctl placed in /var/run/bird.ctl
  2. pathvector.yaml having the following: bird-socket: /var/run/bird.ctl
  3. 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

zappiehost avatar Jul 15 '23 13:07 zappiehost