SELinux prevents ovirt-guest-agent to modify ovirt-guest-agent.pid

Solution Unverified - Updated -

Issue

  • When I start it I get the following error in syslog:
Mar  7 11:47:26 clv201 setroubleshoot: SELinux is preventing /usr/bin/python from write access on the file ovirt-guest-agent.pid. For complete SELinux messages. run sealert -l 8559d06c-78a9-4ec4-ac64-c976612b19d1
Mar  7 11:47:26 clv201 setroubleshoot: SELinux is preventing /usr/bin/python from setattr access on the file ovirt-guest-agent.pid. For complete SELinux messages. run sealert -l 3ad17ebb-7e70-41cb-a79d-fc51dcd8d814

[root@clv201 ~]# grep ovirt-guest-age /var/log/audit/audit.log | audit2allow


#============= rhev_agentd_t ==============
allow rhev_agentd_t initrc_var_run_t:file { write setattr };

Environment

  • Red Hat Enterprise Virtualization Manager 3.1.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content