Bootstrap

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

 

悦读

道可道,非常道;名可名,非常名。 无名,天地之始,有名,万物之母。 故常无欲,以观其妙,常有欲,以观其徼。 此两者,同出而异名,同谓之玄,玄之又玄,众妙之门。

;