doczkal / rpms / abrt

Forked from rpms/abrt 4 years ago
Clone

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

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