From 1bc953cfbfe015d3eccf9ead002b9eb0253a6825 Mon Sep 17 00:00:00 2001 From: Paul Cuzner Date: Thu, 28 Jan 2021 09:40:58 +1300 Subject: [PATCH] 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 --- src/cephadm/cephadm | 1 + 1 file changed, 1 insertion(+) 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""" -- 2.47.3