diff options
author | Manojkiran Eda <manojkiran.eda@gmail.com> | 2018-05-26 08:07:52 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-12 21:56:47 +0300 |
commit | b36f3148561a6abf306deb69e1d5a59f900a344f (patch) | |
tree | 9755b32ad378279e4843f4268d3254f679b4e772 /meta-phosphor/recipes-phosphor/webui/phosphor-webui.bb | |
parent | 2a6fedf819da8331ed62391bdfa0acdb10202847 (diff) | |
download | openbmc-b36f3148561a6abf306deb69e1d5a59f900a344f.tar.xz |
Remove hidden-files in coredump(dir) during boot
It is observed that systemd-coredump has the capability to remove
the older dumps which are having the naming style mentioned in
/proc/sys/kernel/core_pattern, But will not remove any other files
present in the coredump directory.
It can happen that, while processing a dump the BMC Crashes and there
by leaving the partial dumps in the coredump directory and these will
be hidden and will not be removed by systemd-coredump service.These
files can get piled up and the BMC can run into OOM condition.So idea
of this commit is to make sure that , we remove all the temporary
hidden files in the coredump directory during the next BMC boot.
- Made a rule and placed it in /usr/lib/tmpfiles.d/*.conf which will
be used by systemd-tmpfiles to remove the hidden files in coredump
directory during boot.
Partially Resolves openbmc/openbmc#2826
(From meta-phosphor rev: 9fe03c666476de51ab75904f008f45f8485ac9b2)
Change-Id: Iff96b3880ebdeccb842e6aa7ff9807fcd451fb5a
Signed-off-by: manojeda <manojeda@in.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/webui/phosphor-webui.bb')
0 files changed, 0 insertions, 0 deletions