[selinux-policy] Fix nsswitch_booleans list in genman
Miroslav Grepl
mgrepl at fedoraproject.org
Mon Jul 23 15:33:41 UTC 2012
commit 355c11db638dbcb055c65956d1050ce2579f06f9
Author: Miroslav Grepl <mgrepl at redhat.com>
Date: Mon Jul 23 17:32:58 2012 +0200
Fix nsswitch_booleans list in genman
genman.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/genman.py b/genman.py
index 17232fa..e652ba7 100755
--- a/genman.py
+++ b/genman.py
@@ -230,7 +230,7 @@ SELinux policy is customizable based on least access required. %s policy is ext
def nsswitch_domain(self):
nsswitch_types = []
- nsswitch_booleans = ['authlogin_nsswitch_use_ldap', 'allow_kerberos','allow_ypbind']
+ nsswitch_booleans = ['authlogin_nsswitch_use_ldap', 'kerberos_enabled']
nsswitchbooltext = ""
if "nsswitch_domain" in all_attributes:
self.fd.write("""
@@ -302,7 +302,6 @@ SELinux %(domainname)s policy is very flexible allowing users to setup their %(d
The following port types are defined for %(domainname)s:""" % {'domainname':self.domainname})
for p in self.ports:
- print p
self.fd.write("""
.EX
@@ -314,7 +313,6 @@ The following port types are defined for %(domainname)s:""" % {'domainname':self
once = True
for prot in ( "tcp", "udp" ):
if (p,prot) in portrecs:
- print (p,prot)
if once:
self.fd.write("""
More information about the scm-commits
mailing list