From: Adam Malinowski Date: Mon, 21 Jul 2014 16:23:50 +0000 (+0200) Subject: Fix cynara service and local state directory labeling with smack X-Git-Tag: accepted/tizen/common/20140722.142604~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50837dad71bab7fc4582749bf5ce35bed4788149;p=platform%2Fcore%2Fsecurity%2Fcynara.git Fix cynara service and local state directory labeling with smack Change-Id: I08c3fdbc118d566a3e9fb4b4b340ba3c2323d71a --- diff --git a/packaging/cynara.manifest b/packaging/cynara.manifest index a76fdba..f31de52 100644 --- a/packaging/cynara.manifest +++ b/packaging/cynara.manifest @@ -1,5 +1,5 @@ - + diff --git a/packaging/cynara.spec b/packaging/cynara.spec index 11c630b..0b02d91 100644 --- a/packaging/cynara.spec +++ b/packaging/cynara.spec @@ -125,6 +125,8 @@ if [ $1 = 1 ]; then systemctl enable %{name}.service fi +chsmack -a System %{state_path} + systemctl restart %{name}.service /sbin/ldconfig