Skip to contentSkip to conversation

Fix typo in semanage args for minimum policy store

PATCH In review Petr Lautrbach 3 participants 4 messages Jul 9, 2015 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix typo in semanage args for minimum policy store

---
 policycoreutils/semanage/semanage | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
policycoreutils/semanage/semanage +1 -1
index dd63010..dd1010a 100644
@@ -788,7 +788,7 @@ def createCommandParser():
 
 def make_io_args(args):
     # import/export backward compability
-    args_origin = ["-S", "-o", "-i", "targeted", "minumum", "mls"]
+    args_origin = ["-S", "-o", "-i", "targeted", "minimum", "mls"]
     args_file = []
     args_ie = []
     args_subcommand = []
Signature · 1 line
2.4.3
#1 lore raw
Quoted 9 lines · Petr Lautrbach
---
 policycoreutils/semanage/semanage | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
policycoreutils/semanage/semanage +0 -0
index dd63010..dd1010a 100644

policycoreutils/semanage/semanage def createCommandParser(): · line 791

Quoted 5 lines
policycoreutils/semanage/semanage +1 -1
@@ -788,7 +788,7 @@ def createCommandParser():
 
 def make_io_args(args):
     # import/export backward compability
-    args_origin = ["-S", "-o", "-i", "targeted", "minumum", "mls"]
+    args_origin = ["-S", "-o", "-i", "targeted", "minimum", "mls"]

Hard coding policy models is not very user friendly. Besides the minimum policy model is fedora specific.

Quoted 11 lines
policycoreutils/semanage/semanage +0 -0
     args_file = []
     args_ie = []
     args_subcommand = []
Signature · 7 lines
2.4.3

_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].
Signature · 4 lines
02DFF788
4D30 903A 1CF3 B756 FB48  1514 3148 83A2 02DF F788
http://keys.gnupg.net/pks/lookup?op=vindex&search=0x314883A202DFF788
Dominick Grift
#2 lore raw

Dne 9.7.2015 v 12:04 Dominick Grift napsal(a):

Quoted 11 lines · Petr Lautrbach
Quoted 10 lines
---
 policycoreutils/semanage/semanage | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
policycoreutils/semanage/semanage +0 -0
index dd63010..dd1010a 100644
@@ -788,7 +788,7 @@ def createCommandParser():
 
Quoted 7 lines

policycoreutils/semanage/semanage def createCommandParser(): · line 791

Quoted 4 lines
policycoreutils/semanage/semanage +1 -1
 def make_io_args(args):
     # import/export backward compability
-    args_origin = ["-S", "-o", "-i", "targeted", "minumum", "mls"]
+    args_origin = ["-S", "-o", "-i", "targeted", "minimum", "mls"]

Hard coding policy models is not very user friendly. Besides the minimum policy model is fedora specific.

You are right. The patch just fixes the typo which makes it unusable even on Fedora.

Petr

Signature · 1 line
Petr Lautrbach
#3 lore raw
Quoted 20 lines · Petr Lautrbach

Dne 9.7.2015 v 12:04 Dominick Grift napsal(a):

Quoted 11 lines · Petr Lautrbach
Quoted 10 lines
---
 policycoreutils/semanage/semanage | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
policycoreutils/semanage/semanage +0 -0
index dd63010..dd1010a 100644
@@ -788,7 +788,7 @@ def createCommandParser():
 
Quoted 7 lines

policycoreutils/semanage/semanage def createCommandParser(): · line 791

Quoted 4 lines
policycoreutils/semanage/semanage +1 -1
 def make_io_args(args):
     # import/export backward compability
-    args_origin = ["-S", "-o", "-i", "targeted", "minumum", "mls"]
+    args_origin = ["-S", "-o", "-i", "targeted", "minimum", "mls"]

Hard coding policy models is not very user friendly. Besides the minimum policy model is fedora specific.

Quoted 2 lines

You are right. The patch just fixes the typo which makes it unusable even on Fedora.

Agree that we ought to revisit this, but applied the patch to fix the typo for now.