fix smack denied issue on emulator
authorJae-young <jae-young@mylinux.(none)>
Fri, 28 Jun 2013 01:38:19 +0000 (10:38 +0900)
committerJae-young <jae-young@mylinux.(none)>
Fri, 28 Jun 2013 01:40:12 +0000 (10:40 +0900)
Can't be booted up once in a while
due to smack denied occur in service file
If a service is launched while smack service is executing,
can't load smack rule
In order to solve that edited smack service file to be launched before other services

Change-Id: I8cbe9e01ae2995f263a90250f80dbb9d73c1fe8c
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
init/smack.service

index 920a3f6..71452eb 100644 (file)
@@ -6,6 +6,7 @@ Requires=smack.mount
 Before=basic.target
 
 [Service]
+Type=oneshot
 ExecStart=/usr/bin/smackctl apply
 ExecStop=/usr/bin/smackctl clear
 RemainAfterExit=yes