# 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
本文探讨了Android系统中预安装服务启动失败的问题,详细分析了SELinux安全策略导致的域切换错误,并提供了相应的解决思路及扩展阅读资料。

2916

被折叠的 条评论
为什么被折叠?



