From b91636dcfecc14aa57cabcb604a0c020c78b54b7 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 6 Feb 2020 08:22:40 -0600 Subject: [PATCH] qa/distros: rhel and centos: whitelist cephadm logrotate selinux denial This is fixed in RHEL 8.1.1 (and by extension centos/rhel 8.2+). No fix for el 7 yet Partially-fixes: https://tracker.ceph.com/issues/43703 Signed-off-by: Sage Weil --- qa/distros/all/centos_7.6.yaml | 4 ++++ qa/distros/all/centos_8.0.yaml | 4 ++++ qa/distros/all/centos_8.1.yaml | 4 ++++ qa/distros/all/rhel_7.6.yaml | 4 ++++ qa/distros/all/rhel_7.7.yaml | 4 ++++ qa/distros/all/rhel_8.0.yaml | 4 ++++ qa/distros/all/rhel_8.1.yaml | 4 ++++ 7 files changed, 28 insertions(+) diff --git a/qa/distros/all/centos_7.6.yaml b/qa/distros/all/centos_7.6.yaml index 4cb095e6c0e..43e3d49cca6 100644 --- a/qa/distros/all/centos_7.6.yaml +++ b/qa/distros/all/centos_7.6.yaml @@ -1,2 +1,6 @@ os_type: centos os_version: "7.6" +overrides: + selinux: + whitelist: + - scontext=system_u:system_r:logrotate_t:s0 diff --git a/qa/distros/all/centos_8.0.yaml b/qa/distros/all/centos_8.0.yaml index 282379e039a..4fbb41228d2 100644 --- a/qa/distros/all/centos_8.0.yaml +++ b/qa/distros/all/centos_8.0.yaml @@ -1,2 +1,6 @@ os_type: centos os_version: "8.0" +overrides: + selinux: + whitelist: + - scontext=system_u:system_r:logrotate_t:s0 diff --git a/qa/distros/all/centos_8.1.yaml b/qa/distros/all/centos_8.1.yaml index 104574c68b7..24ae800744f 100644 --- a/qa/distros/all/centos_8.1.yaml +++ b/qa/distros/all/centos_8.1.yaml @@ -1,2 +1,6 @@ os_type: centos os_version: "8.1" +overrides: + selinux: + whitelist: + - scontext=system_u:system_r:logrotate_t:s0 diff --git a/qa/distros/all/rhel_7.6.yaml b/qa/distros/all/rhel_7.6.yaml index 62f52e8e7df..01742009d73 100644 --- a/qa/distros/all/rhel_7.6.yaml +++ b/qa/distros/all/rhel_7.6.yaml @@ -1,2 +1,6 @@ os_type: rhel os_version: "7.6" +overrides: + selinux: + whitelist: + - scontext=system_u:system_r:logrotate_t:s0 diff --git a/qa/distros/all/rhel_7.7.yaml b/qa/distros/all/rhel_7.7.yaml index fec2609389b..f848d1788aa 100644 --- a/qa/distros/all/rhel_7.7.yaml +++ b/qa/distros/all/rhel_7.7.yaml @@ -1,2 +1,6 @@ os_type: rhel os_version: "7.7" +overrides: + selinux: + whitelist: + - scontext=system_u:system_r:logrotate_t:s0 diff --git a/qa/distros/all/rhel_8.0.yaml b/qa/distros/all/rhel_8.0.yaml index 3edcc303a4f..215c34b7fd8 100644 --- a/qa/distros/all/rhel_8.0.yaml +++ b/qa/distros/all/rhel_8.0.yaml @@ -1,2 +1,6 @@ os_type: rhel os_version: "8.0" +overrides: + selinux: + whitelist: + - scontext=system_u:system_r:logrotate_t:s0 diff --git a/qa/distros/all/rhel_8.1.yaml b/qa/distros/all/rhel_8.1.yaml index 0c1ec3523d1..7f6b13b589c 100644 --- a/qa/distros/all/rhel_8.1.yaml +++ b/qa/distros/all/rhel_8.1.yaml @@ -1,2 +1,6 @@ os_type: rhel os_version: "8.1" +overrides: + selinux: + whitelist: + - scontext=system_u:system_r:logrotate_t:s0 -- 2.39.5