Vadym,
/etc/selinux/restorecond.conf ?
I've been suggested this one as well off-list (maybe because of a submitter's mistake).
I'm going for a hybrid situation:
- restorecon where I can manipulate the code, since I can't predict all the files that will be affected.
- restorecond.conf where I can't manipulate the code, as issues appear.
Thanks a lot for your answers.