]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
task.selinux: Whitelist rhsmd denials 1152/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 14 Mar 2018 17:12:06 +0000 (13:12 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 14 Mar 2018 17:12:06 +0000 (13:12 -0400)
These started showing up once we added RHEL to Sepia.

Fixes: https://tracker.ceph.com/issues/23343#note-5
Signed-off-by: David Galloway <dgallowa@redhat.com>
teuthology/task/selinux.py

index d74df244f68d5ed0ea3c7b5b2467479f8ed78f8f..fe7b7a247de23bdf32474f1a60952fca0bd69bae 100644 (file)
@@ -114,6 +114,7 @@ class SELinux(Task):
             'scontext=system_u:system_r:nrpe_t:s0',
             'scontext=system_u:system_r:pcp_pmlogger_t',
             'scontext=system_u:system_r:pcp_pmcd_t:s0',
+            'comm="rhsmd"',
         ]
         se_whitelist = self.config.get('whitelist', [])
         if se_whitelist: