diff --git a/debian/rules b/debian/rules index ec8f92f755f6..f3f7ba891464 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 b65ebf966c9f..c5c9eba35234 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 ############################################################################