init.rc service 无法启动

# start preinstall                                     
init: Could not ctl.start for service preinstall: File /vendor/bin/preinstall.sh(labeled "u:object_r:vendor_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials

 

即使selinux设置为permissive,也要有selinux domain切换

 

扩展阅读:https://events.static.linuxfound.org/sites/events/files/slides/abs2014_seforandroid_smalley.pdf

 

相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页