From dcab2aff7bf9659334e6dda7f50caccbe849213e Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 14 Jul 2010 15:31:30 -0700 Subject: Enable putting core files /var/core For serviceablity put core files in /var/core. But core file will still not be created unless process is running with permission to write there, and has ulimit permission. --- sysconf/vyatta-sysctl.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysconf') diff --git a/sysconf/vyatta-sysctl.conf b/sysconf/vyatta-sysctl.conf index f10f4541..671afac1 100644 --- a/sysconf/vyatta-sysctl.conf +++ b/sysconf/vyatta-sysctl.conf @@ -9,6 +9,9 @@ kernel.panic_on_oops=1 # Timeout before rebooting on panic kernel.panic=60 +# Send all core files to /var/core/core.program.pid.time +kernel.core_pattern=/var/core/core-%e-%p-%t + # ARP configuration # arp_filter - allow multiple network interfaces on same subnet # arp_announce - avoid local addresses no on target's subnet -- cgit v1.2.3