From: Paul Cuzner Date: Wed, 27 Jan 2021 20:40:58 +0000 (+1300) Subject: cephadm:add missing kernel_security property X-Git-Tag: v17.1.0~3134^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1bc953cfbfe015d3eccf9ead002b9eb0253a6825;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 --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 4739a471e619..3125a910d35f 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -6112,6 +6112,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"""