Actions
Bug #9409
closedCrash dumps cannot be saved when RAM disks are enabled for /var
Start date:
03/18/2019
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All
Description
When a system has RAM disks enabled for /var, the /var/crash directory is missing at bootup when the OS attempts to save crash dumps. As such, the dumps cannot be saved.
Updated by Jim Pingle over 5 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset b39d615394eabd2d19afef0936219c609ef602e3.
Updated by Jim Pingle over 5 years ago
- Target version changed from 2.5.0 to 2.4.4-p3
Updated by Constantine Kormashev over 5 years ago
Tried on 2.4.4-p3. Set RAM Disk Size to 100 (enable swap) and perform sysctl debug.kdb.panic=1, /var/crash contains dump:
ls -lh /var/crash/ total 116 -rw-r--r-- 1 root wheel 2B May 14 18:26 bounds -rw------- 1 root wheel 519B May 14 18:26 info.0 lrwxr-xr-x 1 root wheel 6B May 14 18:26 info.last -> info.0 -rw------- 1 root wheel 105K May 14 18:26 textdump.tar.0 lrwxr-xr-x 1 root wheel 14B May 14 18:26 textdump.tar.last -> textdump.tar.0
Actions