Change the smack label for data-checkpoint.service 62/311162/3 accepted/tizen/unified/20240606.161520
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Wed, 15 May 2024 11:21:11 +0000 (13:21 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Tue, 4 Jun 2024 13:00:23 +0000 (15:00 +0200)
The service needs a higher permission to set a proper smack label "_" on
the target directory ("/opt").

Change-Id: Ifab76559dd0b3b0d930f164f492c56aa52d9afd5

scripts/rw-upgrade/data-checkpoint.service.in

index 2f373fc5923b404babd497ba3f38e3f31e77f485..e2a4a360dbdeeecd61106f9e374d09f99209461f 100644 (file)
@@ -10,7 +10,7 @@ ExecStart=@UPGRADE_SCRIPTS_DIR@/update-checkpoint-create.sh
 RemainAfterExit=yes
 StandardOutput=journal+console
 StandardError=journal+console
-SmackProcessLabel=System
+SmackProcessLabel=System::Privileged
 
 [Install]
 WantedBy=data-checkpoint.target