diff --git a/debian/rules b/debian/rules index 74573c9a0e5d..d706a0cd2519 100755 --- a/debian/rules +++ b/debian/rules @@ -47,6 +47,7 @@ export PYTHON=python3 override_dh_auto_configure: $(shell dpkg-buildflags --export=sh); \ dh_auto_configure -- \ + --runstatedir=/run \ --sbindir=/usr/lib/frr \ --with-vtysh-pager=/usr/bin/pager \ --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)/frr \ diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index 1ba8f043b255..f9d12354b61c 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -45,7 +45,7 @@ %define frr_tools %{zeb_src}/tools %if 0%{!?_runstatedir:1} -%define _runstatedir %{_localstatedir}/run +%define _runstatedir /run %endif ############################################################################