summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2010-07-14 14:55:11 -0700
committerBob Gilligan <gilligan@vyatta.com>2010-07-14 14:55:11 -0700
commit2028beb690de8a7ed80d5f7823939db5d90163f9 (patch)
treea08948664edb951e3469d3ce9df027a88a613876
parentd28075bc51206bb8ef7e4f325ef7445ad8ac8686 (diff)
parent3de78deef2137052603c9d1ae85f840459e73a44 (diff)
downloadvyatta-cfg-system-2028beb690de8a7ed80d5f7823939db5d90163f9.tar.gz
vyatta-cfg-system-2028beb690de8a7ed80d5f7823939db5d90163f9.zip
Merge branch 'larkspur' of http://git.vyatta.com/vyatta-cfg-system into larkspur
-rw-r--r--debian/changelog6
-rw-r--r--debian/vyatta-cfg-system.postinst.in1
-rw-r--r--sysconf/vyatta-sysctl.conf3
3 files changed, 10 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 71469860..2c5efd31 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+vyatta-cfg-system (0.17.66) unstable; urgency=low
+
+ * Enable putting core files /var/core
+
+ -- Stephen Hemminger <stephen.hemminger@vyatta.com> Wed, 14 Jul 2010 16:25:22 -0700
+
vyatta-cfg-system (0.17.65) unstable; urgency=low
* Bugfix 5845, 5557: Install vyatta-update-grub.pl in
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