[FROG] /etc vs /usr/local/etc
Randy Bush
randy at psg.com
Sun May 5 18:54:46 UTC 2024
frr n00b here
setting up frr as a debian12 amd64 kvm image. and it was working from
the packaged binary. cool beans.
except i run is-is, which means i had to build from source (which jammed
on `rtrlib` needing a version of `libssh` i still need to find. but i
disabled rpki <blush>), and completed the build and install on branch
`stable/10.0`.
it blows chunks on start
cannot run start: /usr/local/etc/frr/daemons does not exist
the binary package for deb12 put configs in `/etc/frr`, not
`/usr/local/etc/frr`, and that's kinda the debian way. (yes, i used to
love freebsd, but ...)
a bit of poking finds that it installed and expects `/usr/local/...` for
everything. and i see no `./configure` option to set `PREFIX`.
so i hack `./configure`
- ac_default_prefix=/usr/local
+ ac_default_prefix=
it builds and installs, but then i find myself at the top of what looks
like a much deeper rabbit hole.
frr.service: Failed to locate executable /usr/local/sbin/frrinit.sh: No such file or directory
clue bat appreciated.
randy
More information about the frog
mailing list