]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: use allowlist instead of whitelist for selinux denials
authorVenky Shankar <vshankar@redhat.com>
Mon, 4 Mar 2024 01:09:06 +0000 (06:39 +0530)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 8 Jul 2024 15:29:07 +0000 (17:29 +0200)
https://github.com/ceph/teuthology/pull/1757 introduced this change,
however, qa/distros continued to use `whitelist' keyword.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 71c9fe55d6a4ba3dbff166c155cc74d485f75330)

 Conflicts:
qa/distros/container-hosts/centos_9.stream.yaml
qa/distros/container-hosts/centos_9.stream_runc.yaml
qa/distros/podman/centos_9.stream.yaml

Adjust for missing centos_9[.stream] distros and other distros
which are present for release.

(cherry picked from commit c86a45dc833193de1904b6a7f64824c8df6e2b8a)

21 files changed:
qa/distros/all/centos_7.6.yaml
qa/distros/all/centos_8.0.yaml
qa/distros/all/centos_8.1.yaml
qa/distros/all/centos_8.2.yaml
qa/distros/all/centos_8.3.yaml
qa/distros/all/centos_8.stream.yaml
qa/distros/all/rhel_7.6.yaml
qa/distros/all/rhel_7.7.yaml
qa/distros/all/rhel_8.0.yaml
qa/distros/all/rhel_8.1.yaml
qa/distros/all/rhel_8.3.yaml
qa/distros/all/rhel_8.4.yaml
qa/distros/all/rhel_8.5.yaml
qa/distros/all/rhel_8.6.yaml
qa/distros/container-hosts/centos_8.stream_container_tools.yaml
qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml
qa/distros/container-hosts/rhel_8.6_container_tools_3.0.yaml
qa/distros/container-hosts/rhel_8.6_container_tools_rhel8.yaml
qa/distros/podman/centos_8.stream_container_tools.yaml
qa/distros/podman/rhel_8.6_container_tools_3.0.yaml
qa/distros/podman/rhel_8.6_container_tools_rhel8.yaml

index 81014e102f1733c81a4c15c63885a8ceea35e558..1eddf680c110a72ebfffb35fd7c017aa51272003 100644 (file)
@@ -2,6 +2,6 @@ os_type: centos
 os_version: "7.6"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index 1679bf0d5580d7ae3bca34b2fc2f77ed42fc994a..787bbfeb01ee6618b22e6ab0ecf67f9f166ec6d7 100644 (file)
@@ -2,6 +2,6 @@ os_type: centos
 os_version: "8.0"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index f764e507992b2a3564e554d371b751fe8ffa16db..986e74abf9cebc4dbd6dccb64197fb64fe5fb1df 100644 (file)
@@ -2,6 +2,6 @@ os_type: centos
 os_version: "8.1"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index 1ccbd8abdba1d80a9e82d5cabb88096a57d91430..d9f6178c6e667a48eb53362d3dc10bcdd21b1ba3 100644 (file)
@@ -2,6 +2,6 @@ os_type: centos
 os_version: "8.2"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index b9a7c2579a3a31df8a166bd80cbb81997833995e..54e1c3b1161bc7269c61ae334ffaa8a5c67bae59 100644 (file)
@@ -2,6 +2,6 @@ os_type: centos
 os_version: "8.3"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index 5ae75c6bee3f33c2c19c65820cabccac85c72f53..f9607d2c6803702a5819921bee8b68e4ec8f1122 100644 (file)
@@ -2,6 +2,6 @@ os_type: centos
 os_version: "8.stream"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index 37bc0fb4a814d0a74c904530606cdbc8ef861b53..5a075301497e5d813d85beec24653252dba4ae6d 100644 (file)
@@ -2,6 +2,6 @@ os_type: rhel
 os_version: "7.6"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index ac44fe18e99d74f018bbe9a0d6594ea9d02977e1..654c73177d37dd66d24bc066bd0186cc1c4764d1 100644 (file)
@@ -2,6 +2,6 @@ os_type: rhel
 os_version: "7.7"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index da6a33ed06192f153ef1213b558194f228e3099a..7605739901f1420b56edbbf4acd005fbcc30625d 100644 (file)
@@ -2,6 +2,6 @@ os_type: rhel
 os_version: "8.0"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index c73893149dee99c129332ee7b61ca99892670dce..4b0439c0f0705d833987857562c70010b6235946 100644 (file)
@@ -2,6 +2,6 @@ os_type: rhel
 os_version: "8.1"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index 4e44bbff59c1383af308fc9e833dbad3458a406a..48414fe75d188399ab6243d044a9878a04a9baf7 100644 (file)
@@ -2,6 +2,6 @@ os_type: rhel
 os_version: "8.3"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index 5a299ffc5396d5e778c84fac41f812751ee772b3..2d4088392fe735d9160a2f85fe4aa6c4fd83a17e 100644 (file)
@@ -2,6 +2,6 @@ os_type: rhel
 os_version: "8.4"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index 3e02bb1965bd4b6a8b6ac0766db893fb5cdcf109..591b22661d0233e240d591c71e29fece54c7cb4d 100644 (file)
@@ -2,6 +2,6 @@ os_type: rhel
 os_version: "8.5"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index 1f9a6b73fda5ea855903fefe1d7f30560c375b70..f70647ed823db688a747a07990e99648b3a607ab 100644 (file)
@@ -2,6 +2,6 @@ os_type: rhel
 os_version: "8.6"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 ktype: distro
index 4a76306f19d5994590a9f51458a424948dfbd896..3dad3b845d463ccae5d475f5d76a39c61c273f15 100644 (file)
@@ -2,7 +2,7 @@ os_type: centos
 os_version: "8.stream"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 
 tasks:
index b06e1c87d7c20c1eed677d41e728e52c7e0da206..d1d395b93246e3942cce3172f738d800a2cb2fcc 100644 (file)
@@ -2,7 +2,7 @@ os_type: centos
 os_version: "8.stream"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 
 tasks:
index 361d8546e2b7dca2487088fbd2c7c935f63a2dd9..b7e7048c040caf65214eb4149f550f41b30bef7a 100644 (file)
@@ -2,7 +2,7 @@ os_type: rhel
 os_version: "8.6"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 tasks:
 - pexec:
index be94ed69e7d6f3a008c85fca412cb7b6f35e205f..12b5ffe1da85debf47c7f5e4762a8f7e3cf7824d 100644 (file)
@@ -2,7 +2,7 @@ os_type: rhel
 os_version: "8.6"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 tasks:
 - pexec:
index 4a76306f19d5994590a9f51458a424948dfbd896..3dad3b845d463ccae5d475f5d76a39c61c273f15 100644 (file)
@@ -2,7 +2,7 @@ os_type: centos
 os_version: "8.stream"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 
 tasks:
index 361d8546e2b7dca2487088fbd2c7c935f63a2dd9..b7e7048c040caf65214eb4149f550f41b30bef7a 100644 (file)
@@ -2,7 +2,7 @@ os_type: rhel
 os_version: "8.6"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 tasks:
 - pexec:
index be94ed69e7d6f3a008c85fca412cb7b6f35e205f..12b5ffe1da85debf47c7f5e4762a8f7e3cf7824d 100644 (file)
@@ -2,7 +2,7 @@ os_type: rhel
 os_version: "8.6"
 overrides:
   selinux:
-    whitelist:
+    allowlist:
       - scontext=system_u:system_r:logrotate_t:s0
 tasks:
 - pexec: