From 5403b10cef6fae64f394517937ddec2dae777404 Mon Sep 17 00:00:00 2001 From: "Blake J. Harnden" Date: Tue, 20 Mar 2018 14:49:17 -0700 Subject: [PATCH] update to set CORE_STATE_DIR to /var --- configure.ac | 2 +- daemon/core/constants.py.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 7cd95b33..7109977e 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ CORE_LIB_DIR="\${prefix}/lib/core" CORE_CONF_DIR="/etc/core" CORE_DATA_DIR="\${datarootdir}/core" # TODO: verify there is need to hard set /var -CORE_STATE_DIR="\${localstatedir}" +CORE_STATE_DIR="/var" AC_SUBST(PACKAGE_DATE) AC_SUBST(PACKAGE_MAINTAINERS) diff --git a/daemon/core/constants.py.in b/daemon/core/constants.py.in index 8be82eda..7dea1ad8 100644 --- a/daemon/core/constants.py.in +++ b/daemon/core/constants.py.in @@ -11,7 +11,7 @@ SYSCTL_BIN = "@sysctl_path@/sysctl" IP_BIN = "@ip_path@/ip" TC_BIN = "@tc_path@/tc" EBTABLES_BIN = "@ebtables_path@/ebtables" -QUAGGA_STATE_DIR = "/var/run/quagga" +QUAGGA_STATE_DIR = "@CORE_STATE_DIR@/run/quagga" MOUNT_BIN = "@mount_path@/mount" UMOUNT_BIN = "@umount_path@/umount" OVS_BIN = "@ovs_vs_path@/ovs-vsctl"