From: Venky Shankar Date: Mon, 4 Mar 2024 01:09:06 +0000 (+0530) Subject: qa: use allowlist instead of whitelist for selinux denials X-Git-Tag: v20.0.0~2458^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=71c9fe55d6a4ba3dbff166c155cc74d485f75330;p=ceph.git qa: use allowlist instead of whitelist for selinux denials https://github.com/ceph/teuthology/pull/1757 introduced this change, however, qa/distros continued to use `whitelist' keyword. Signed-off-by: Venky Shankar --- diff --git a/qa/distros/all/centos_7.6.yaml b/qa/distros/all/centos_7.6.yaml index 81014e102f173..1eddf680c110a 100644 --- a/qa/distros/all/centos_7.6.yaml +++ b/qa/distros/all/centos_7.6.yaml @@ -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 diff --git a/qa/distros/all/centos_8.0.yaml b/qa/distros/all/centos_8.0.yaml index 1679bf0d5580d..787bbfeb01ee6 100644 --- a/qa/distros/all/centos_8.0.yaml +++ b/qa/distros/all/centos_8.0.yaml @@ -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 diff --git a/qa/distros/all/centos_8.1.yaml b/qa/distros/all/centos_8.1.yaml index f764e507992b2..986e74abf9ceb 100644 --- a/qa/distros/all/centos_8.1.yaml +++ b/qa/distros/all/centos_8.1.yaml @@ -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 diff --git a/qa/distros/all/centos_8.2.yaml b/qa/distros/all/centos_8.2.yaml index 1ccbd8abdba1d..d9f6178c6e667 100644 --- a/qa/distros/all/centos_8.2.yaml +++ b/qa/distros/all/centos_8.2.yaml @@ -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 diff --git a/qa/distros/all/centos_8.3.yaml b/qa/distros/all/centos_8.3.yaml index b9a7c2579a3a3..54e1c3b1161bc 100644 --- a/qa/distros/all/centos_8.3.yaml +++ b/qa/distros/all/centos_8.3.yaml @@ -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 diff --git a/qa/distros/all/centos_8.stream.yaml b/qa/distros/all/centos_8.stream.yaml index 5ae75c6bee3f3..f9607d2c68037 100644 --- a/qa/distros/all/centos_8.stream.yaml +++ b/qa/distros/all/centos_8.stream.yaml @@ -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 diff --git a/qa/distros/all/rhel_7.6.yaml b/qa/distros/all/rhel_7.6.yaml index 37bc0fb4a814d..5a075301497e5 100644 --- a/qa/distros/all/rhel_7.6.yaml +++ b/qa/distros/all/rhel_7.6.yaml @@ -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 diff --git a/qa/distros/all/rhel_7.7.yaml b/qa/distros/all/rhel_7.7.yaml index ac44fe18e99d7..654c73177d37d 100644 --- a/qa/distros/all/rhel_7.7.yaml +++ b/qa/distros/all/rhel_7.7.yaml @@ -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 diff --git a/qa/distros/all/rhel_8.0.yaml b/qa/distros/all/rhel_8.0.yaml index da6a33ed06192..7605739901f14 100644 --- a/qa/distros/all/rhel_8.0.yaml +++ b/qa/distros/all/rhel_8.0.yaml @@ -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 diff --git a/qa/distros/all/rhel_8.1.yaml b/qa/distros/all/rhel_8.1.yaml index c73893149dee9..4b0439c0f0705 100644 --- a/qa/distros/all/rhel_8.1.yaml +++ b/qa/distros/all/rhel_8.1.yaml @@ -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 diff --git a/qa/distros/all/rhel_8.3.yaml b/qa/distros/all/rhel_8.3.yaml index 4e44bbff59c13..48414fe75d188 100644 --- a/qa/distros/all/rhel_8.3.yaml +++ b/qa/distros/all/rhel_8.3.yaml @@ -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 diff --git a/qa/distros/all/rhel_8.4.yaml b/qa/distros/all/rhel_8.4.yaml index 5a299ffc5396d..2d4088392fe73 100644 --- a/qa/distros/all/rhel_8.4.yaml +++ b/qa/distros/all/rhel_8.4.yaml @@ -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 diff --git a/qa/distros/all/rhel_8.5.yaml b/qa/distros/all/rhel_8.5.yaml index 3e02bb1965bd4..591b22661d023 100644 --- a/qa/distros/all/rhel_8.5.yaml +++ b/qa/distros/all/rhel_8.5.yaml @@ -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 diff --git a/qa/distros/all/rhel_8.6.yaml b/qa/distros/all/rhel_8.6.yaml index 1f9a6b73fda5e..f70647ed823db 100644 --- a/qa/distros/all/rhel_8.6.yaml +++ b/qa/distros/all/rhel_8.6.yaml @@ -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 diff --git a/qa/distros/container-hosts/centos_8.stream_container_tools.yaml b/qa/distros/container-hosts/centos_8.stream_container_tools.yaml index 4a76306f19d59..3dad3b845d463 100644 --- a/qa/distros/container-hosts/centos_8.stream_container_tools.yaml +++ b/qa/distros/container-hosts/centos_8.stream_container_tools.yaml @@ -2,7 +2,7 @@ os_type: centos os_version: "8.stream" overrides: selinux: - whitelist: + allowlist: - scontext=system_u:system_r:logrotate_t:s0 tasks: diff --git a/qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml b/qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml index b06e1c87d7c20..d1d395b93246e 100644 --- a/qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml +++ b/qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml @@ -2,7 +2,7 @@ os_type: centos os_version: "8.stream" overrides: selinux: - whitelist: + allowlist: - scontext=system_u:system_r:logrotate_t:s0 tasks: diff --git a/qa/distros/container-hosts/centos_9.stream.yaml b/qa/distros/container-hosts/centos_9.stream.yaml index d3bc430e63b98..de05533cea800 100644 --- a/qa/distros/container-hosts/centos_9.stream.yaml +++ b/qa/distros/container-hosts/centos_9.stream.yaml @@ -2,6 +2,6 @@ os_type: centos os_version: "9.stream" overrides: selinux: - whitelist: + allowlist: - scontext=system_u:system_r:logrotate_t:s0 diff --git a/qa/distros/container-hosts/centos_9.stream_runc.yaml b/qa/distros/container-hosts/centos_9.stream_runc.yaml index 2e4f9fe3a61e8..10d2137a5b32e 100644 --- a/qa/distros/container-hosts/centos_9.stream_runc.yaml +++ b/qa/distros/container-hosts/centos_9.stream_runc.yaml @@ -2,7 +2,7 @@ os_type: centos os_version: "9.stream" overrides: selinux: - whitelist: + allowlist: - scontext=system_u:system_r:logrotate_t:s0 tasks: diff --git a/qa/distros/podman/centos_8.stream_container_tools.yaml b/qa/distros/podman/centos_8.stream_container_tools.yaml index 4a76306f19d59..3dad3b845d463 100644 --- a/qa/distros/podman/centos_8.stream_container_tools.yaml +++ b/qa/distros/podman/centos_8.stream_container_tools.yaml @@ -2,7 +2,7 @@ os_type: centos os_version: "8.stream" overrides: selinux: - whitelist: + allowlist: - scontext=system_u:system_r:logrotate_t:s0 tasks: diff --git a/qa/distros/podman/centos_9.stream.yaml b/qa/distros/podman/centos_9.stream.yaml index d3bc430e63b98..de05533cea800 100644 --- a/qa/distros/podman/centos_9.stream.yaml +++ b/qa/distros/podman/centos_9.stream.yaml @@ -2,6 +2,6 @@ os_type: centos os_version: "9.stream" overrides: selinux: - whitelist: + allowlist: - scontext=system_u:system_r:logrotate_t:s0