]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
teuthology/task/selinux: ignore denials in agetty 1974/head
authorIlya Dryomov <idryomov@gmail.com>
Wed, 10 Jul 2024 11:25:21 +0000 (13:25 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 10 Jul 2024 12:06:14 +0000 (14:06 +0200)
This was tracked in [1], but the addition of the context to the
allowlist in ceph.git commit 7a6389272aff ("qa: ignore container
checkpoint/restore related selinux denials for centos9") doesn't
cover krbd suite which doesn't pull in any distro snippets.

Since this denial has nothing to do with Ceph [2], let's ignore it
globally.

[1] http://tracker.ceph.com/issues/64616
[2] https://bugzilla.redhat.com/show_bug.cgi?id=2259622

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
teuthology/task/selinux.py

index ca739072293c5c4811778b965e66d9d16e6ee183..7b33b11b3c0b60643bb53ac7cd2052da2b580d55 100644 (file)
@@ -137,6 +137,7 @@ class SELinux(Task):
             'comm="sssd"',
             'comm="sss_cache"',
             'context=system_u:system_r:NetworkManager_dispatcher_t:s0',
+            'context=system_u:system_r:getty_t:s0',
         ]
         se_allowlist = self.config.get('allowlist', [])
         if se_allowlist: