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 286ebed626)

Bug: 271125313
Test: ls -l /sys/devices/platform/16490000.gsa-ns/
Change-Id: Ib8f299e99add9cc2f03887cda78f576924c522cd
Merged-In: Ib8f299e99add9cc2f03887cda78f576924c522cd
This commit is contained in:
Kenny Root 2023-02-28 09:55:08 -08:00
parent 2d67d31e45
commit 76272091c8

View file

@ -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