From 76272091c84ff879a78b288600cb4e7546d9cdb1 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. (cherry picked from commit 286ebed626a73d879fe37f2771a303310d040a43) Bug: 271125313 Test: ls -l /sys/devices/platform/16490000.gsa-ns/ Change-Id: Ib8f299e99add9cc2f03887cda78f576924c522cd Merged-In: Ib8f299e99add9cc2f03887cda78f576924c522cd --- conf/init.zuma.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/init.zuma.rc b/conf/init.zuma.rc index 2ffbd86a..fe6ded61 100644 --- a/conf/init.zuma.rc +++ b/conf/init.zuma.rc @@ -365,6 +365,10 @@ on init chown system system /sys/devices/platform/13120000.pcie/link_stats/link_recovery_failures chown system system /sys/devices/platform/13120000.pcie/link_stats/link_up_failures + # 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