doczkal / rpms / abrt

Forked from rpms/abrt 4 years ago
Clone

Blame SOURCES/0101-configure-move-the-default-dump-location-to-var-spoo.patch

a60cd7
From 7d023c32a565e83306cddf34c894477b7aaf33d1 Mon Sep 17 00:00:00 2001
a60cd7
From: Jakub Filak <jfilak@redhat.com>
a60cd7
Date: Mon, 20 Apr 2015 08:06:09 +0200
a60cd7
Subject: [ABRT PATCH] configure: move the default dump location to /var/spool
a60cd7
a60cd7
Signed-off-by: Jakub Filak <jfilak@redhat.com>
a60cd7
---
a60cd7
 configure.ac         | 4 ++--
a60cd7
 src/daemon/abrt.conf | 4 ++--
a60cd7
 2 files changed, 4 insertions(+), 4 deletions(-)
a60cd7
a60cd7
diff --git a/configure.ac b/configure.ac
a60cd7
index 6c6d2e8..d95fc4a 100644
a60cd7
--- a/configure.ac
a60cd7
+++ b/configure.ac
a60cd7
@@ -146,8 +146,8 @@ PROBLEMS_CONFIG_INTERFACES_DIR=${dbusinterfacedir}
a60cd7
 
a60cd7
 AC_ARG_WITH([defaultdumplocation],
a60cd7
             AS_HELP_STRING([--with-defaultdumplocation=DIR],
a60cd7
-                           [Default dump location ('LOCALSTATEDIR/tmp/abrt')]),
a60cd7
-            [], [with_defaultdumplocation=${localstatedir}/tmp/abrt])
a60cd7
+                           [Default dump location ('LOCALSTATEDIR/spool/abrt')]),
a60cd7
+            [], [with_defaultdumplocation=${localstatedir}/spool/abrt])
a60cd7
 AC_SUBST([DEFAULT_DUMP_LOCATION], [$with_defaultdumplocation])
a60cd7
 
a60cd7
 AC_ARG_WITH(augeaslenslibdir,
a60cd7
diff --git a/src/daemon/abrt.conf b/src/daemon/abrt.conf
a60cd7
index 6c0d6b0..171ee4c 100644
a60cd7
--- a/src/daemon/abrt.conf
a60cd7
+++ b/src/daemon/abrt.conf
a60cd7
@@ -10,11 +10,11 @@
a60cd7
 MaxCrashReportsSize = 1000
a60cd7
 
a60cd7
 # Specify where you want to store coredumps and all files which are needed for
a60cd7
-# reporting. (default:/var/tmp/abrt)
a60cd7
+# reporting. (default:/var/spool/abrt)
a60cd7
 #
a60cd7
 # Changing dump location could cause problems with SELinux. See man abrt_selinux(8).
a60cd7
 #
a60cd7
-#DumpLocation = /var/tmp/abrt
a60cd7
+#DumpLocation = /var/spool/abrt
a60cd7
 
a60cd7
 # If you want to automatically clean the upload directory you have to tweak the
a60cd7
 # selinux policy.
a60cd7
-- 
a60cd7
1.8.3.1
a60cd7