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

Reviewed by: ruediger

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1913438 13f79535-47bb-0310-9956-ffa450edef68

test/travis_run_linux.sh

index 96bfcf74039b6d2b9235601d23b31ca22f5a5252..77e2cf5fb8029515495992184ae905e18892934d 100755 (executable)
@@ -111,6 +111,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 WITH_TEST_SUITE; then