Run booting-done.service as root:root System
authorHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 25 Apr 2022 06:21:19 +0000 (15:21 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 25 Jan 2024 14:30:30 +0000 (15:30 +0100)
booting-done.service should be privileged to be responsible for
checkpointing booting status not only for normal booting
but also for FOTA and recovery booting.

Change-Id: Ic17dd0559544c323dedfe7c9b5ad13d01bc65588
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
units/booting-done.service.in

index 42c9a5c..1b8f835 100644 (file)
@@ -4,9 +4,9 @@ RefuseManualStart=yes
 RefuseManualStop=yes
 
 [Service]
-User=system_fw
-Group=system_fw
+User=root
+Group=root
+SmackProcessLabel=System
 ExecStart=@rootbindir@/wait-delayed-target.sh
 ExecStartPost=-/usr/bin/device_board_set_boot_success
 RemainAfterExit=yes
-SmackProcessLabel=System