From 286ebed626a73d879fe37f2771a303310d040a43 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Tue, 28 Feb 2023 09:55:08 -0800 Subject: [PATCH] zuma: conf: set gsa log group to system dumpstate runs as system group, so in order to prepare for it to be readable by dumpstate, we need to change the group to system. Bug: 271125313 Test: ls -l /sys/devices/platform/16490000.gsa-ns/ Change-Id: Ib8f299e99add9cc2f03887cda78f576924c522cd --- conf/init.zuma.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/init.zuma.rc b/conf/init.zuma.rc index 0c56113e..ea43d3e4 100644 --- a/conf/init.zuma.rc +++ b/conf/init.zuma.rc @@ -355,6 +355,10 @@ on init # Big Core: sync more performance is prohibitively bad write /sys/devices/system/cpu/cpu8/mte_tcf_preferred asymm + # Change GSA log group for dumpstate + chown root system /sys/devices/platform/16490000.gsa-ns/log_main + chown root system /sys/devices/platform/16490000.gsa-ns/log_intermediate + on post-fs # Ensure device is ready and start storageproxyd wait /dev/sg1