0e83fcd825
- edit-livecd: Remove rebuild_iso_symlinks (#928620) (bcl) - correctly check for selinux state (#896610) (bcl) - Change vfat limit from 2047 to 4095 (bcl)
28 lines
905 B
Diff
28 lines
905 B
Diff
From 9c1868bf39af0d23d58e3aa184345de810443310 Mon Sep 17 00:00:00 2001
|
|
From: "Brian C. Lane" <bcl@redhat.com>
|
|
Date: Fri, 2 May 2014 15:54:42 -0700
|
|
Subject: [PATCH] fix firewalls being reset when setting selinux state from
|
|
imgcreate
|
|
|
|
Move the patch for this from pkg-git into upstream.
|
|
---
|
|
imgcreate/kickstart.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py
|
|
index 04191b8..f50a9b8 100644
|
|
--- a/imgcreate/kickstart.py
|
|
+++ b/imgcreate/kickstart.py
|
|
@@ -175,7 +175,7 @@ class FirewallConfig(KickstartConfig):
|
|
def apply(self, ksfirewall):
|
|
if not os.path.exists(self.path("/usr/sbin/lokkit")):
|
|
return
|
|
- args = ["/usr/sbin/lokkit", "-f", "--quiet", "--nostart"]
|
|
+ args = ["/usr/sbin/lokkit", "--quiet", "--nostart"]
|
|
if ksfirewall.enabled:
|
|
args.append("--enabled")
|
|
|
|
--
|
|
1.9.0
|
|
|