From 235e3e90c00974542348775e866332b9ba25921b Mon Sep 17 00:00:00 2001 From: Hyunwoo Kim Date: Fri, 10 May 2013 17:55:14 +0900 Subject: [PATCH] smack merge Change-Id: I53d086c161190504db48f2442c062ae633c37b5a Signed-off-by: Hyunwoo Kim --- etc/wrt_security_create_clean_db.sh | 5 +++++ packaging/wrt-security.manifest | 3 +++ 2 files changed, 8 insertions(+) diff --git a/etc/wrt_security_create_clean_db.sh b/etc/wrt_security_create_clean_db.sh index ead4467..08d7a3f 100644 --- a/etc/wrt_security_create_clean_db.sh +++ b/etc/wrt_security_create_clean_db.sh @@ -26,6 +26,11 @@ do chown 0:6026 /opt/dbspace/.$name.db-journal chmod 660 /opt/dbspace/.$name.db chmod 660 /opt/dbspace/.$name.db-journal + if [ -f /usr/lib/rpm-plugins/msm.so ] + then + chsmack -a "wrt-security-daemon::db" /opt/dbspace/.$name.db + chsmack -a "wrt-security-daemon::db" /opt/dbspace/.$name.db-journal + fi done diff --git a/packaging/wrt-security.manifest b/packaging/wrt-security.manifest index 442cac0..30be4f8 100644 --- a/packaging/wrt-security.manifest +++ b/packaging/wrt-security.manifest @@ -9,4 +9,7 @@ + + + -- 2.7.4