]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
task/selinux: ignore SElinux denials caused by podman 1396/head
authorKefu Chai <kchai@redhat.com>
Thu, 16 Jan 2020 06:54:46 +0000 (14:54 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 16 Jan 2020 14:56:56 +0000 (22:56 +0800)
it's a workaround of https://tracker.ceph.com/issues/43635

Signed-off-by: Kefu Chai <kchai@redhat.com>
teuthology/task/selinux.py

index c3cd494f59db7ddfbef9730d39d33a8164fb5e97..01026f5e4494ea24c86f242a0baf2801b1ff9021 100644 (file)
@@ -125,6 +125,7 @@ class SELinux(Task):
             'comm="rhsmcertd-worke"',
             'comm="setroubleshootd"',
             'comm="rpm"',
+            'tcontext=system_u:object_r:container_runtime_exec_t:s0',
         ]
         se_whitelist = self.config.get('whitelist', [])
         if se_whitelist: