summaryrefslogtreecommitdiff
path: root/sysconf
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-14 15:31:30 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-14 15:31:30 -0700
commitdcab2aff7bf9659334e6dda7f50caccbe849213e (patch)
treee096f74eb7a986b3a0c3b473796d9a3a930b11ef /sysconf
parent5719dc4448a91e357a18c17df4f5849efc89d21b (diff)
downloadvyatta-cfg-system-dcab2aff7bf9659334e6dda7f50caccbe849213e.tar.gz
vyatta-cfg-system-dcab2aff7bf9659334e6dda7f50caccbe849213e.zip
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.
Diffstat (limited to 'sysconf')
-rw-r--r--sysconf/vyatta-sysctl.conf3
1 files changed, 3 insertions, 0 deletions
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