[apache2] 06/06: README.backtrace: note that dir must be owned by www-data

Stefan Fritsch sf at moszumanska.debian.org
Sat Jan 9 22:59:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

sf pushed a commit to branch master
in repository apache2.

commit fba49a3691e90c8091508a3a24ea5970f6e01d06
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Sat Jan 9 23:53:41 2016 +0100

    README.backtrace: note that dir must be owned by www-data
---
 debian/README.backtrace | 8 +++++---
 debian/changelog        | 2 ++
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/README.backtrace b/debian/README.backtrace
index 17ccb18..9d06130 100644
--- a/debian/README.backtrace
+++ b/debian/README.backtrace
@@ -7,9 +7,11 @@ In case of a crash, do the following:
 
 1) Install the packages apache2-dbg libapr1-dbg libaprutil1-dbg gdb. 
 
-2) Add "CoreDumpDirectory /var/cache/apache2" to your apache configuration.
+2) Add "CoreDumpDirectory /var/cache/apache2/core" to your apache configuration.
 
 3) Execute as root:
+	mkdir -p /var/cache/apache2/core
+	chown www-data: /var/cache/apache2/core
 	/etc/init.d/apache2 stop
 	ulimit -c unlimited
 	/etc/init.d/apache2 start
@@ -19,14 +21,14 @@ In case of a crash, do the following:
 
 5) If you use a forking MPM (e.g. mod_prefork), execute:
 
-	gdb /usr/sbin/apache2 /var/cache/apache2/core
+	gdb /usr/sbin/apache2 /var/cache/apache2/core/core
 	(gdb) bt full
 	...
 	(gdb) quit
 
 If you use a threaded mpm (mod_worker, mod_event), execute:
 
-	gdb /usr/sbin/apache2 /var/cache/apache2/core
+	gdb /usr/sbin/apache2 /var/cache/apache2/core/core
         (gdb) thread apply all bt full
 	...
 	(gdb) quit
diff --git a/debian/changelog b/debian/changelog
index 869c36e..b324bc5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ apache2 (2.4.18-2) UNRELEASED; urgency=medium
 
   * Fix a2query -M not returning output if apache2 config is broken.
     Fix missing quotes in apache2-maintscript-helper. Closes: #810500
+  * README.backtrace: Note that coredump directory needs to be owned by
+    www-data. Closes: #806697
 
  -- Stefan Fritsch <sf at debian.org>  Sat, 09 Jan 2016 23:35:20 +0100
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apache2.git



More information about the Pkg-apache-commits mailing list