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 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