Displaying 1 result from an estimated 1 matches for "xserver_misc_device_t".
2015 Dec 23
1
CentOS 7 pcp-pmda-nvidia-gpu SELinux problems
...ia /var/log/audit/audit.log | audit2allow -M [...]', 'semodule -i [...].pp', restarting the PCP service, getting new SELinux errors, going back to step 1, I ended up with this content in the .te file:
"""
module doshea-selinux-pcp-pmda-nvidia-gpu 1.0;
require {
type xserver_misc_device_t;
type pcp_pmcd_t;
class capability sys_admin;
class chr_file { read write ioctl open };
}
#============= pcp_pmcd_t ==============
allow pcp_pmcd_t self:capability sys_admin;
#!!!! This avc is allowed in the current policy
allow pcp_pmcd_t xserver_misc_device_t:chr_file { read write i...