From b16405c44be8177ca21d9ea1219e51d8f352eca1 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Tue, 25 Sep 2012 17:38:39 -0500 Subject: SELinux: Do not attempt transaction while locked Without this, the code falls through to the rest of the method which attempts to do the install even when there is a transaction lock. Signed-off-by: Sol Jerome --- src/lib/Bcfg2/Client/Tools/SELinux.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/lib/Bcfg2/Client/Tools/SELinux.py b/src/lib/Bcfg2/Client/Tools/SELinux.py index 9a0913486..9dbc48b9e 100644 --- a/src/lib/Bcfg2/Client/Tools/SELinux.py +++ b/src/lib/Bcfg2/Client/Tools/SELinux.py @@ -849,6 +849,7 @@ class SELinuxModuleHandler(SELinuxEntryHandler): self.tool.post_txn_queue.append((self._install_semodule, (entry,), dict(fromqueue=True))) + return False self.logger.debug("Install SELinux module %s with semodule -i %s" % (entry.get('name'), self._filepath(entry))) try: -- cgit v1.2.3-1-g7c22