crashlog: introducing crashlogctl

This patch introduce the command `crashlogctl`,
it is used to enable/disable the ACRN crashlog services.

Also a systemd-tmpfile config file is introduced to create the
/var/log/crashlog directory, and a sysctl config file where
the usercrash-wrapper will be configured at boot time.

Tracked-On: #1386
Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
Reviewed-by: Zhi Jin <zhi.jin@intel.com>
Acked-by: Chen Gang <gang.c.chen@intel.com>
This commit is contained in:
Miguel Bernal Marin
2018-09-19 04:03:19 -05:00
committed by wenlingz
parent b1a05d17ed
commit f3fc857f56
3 changed files with 201 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
#Type Path Mode UID GID Age Argument
d /var/log/crashlog 0750 telemetry telemetry -