]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Systemd based systems might process core dumps via systemd-coredump.
authorRuediger Pluem <rpluem@apache.org>
Mon, 30 Oct 2023 14:22:05 +0000 (14:22 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 30 Oct 2023 14:22:05 +0000 (14:22 +0000)
  But we want to have local unprocessed files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913437 13f79535-47bb-0310-9956-ffa450edef68

test/travis_run_linux.sh

index dcc835443dd7ddcd927e73ab5db6802eb8b6addd..29b7e7c27426a0769b185f17795963eb22591c21 100755 (executable)
@@ -113,6 +113,9 @@ if ! test -v SKIP_TESTING; then
 
     # Try to keep all potential coredumps from all processes
     sudo sysctl -w kernel.core_uses_pid=1 2>/dev/null || true
+    # Systemd based systems might process core dumps via systemd-coredump.
+    # But we want to have local unprocessed files.
+    sudo sysctl -w kernel.core_pattern=core || true
     ulimit -c unlimited 2>/dev/null || true
 
     if ! test -v NO_TEST_FRAMEWORK; then