From: Sage Weil Date: Thu, 6 Feb 2020 14:22:40 +0000 (-0600) Subject: qa/distros: rhel and centos: whitelist cephadm logrotate selinux denial X-Git-Tag: v15.1.1~525^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F33110%2Fhead;p=ceph.git 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 --- diff --git a/qa/distros/all/centos_7.6.yaml b/qa/distros/all/centos_7.6.yaml index 4cb095e6c0eb..43e3d49cca68 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 282379e039ab..4fbb41228d2d 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 104574c68b76..24ae800744fe 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 62f52e8e7dfd..01742009d73b 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 fec2609389b6..f848d1788aaf 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 3edcc303a4f4..215c34b7fd89 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 0c1ec3523d1f..7f6b13b589cd 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