Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From ac74c211646214add9aaac5acab54a8e485b567f Mon Sep 17 00:00:00 2001
- From: Matt Weber <matthew.weber@rockwellcollins.com>
- Date: Wed, 30 Oct 2019 23:09:52 -0500
- Subject: [PATCH] configure: install cache and log if different paths
- This patch prevents both locations (/var/cache and /var/log) which point
- to ../tmp/ from causing a install race condition as they both write .keep
- files.
- Removes the netdata subfolder in /var/log as it won't actually be used on
- target as /var/log is mapped to ../tmp/ which is mounted tmpfs.
- Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
- ---
- configure.ac | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
- diff --git a/configure.ac b/configure.ac
- index ea91a72..b7e22fc 100644
- --- a/configure.ac
- +++ b/configure.ac
- @@ -1062,13 +1062,13 @@ AC_DEFINE_UNQUOTED([NETDATA_USER], ["${with_user}"], [use this user to drop priv
- varlibdir="${localstatedir}/lib/netdata"
- registrydir="${localstatedir}/lib/netdata/registry"
- -cachedir="${localstatedir}/cache/netdata"
- +cachedir="${localstatedir}/lib/netdata/cache"
- chartsdir="${libexecdir}/netdata/charts.d"
- nodedir="${libexecdir}/netdata/node.d"
- pythondir="${libexecdir}/netdata/python.d"
- configdir="${sysconfdir}/netdata"
- libconfigdir="${libdir}/netdata/conf.d"
- -logdir="${localstatedir}/log/netdata"
- +logdir="${localstatedir}/log"
- pluginsdir="${libexecdir}/netdata/plugins.d"
- AC_SUBST([build_target])
- --
- 2.17.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement