From: Paul Cuzner Date: Wed, 27 Jan 2021 20:40:58 +0000 (+1300) Subject: cephadm:add missing kernel_security property X-Git-Tag: v16.2.0~230^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d882adb00f4956ec5d9fc598b73096cf4f714770;p=ceph.git cephadm:add missing kernel_security property The propery decorator had gone missing which meant the dump of host facts was missing the kernel security (LSM) settings. This patch just adds the @property decorator back Signed-off-by: Paul Cuzner (cherry picked from commit 1bc953cfbfe015d3eccf9ead002b9eb0253a6825) --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 7e8641eecfeb..97f60b03a89f 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -6125,6 +6125,7 @@ class HostFacts(): up_secs, _ = raw_time.split() return float(up_secs) + @property def kernel_security(self): # type: () -> Optional[Dict[str, str]] """Determine the security features enabled in the kernel - SELinux, AppArmor"""