init warning: Service myservice needs a SELinux domain defined. Please fix
问题 I want to excute an executable on boot On a target board with Android 5.1 so I add this in init.rc: on boot start myservice service myservice /system/bin/myservice #class main user root group root #oneshot I did the unpack and repack job. When changes are made, however, the screen keeps printing: init warning: Service myservice needs a SELinux domain defined. Please fix. type=1400 ... avc:denied ... scontext ... tcontext ... #some annoying warning messages like this SELinux seems a huge