diff options
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 1 | ||||
-rw-r--r-- | sysconf/vyatta-sysctl.conf | 3 |
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 |