Added local check for selinux