Petr Lautrbach
2018-01-11 16:22:10 UTC
It's used by third parties, e.g. Ansible modules
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1527745
Signed-off-by: Petr Lautrbach <***@redhat.com>
---
python/semanage/seobject.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/python/semanage/seobject.py b/python/semanage/seobject.py
index b927b184..c2966251 100644
--- a/python/semanage/seobject.py
+++ b/python/semanage/seobject.py
@@ -260,6 +260,9 @@ class semanageRecords:
else:
self.mylog = nulllogger()
+ def set_reload(self, load):
+ self.noreload = not load
+
def get_handle(self, store):
global is_mls_enabled
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1527745
Signed-off-by: Petr Lautrbach <***@redhat.com>
---
python/semanage/seobject.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/python/semanage/seobject.py b/python/semanage/seobject.py
index b927b184..c2966251 100644
--- a/python/semanage/seobject.py
+++ b/python/semanage/seobject.py
@@ -260,6 +260,9 @@ class semanageRecords:
else:
self.mylog = nulllogger()
+ def set_reload(self, load):
+ self.noreload = not load
+
def get_handle(self, store):
global is_mls_enabled
--
2.15.1
2.15.1