selinux: ignore issues with sssd 1622/head
authorSage Weil <sage@newdream.net>
Sat, 27 Feb 2021 15:26:36 +0000 (09:26 -0600)
committerSage Weil <sage@newdream.net>
Sat, 27 Feb 2021 15:26:36 +0000 (09:26 -0600)
['type=AVC msg=audit(1614438637.552:5615): avc: denied { read } for pid=876 comm="sssd" name="resolv.conf" dev="sda1" ino=265261 scontext=system_u:system_r:sssd_t:s0 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file permissive=1']

(currently seen on rhel 8.3)

Signed-off-by: Sage Weil <sage@newdream.net>
teuthology/task/selinux.py

index e21c0698dc27457b4c0c64b1266b06a51da9d151..879a58084502f3ddf561a5979a0766208fffa833 100644 (file)
@@ -131,6 +131,7 @@ class SELinux(Task):
             'comm="rpm"',
             'tcontext=system_u:object_r:container_runtime_exec_t:s0',
             'comm="ksmtuned"',
+            'common="sssd"',
         ]
         se_whitelist = self.config.get('whitelist', [])
         if se_whitelist: