summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Wereski <m.wereski@partner.samsung.com>2013-02-28 12:40:09 (GMT)
committerMaciej Wereski <m.wereski@partner.samsung.com>2013-02-28 12:40:09 (GMT)
commit372a57b580f4c69ea87d70d891a375660a86c5c1 (patch)
tree9603900667f1c7649ef01f44d796ba75df11f5ac
parent15b3e1256f3ef36ce677970da4762bee26b7d887 (diff)
downloadstarter-372a57b580f4c69ea87d70d891a375660a86c5c1.zip
starter-372a57b580f4c69ea87d70d891a375660a86c5c1.tar.gz
starter-372a57b580f4c69ea87d70d891a375660a86c5c1.tar.bz2
[systemd] Fix Smack labels for systemd units
Systemd in user session failes to launch starter service because SMACK blocks access. It was caused by improper labeled systemd unit files with "starter" label. This commit fixes it by labeling systemd specific files and folders with "_" label. In case of addition or moving systemd unit files, please label them with "_" label. Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
-rwxr-xr-xpackaging/starter.spec2
-rwxr-xr-xstarter.manifest3
2 files changed, 4 insertions, 1 deletions
diff --git a/packaging/starter.spec b/packaging/starter.spec
index b33cc21..8fa0551 100755
--- a/packaging/starter.spec
+++ b/packaging/starter.spec
@@ -1,7 +1,7 @@
Name: starter
Summary: starter
Version: 0.4.56
-Release: 1
+Release: 2
Group: TO_BE/FILLED_IN
License: TO_BE/FILLED_IN
Source0: starter-%{version}.tar.gz
diff --git a/starter.manifest b/starter.manifest
index 2538fea..d2210a5 100755
--- a/starter.manifest
+++ b/starter.manifest
@@ -9,5 +9,8 @@
<filesystem path="/usr/bin/starter" label="starter" exec_label="starter" />
<filesystem path="/etc/init.d/rd3starter" label="_" exec_label="none" />
<filesystem path="/etc/init.d/rd4starter" label="_" exec_label="none" />
+ <filesystem path="/usr/lib/systemd/user/starter.path" label="_" exec_label="none" />
+ <filesystem path="/usr/lib/systemd/user/starter.service" label="_" exec_label="none" />
+ <filesystem path="/usr/lib/systemd/user/core-efl.target.wants/starter.path" label="_" exec_label="none" />
</assign>
</manifest>