[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Do not use --quiet and --nostart when doing selinux configuration (#568528)



Ack.

On 05/04/2010 09:36 AM, Martin Sivak wrote:
We call lokkit twice and we want the selinux call to only touch selinux and not firewall configuration. Thats why we have to remove --nostart, because that triggers fw config mode. I'm also removing quiet per maintainer's comment.
---
  security.py |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/security.py b/security.py
index b273a64..219d465 100644
--- a/security.py
+++ b/security.py
@@ -60,7 +60,7 @@ class Security:
              f.write("authconfig %s\n" % self.auth)

      def write(self, instPath):
-        args = [ "--quiet", "--nostart" ]
+        args = []

          if not selinux_states.has_key(self.selinux):
              log.error("unknown selinux state: %s" %(self.selinux,))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]