Set core_pattern to an absolute path.

Change-Id: I71e848783c05dc75b2232e05dd2ed3aa9a983e23
This commit is contained in:
Matt Liggett 2019-12-11 15:05:48 -08:00
parent 586d200e35
commit ec24d3c7e8

View File

@ -29,7 +29,7 @@ function setup-os-params {
# Reset core_pattern. On GCI, the default core_pattern pipes the core dumps to
# /sbin/crash_reporter which is more restrictive in saving crash dumps. So for
# now, set a generic core_pattern that users can work with.
echo "core.%e.%p.%t" > /proc/sys/kernel/core_pattern
echo "/core.%e.%p.%t" > /proc/sys/kernel/core_pattern
}
# secure_random generates a secure random string of bytes. This function accepts