summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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