Add better handling of CGroups and selinux