From 50837dad71bab7fc4582749bf5ce35bed4788149 Mon Sep 17 00:00:00 2001 From: Adam Malinowski Date: Mon, 21 Jul 2014 18:23:50 +0200 Subject: [PATCH] Fix cynara service and local state directory labeling with smack Change-Id: I08c3fdbc118d566a3e9fb4b4b340ba3c2323d71a --- packaging/cynara.manifest | 2 +- packaging/cynara.spec | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.7.4