summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-14 15:43:42 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-14 15:43:42 -0700
commit0f912e38e32196b5d4ebc1f2d17b3f3c16ee2910 (patch)
tree0db737bcc67c3787a58ba7e88511c14441000a4d
parente1ef5b1bf4801ed38db61099faed4133ee9711d0 (diff)
parentdcab2aff7bf9659334e6dda7f50caccbe849213e (diff)
downloadvyatta-cfg-quagga-0f912e38e32196b5d4ebc1f2d17b3f3c16ee2910.tar.gz
vyatta-cfg-quagga-0f912e38e32196b5d4ebc1f2d17b3f3c16ee2910.zip
Merge branch 'larkspur' of vm:git/vyatta-cfg-system into larkspur
-rw-r--r--debian/vyatta-cfg-system.postinst.in1
-rw-r--r--sysconf/vyatta-sysctl.conf3
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 3c3c2e40..1058f718 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -147,6 +147,7 @@ fi
# create needed directories
mkdir -p /var/log/user
+mkdir -p /var/core
touch /etc/environment
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