From 6cb35aab9906f95461a2d4ef61262397afc85539 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Tue, 16 Dec 2014 14:21:42 -0600 Subject: Recovery init.rc setenforce 0 to make SELinux permissive This will only work if the sepolicy is changed by also applying: https://gerrit.omnirom.org/10924 Otherwise the sepolicy will deny the request. Change-Id: I8a52cdfdd38bda19aa89686ff0ad31b90e1aa3b7 --- etc/init.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/init.rc b/etc/init.rc index 7dae1c9e8..8a12b7cfd 100644 --- a/etc/init.rc +++ b/etc/init.rc @@ -11,6 +11,10 @@ on early-init start ueventd start healthd +service set_permissive /sbin/toolbox setenforce 0 + oneshot + seclabel u:r:recovery:s0 + on init export PATH /sbin:/system/bin export LD_LIBRARY_PATH .:/sbin -- cgit v1.2.3