From 4d204b27e4b313aa0e4777d01de11aaa7531971f Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Wed, 10 May 2006 18:46:34 +0000 Subject: [PATCH] * Wed May 10 2006 Dan Walsh 1.30.8-2 - Fix exception on bad file_context --- policycoreutils-rhat.patch | 3305 ++++++++++++++++++++++++++++-------- policycoreutils.spec | 25 +- 2 files changed, 2629 insertions(+), 701 deletions(-) diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index d5ad3fc..87920f1 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -1,6 +1,7 @@ +Binary files nsapolicycoreutils/po/af.mo and policycoreutils-1.30.8/po/af.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/af.po policycoreutils-1.30.8/po/af.po --- nsapolicycoreutils/po/af.po 2006-05-08 10:33:18.000000000 -0400 -+++ policycoreutils-1.30.8/po/af.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/af.po 2006-05-09 17:55:54.000000000 -0400 @@ -8,12 +8,12 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" @@ -59,9 +60,10 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/af.po policycoreutils #: ../semanage/seobject.py:124 msgid "translations not supported on non-MLS machines" msgstr "" +Binary files nsapolicycoreutils/po/am.mo and policycoreutils-1.30.8/po/am.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/am.po policycoreutils-1.30.8/po/am.po --- nsapolicycoreutils/po/am.po 2006-05-08 10:33:18.000000000 -0400 -+++ policycoreutils-1.30.8/po/am.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/am.po 2006-05-09 17:55:54.000000000 -0400 @@ -8,12 +8,12 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" @@ -120,9 +122,10 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/am.po policycoreutils #: ../semanage/seobject.py:124 msgid "translations not supported on non-MLS machines" msgstr "" +Binary files nsapolicycoreutils/po/ar.mo and policycoreutils-1.30.8/po/ar.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/ar.po policycoreutils-1.30.8/po/ar.po --- nsapolicycoreutils/po/ar.po 2006-05-08 10:33:18.000000000 -0400 -+++ policycoreutils-1.30.8/po/ar.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/ar.po 2006-05-09 17:55:54.000000000 -0400 @@ -8,12 +8,12 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" @@ -181,9 +184,10 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/ar.po policycoreutils #: ../semanage/seobject.py:124 msgid "translations not supported on non-MLS machines" msgstr "" +Binary files nsapolicycoreutils/po/be.mo and policycoreutils-1.30.8/po/be.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/be.po policycoreutils-1.30.8/po/be.po --- nsapolicycoreutils/po/be.po 2006-05-08 10:33:18.000000000 -0400 -+++ policycoreutils-1.30.8/po/be.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/be.po 2006-05-09 17:55:54.000000000 -0400 @@ -8,12 +8,12 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" @@ -242,9 +246,10 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/be.po policycoreutils #: ../semanage/seobject.py:124 msgid "translations not supported on non-MLS machines" msgstr "" +Binary files nsapolicycoreutils/po/bg.mo and policycoreutils-1.30.8/po/bg.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/bg.po policycoreutils-1.30.8/po/bg.po --- nsapolicycoreutils/po/bg.po 2006-05-08 10:33:18.000000000 -0400 -+++ policycoreutils-1.30.8/po/bg.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/bg.po 2006-05-09 17:55:54.000000000 -0400 @@ -8,12 +8,12 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" @@ -303,29 +308,33 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/bg.po policycoreutils #: ../semanage/seobject.py:124 msgid "translations not supported on non-MLS machines" msgstr "" +Binary files nsapolicycoreutils/po/bn_IN.mo and policycoreutils-1.30.8/po/bn_IN.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/bn_IN.po policycoreutils-1.30.8/po/bn_IN.po --- nsapolicycoreutils/po/bn_IN.po 2006-05-08 10:33:18.000000000 -0400 -+++ policycoreutils-1.30.8/po/bn_IN.po 2006-05-08 11:44:35.000000000 -0400 -@@ -23,6 +23,7 @@ ++++ policycoreutils-1.30.8/po/bn_IN.po 2006-05-09 17:55:54.000000000 -0400 +@@ -23,6 +23,10 @@ # translation of bn_IN.po to Bangla (INDIA) # translation of bn_IN.po to Bangla (INDIA) # translation of bn_IN.po to Bangla (INDIA) ++# translation of bn_IN.po to Bangla (INDIA) ++# translation of bn_IN.po to Bangla (INDIA) ++# translation of bn_IN.po to Bangla (INDIA) +# translation of bn_IN.po to Bangla (INDIA) # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # Runa Bhattacharjee , 2006. -@@ -31,8 +32,8 @@ +@@ -31,8 +35,8 @@ msgstr "" "Project-Id-Version: bn_IN\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-05-02 20:34-0400\n" -"PO-Revision-Date: 2006-05-05 16:13+0530\n" +"POT-Creation-Date: 2006-05-08 11:22-0400\n" -+"PO-Revision-Date: 2006-05-08 10:53+0530\n" ++"PO-Revision-Date: 2006-05-09 18:04+0530\n" "Last-Translator: Runa Bhattacharjee \n" "Language-Team: Bangla (INDIA) \n" "MIME-Version: 1.0\n" -@@ -213,12 +214,16 @@ +@@ -213,12 +217,16 @@ #: ../newrole/newrole.c:717 #, c-format msgid "%s! Could not get current context for %s, not relabeling tty.\n" @@ -344,52 +353,50 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/bn_IN.po policycoreut #: ../newrole/newrole.c:740 #, c-format -@@ -383,6 +388,44 @@ +@@ -383,6 +391,42 @@ msgid "chcat -l +CompanyConfidential juser" msgstr "chcat -l +CompanyConfidential juser" +#: ../semanage/semanage:122 -+#, fuzzy +msgid "Requires 2 or more arguments" -+msgstr "প্রেফিক্স অথবা ভূমিকা উল্লেখ করা আবশ্যক" ++msgstr "২ অথবা অধিক সংখ্যক আর্গুমেন্ট আবশ্যক" + +#: ../semanage/semanage:127 -+#, fuzzy, c-format ++#, c-format +msgid "%s not defined" -+msgstr "%s/%s পোর্ট নির্ধারিত হয়নি" ++msgstr "%s পোর্ট নির্ধারিত হয়নি" + +#: ../semanage/semanage:151 -+#, fuzzy, c-format ++#, c-format +msgid "%s not valid for %s objects\n" -+msgstr "%s বৈধ context নয়\n" ++msgstr "%s, %s অবজেক্টের জন্য বৈধ নয়\n" + +#: ../semanage/semanage:178 ../semanage/semanage:186 -+#, fuzzy +msgid "range not supported on Non MLS machines" -+msgstr "MLS-বিহীন মেশিনে অনুবাদ সমর্থন করা হয় না" ++msgstr "MLS-বিহীন মেশিনে রেঞ্জ সমর্থন করা হয় না" + +#: ../semanage/semanage:244 +msgid "You must specify a role" -+msgstr "" ++msgstr "ভূমিকা নির্ধারণ করা আবশ্যক" + +#: ../semanage/semanage:246 +msgid "You must specify a prefix" -+msgstr "" ++msgstr "প্রে-ফিক্স উল্লেখ করা আবশ্যক" + +#: ../semanage/semanage:295 -+#, fuzzy, c-format ++#, c-format +msgid "Options Error %s " -+msgstr "বিকল্প সংক্রান্ত ত্রুটি: %s " ++msgstr "বিকল্প সংক্রান্ত ত্রুটি %s " + +#: ../semanage/semanage:299 -+#, fuzzy, c-format ++#, c-format +msgid "Invalid value %s" -+msgstr "স্তর বৈধ নয় '%s' " ++msgstr "মান বৈধ নয় %s " + #: ../semanage/seobject.py:124 msgid "translations not supported on non-MLS machines" msgstr "MLS-বিহীন মেশিনে অনুবাদ সমর্থন করা হয় না" -@@ -511,7 +554,9 @@ +@@ -511,7 +555,9 @@ #: ../semanage/seobject.py:355 #, python-format msgid "Login mapping for %s is defined in policy, cannot be deleted" @@ -400,7 +407,7 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/bn_IN.po policycoreut #: ../semanage/seobject.py:364 ../semanage/seobject.py:368 #, python-format -@@ -561,7 +606,7 @@ +@@ -561,7 +607,7 @@ #: ../semanage/seobject.py:467 ../semanage/seobject.py:471 #, python-format msgid "Could not add SELinux user %s" @@ -409,7 +416,7 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/bn_IN.po policycoreut #: ../semanage/seobject.py:487 msgid "Requires prefix, roles, level or range" -@@ -589,7 +634,9 @@ +@@ -589,7 +635,9 @@ #: ../semanage/seobject.py:561 #, python-format msgid "SELinux user %s is defined in policy, cannot be deleted" @@ -420,26 +427,17 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/bn_IN.po policycoreut #: ../semanage/seobject.py:569 ../semanage/seobject.py:573 #, python-format -@@ -873,7 +920,8 @@ - #: ../semanage/seobject.py:1131 - #, python-format - msgid "File context for %s is defined in policy, cannot be deleted" --msgstr "%s'র ফাইল context নিয়মনীতির মধ্যে নির্ধারিত হওয়ার ফলে তা অপসারণ করা সম্ভব নয়" -+msgstr "" -+"%s'র ফাইল context নিয়মনীতির মধ্যে নির্ধারিত হওয়ার ফলে তা অপসারণ করা সম্ভব নয়" - - #: ../semanage/seobject.py:1139 ../semanage/seobject.py:1143 - #, python-format -@@ -958,5 +1006,4 @@ +@@ -958,5 +1006,5 @@ #: ../audit2allow/audit2allow:203 #, c-format msgid "Options Error: %s " -msgstr "" -- +msgstr "বিকল্প সংক্রান্ত ত্রুটি: %s " + +Binary files nsapolicycoreutils/po/bn.mo and policycoreutils-1.30.8/po/bn.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/bn.po policycoreutils-1.30.8/po/bn.po --- nsapolicycoreutils/po/bn.po 2006-05-08 10:33:18.000000000 -0400 -+++ policycoreutils-1.30.8/po/bn.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/bn.po 2006-05-09 17:55:54.000000000 -0400 @@ -8,12 +8,12 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" @@ -498,9 +496,10 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/bn.po policycoreutils #: ../semanage/seobject.py:124 msgid "translations not supported on non-MLS machines" msgstr "" +Binary files nsapolicycoreutils/po/ca.mo and policycoreutils-1.30.8/po/ca.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/ca.po policycoreutils-1.30.8/po/ca.po --- nsapolicycoreutils/po/ca.po 2006-05-08 10:33:18.000000000 -0400 -+++ policycoreutils-1.30.8/po/ca.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/ca.po 2006-05-09 17:55:54.000000000 -0400 @@ -8,12 +8,12 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" @@ -559,9 +558,10 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/ca.po policycoreutils #: ../semanage/seobject.py:124 msgid "translations not supported on non-MLS machines" msgstr "" +Binary files nsapolicycoreutils/po/cs.mo and policycoreutils-1.30.8/po/cs.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/cs.po policycoreutils-1.30.8/po/cs.po --- nsapolicycoreutils/po/cs.po 2006-05-08 10:33:18.000000000 -0400 -+++ policycoreutils-1.30.8/po/cs.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/cs.po 2006-05-09 17:55:54.000000000 -0400 @@ -8,12 +8,12 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" @@ -620,9 +620,10 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/cs.po policycoreutils #: ../semanage/seobject.py:124 msgid "translations not supported on non-MLS machines" msgstr "" +Binary files nsapolicycoreutils/po/cy.mo and policycoreutils-1.30.8/po/cy.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/cy.po policycoreutils-1.30.8/po/cy.po --- nsapolicycoreutils/po/cy.po 2006-05-08 10:33:18.000000000 -0400 -+++ policycoreutils-1.30.8/po/cy.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/cy.po 2006-05-09 17:55:54.000000000 -0400 @@ -8,12 +8,12 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" @@ -683,7 +684,7 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/cy.po policycoreutils msgstr "" diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/da.po policycoreutils-1.30.8/po/da.po --- nsapolicycoreutils/po/da.po 2006-05-08 11:00:58.000000000 -0400 -+++ policycoreutils-1.30.8/po/da.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/da.po 2006-05-09 17:55:54.000000000 -0400 @@ -337,6 +337,42 @@ msgid "chcat -l +CompanyConfidential juser" msgstr "" @@ -727,9 +728,10 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/da.po policycoreutils #: ../semanage/seobject.py:124 msgid "translations not supported on non-MLS machines" msgstr "" +Binary files nsapolicycoreutils/po/de.mo and policycoreutils-1.30.8/po/de.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/de.po policycoreutils-1.30.8/po/de.po --- nsapolicycoreutils/po/de.po 2006-05-08 11:00:58.000000000 -0400 -+++ policycoreutils-1.30.8/po/de.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/de.po 2006-05-09 17:55:54.000000000 -0400 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: policycoreutils 1.28-4\n" @@ -942,9 +944,10 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/de.po policycoreutils #: ../semanage/seobject.py:1199 ../semanage/seobject.py:1233 #, python-format +Binary files nsapolicycoreutils/po/el.mo and policycoreutils-1.30.8/po/el.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/el.po policycoreutils-1.30.8/po/el.po --- nsapolicycoreutils/po/el.po 2006-05-08 10:33:18.000000000 -0400 -+++ policycoreutils-1.30.8/po/el.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/el.po 2006-05-09 17:55:54.000000000 -0400 @@ -8,12 +8,12 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" @@ -1003,9 +1006,10 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/el.po policycoreutils #: ../semanage/seobject.py:124 msgid "translations not supported on non-MLS machines" msgstr "" +Binary files nsapolicycoreutils/po/en_GB.mo and policycoreutils-1.30.8/po/en_GB.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/en_GB.po policycoreutils-1.30.8/po/en_GB.po --- nsapolicycoreutils/po/en_GB.po 2006-05-08 10:33:18.000000000 -0400 -+++ policycoreutils-1.30.8/po/en_GB.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/en_GB.po 2006-05-09 17:55:54.000000000 -0400 @@ -8,12 +8,12 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" @@ -1064,73 +1068,39 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/en_GB.po policycoreut #: ../semanage/seobject.py:124 msgid "translations not supported on non-MLS machines" msgstr "" +Binary files nsapolicycoreutils/po/es.mo and policycoreutils-1.30.8/po/es.mo differ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/es.po policycoreutils-1.30.8/po/es.po --- nsapolicycoreutils/po/es.po 2006-05-08 11:00:59.000000000 -0400 -+++ policycoreutils-1.30.8/po/es.po 2006-05-08 11:44:35.000000000 -0400 ++++ policycoreutils-1.30.8/po/es.po 2006-05-09 17:55:54.000000000 -0400 @@ -1,10 +1,14 @@ +# Domingo E. Becker , 2006. -+# -+# ++# ++# msgid "" msgstr "" "Project-Id-Version: \n" --"POT-Creation-Date: \n" --"PO-Revision-Date: 2006-05-05 00:43-0300\n" --"Last-Translator: Domingo E. Becker \n" --"Language-Team: \n" +"Report-Msgid-Bugs-To: \n" -+"POT-Creation-Date: 2006-05-08 11:22-0400\n" -+"PO-Revision-Date: 2006-05-06 08:15-0400\n" -+"Last-Translator: Guillermo Gmez S. \n" + "POT-Creation-Date: \n" +-"PO-Revision-Date: 2006-05-05 00:43-0300\n" ++"PO-Revision-Date: 2006-05-09 14:37-0300\n" + "Last-Translator: Domingo E. Becker \n" +-"Language-Team: \n" +"Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" -@@ -24,8 +28,7 @@ - msgid "Out of memory!\n" - msgstr "Falta memoria!\n" - --#: ../newrole/newrole.c:201 --#: ../run_init/run_init.c:126 -+#: ../newrole/newrole.c:201 ../run_init/run_init.c:126 - #, c-format - msgid "failed to initialize PAM\n" - msgstr "fallo al inicializar PAM\n" -@@ -35,19 +38,16 @@ - msgid "failed to set PAM_TTY\n" - msgstr "fallo al fijar PAM_TTY\n" - --#: ../newrole/newrole.c:250 --#: ../run_init/run_init.c:155 -+#: ../newrole/newrole.c:250 ../run_init/run_init.c:155 - msgid "Password:" - msgstr "Contrasea:" - --#: ../newrole/newrole.c:282 --#: ../run_init/run_init.c:187 -+#: ../newrole/newrole.c:282 ../run_init/run_init.c:187 - #, c-format - msgid "Cannot find your entry in the shadow passwd file.\n" - msgstr "No se puede encontrar su registro en el archivo shadow passwd.\n" - --#: ../newrole/newrole.c:288 --#: ../run_init/run_init.c:193 -+#: ../newrole/newrole.c:288 ../run_init/run_init.c:193 - #, c-format - msgid "getpass cannot open /dev/tty\n" - msgstr "getpass no puede abrir /dev/tty\n" -@@ -186,61 +186,63 @@ +@@ -185,62 +189,62 @@ + #: ../newrole/newrole.c:717 #, c-format msgid "%s! Could not get current context for %s, not relabeling tty.\n" - msgstr "" -+"%s! No se pudo obtener el contexto actual para %s, no se reetiqueta el " -+"tty.\n" +-msgstr "" ++msgstr "%s! No se pudo obtener el contexto actual para %s, no se reetiqueta el tty.\n" #: ../newrole/newrole.c:728 #, c-format msgid "%s! Could not get new context for %s, not relabeling tty.\n" - msgstr "" -+"%s! No se pudo obtener un contexto nuevo para %s, no se reetiqueta el tty.\n" +-msgstr "" ++msgstr "%s! No se pudo obtener un contexto nuevo para %s, no se reetiqueta el tty.\n" #: ../newrole/newrole.c:740 #, c-format @@ -1162,9 +1132,8 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/es.po policycoreutils -msgstr "" +msgstr "No se pudo cerrar los descriptores.\n" --#: ../newrole/newrole.c:832 --#: ../run_init/run_init.c:390 -+#: ../newrole/newrole.c:832 ../run_init/run_init.c:390 + #: ../newrole/newrole.c:832 + #: ../run_init/run_init.c:390 #, c-format msgid "Could not set exec context to %s.\n" -msgstr "" @@ -1195,7 +1164,7 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/po/es.po policycoreutils #: ../run_init/run_init.c:67 msgid "" -@@ -248,319 +250,333 @@ +@@ -248,156 +252,159 @@ " where: