For anyone experiencing a transient unlabeled /data file system, the root cause
seems to be when fs_mgr_do_format() is invoked and a new
ext4 filesystem is created. That file system is unlabeled until the
restorecon_recursive is kicked off. The solution seems to be passing the
sehandle
for file_contexts to the make_ext4 routine so the created file system is
properly labelled.
I saw them with logd myself:
avc: denied { search } for pid=2535 comm="logd" name="/" dev="mmcblk0p9" ino=2
scontext=u:r:logd:s0 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1
https://android-review.googlesource.com/#/c/229794/
Hopefully this saves someone a couple of hours.
Bill
_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to
[email protected].