Open SRv6d opened 1 week ago
The path generated is selected by the operators configure statement, here's our line in the frr.service: PIDFile=@e_frr_runstatedir@/watchfrr.pid
This is generated from the configure.ac option of --local-state-dir=XXX
.
Since I have absolutely no idea where you got your frr packaging I cannot comment on whether or not how it got a localstatedir = /var
setting
Like mentioned in the issue, FRR is installed from the provided repositories, specifically https://rpm.frrouting.org/repo/frr-stable-repo-1-0.el8.noarch.rpm on Rocky Linux 9.4, the same goes for the Debian stable repositories though.
I made a cursory attempt at finding where that setting is defined but I only found some comments indicating what it is set to.
tools/frrcommon.sh.in
26:V_PATH="@e_frr_runstatedir@${suffix}" # /var/run/frr
tools/frr.in
19:V_PATH="@e_frr_runstatedir@" # /var/run/frr
Description
The systemd unit file shipped with FRRouting uses a deprecated path in it's PIDFile directive, causing systemd to to log the following error:
Version
How to reproduce
Install FRRouting from the provided repos.
Expected behavior
Don't use deprecated paths.
Actual behavior
systemd error:
Additional context
No response
Checklist