policycoreutils/selinux-sandbox-fedora.patch

987 lines
28 KiB
Diff
Raw Normal View History

diff --git selinux-sandbox-2.8/Makefile selinux-sandbox-2.8/Makefile
index 49c1d3f..9e45329 100644
--- selinux-sandbox-2.8/Makefile
+++ selinux-sandbox-2.8/Makefile
@@ -12,6 +12,7 @@ override LDLIBS += -lselinux -lcap-ng
SEUNSHARE_OBJS = seunshare.o
all: sandbox seunshare sandboxX.sh start
+ (cd po && $(MAKE) $@)
seunshare: $(SEUNSHARE_OBJS)
@@ -30,6 +31,7 @@ install: all
install -m 755 start $(DESTDIR)$(SHAREDIR)
-mkdir -p $(DESTDIR)$(SYSCONFDIR)
install -m 644 sandbox.conf $(DESTDIR)$(SYSCONFDIR)/sandbox
+ (cd po && $(MAKE) $@)
test:
@$(PYTHON) test_sandbox.py -v
diff --git selinux-sandbox-2.8/po/Makefile selinux-sandbox-2.8/po/Makefile
new file mode 100644
index 0000000..0556bbe
--- /dev/null
+++ selinux-sandbox-2.8/po/Makefile
@@ -0,0 +1,82 @@
+#
+# Makefile for the PO files (translation) catalog
+#
+
+PREFIX ?= /usr
+
+# What is this package?
+NLSPACKAGE = sandbox
+POTFILE = $(NLSPACKAGE).pot
+INSTALL = /usr/bin/install -c -p
+INSTALL_DATA = $(INSTALL) -m 644
+INSTALL_DIR = /usr/bin/install -d
+
+# destination directory
+INSTALL_NLS_DIR = $(PREFIX)/share/locale
+
+# PO catalog handling
+MSGMERGE = msgmerge
+MSGMERGE_FLAGS = -q
+XGETTEXT = xgettext -L Python --default-domain=$(NLSPACKAGE)
+MSGFMT = msgfmt
+
+# All possible linguas
+PO_LINGUAS := $(sort $(patsubst %.po,%,$(wildcard *.po)))
+
+# Only the files matching what the user has set in LINGUAS
+USER_LINGUAS := $(filter $(patsubst %,%%,$(LINGUAS)),$(PO_LINGUAS))
+
+# if no valid LINGUAS, build all languages
+USE_LINGUAS := $(if $(USER_LINGUAS),$(USER_LINGUAS),$(PO_LINGUAS))
+
+POFILES = $(patsubst %,%.po,$(USE_LINGUAS))
+MOFILES = $(patsubst %.po,%.mo,$(POFILES))
+POTFILES = $(shell cat POTFILES)
+
+#default:: clean
+
+all:: $(POTFILE) $(MOFILES)
+
+$(POTFILE): $(POTFILES)
+ $(XGETTEXT) --keyword=_ --keyword=N_ $(POTFILES)
+ @if cmp -s $(NLSPACKAGE).po $(POTFILE); then \
+ rm -f $(NLSPACKAGE).po; \
+ else \
+ mv -f $(NLSPACKAGE).po $(POTFILE); \
+ fi; \
+
+
+refresh-po: Makefile
+ for cat in $(POFILES); do \
+ lang=`basename $$cat .po`; \
+ if $(MSGMERGE) $(MSGMERGE_FLAGS) $$lang.po $(POTFILE) > $$lang.pot ; then \
+ mv -f $$lang.pot $$lang.po ; \
+ echo "$(MSGMERGE) of $$lang succeeded" ; \
+ else \
+ echo "$(MSGMERGE) of $$lang failed" ; \
+ rm -f $$lang.pot ; \
+ fi \
+ done
+
+clean:
+ @rm -fv *mo *~ .depend
+ @rm -rf tmp
+
+install: $(MOFILES)
+ @for n in $(MOFILES); do \
+ l=`basename $$n .mo`; \
+ $(INSTALL_DIR) $(DESTDIR)$(INSTALL_NLS_DIR)/$$l/LC_MESSAGES; \
+ $(INSTALL_DATA) --verbose $$n $(DESTDIR)$(INSTALL_NLS_DIR)/$$l/LC_MESSAGES/selinux-$(NLSPACKAGE).mo; \
+ done
+
+%.mo: %.po
+ $(MSGFMT) -o $@ $<
+report:
+ @for cat in $(wildcard *.po); do \
+ echo -n "$$cat: "; \
+ msgfmt -v --statistics -o /dev/null $$cat; \
+ done
+
+.PHONY: missing depend
+
+relabel:
diff --git selinux-sandbox-2.8/po/POTFILES selinux-sandbox-2.8/po/POTFILES
new file mode 100644
index 0000000..deff3f2
--- /dev/null
+++ selinux-sandbox-2.8/po/POTFILES
@@ -0,0 +1 @@
+../sandbox
diff --git selinux-sandbox-2.8/po/cs.po selinux-sandbox-2.8/po/cs.po
new file mode 100644
index 0000000..ec81578
--- /dev/null
+++ selinux-sandbox-2.8/po/cs.po
@@ -0,0 +1,150 @@
+# Petr Lautrbach <plautrba@fedoraproject.org>, 2018. #zanata
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-06 14:06+0200\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2018-06-29 02:09+0000\n"
+"Last-Translator: Petr Lautrbach <plautrba@fedoraproject.org>\n"
+"Language-Team: Czech\n"
+"Language: cs\n"
+"X-Generator: Zanata 4.5.0\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2\n"
+
+#: ../sandbox:119
+#, python-format
+msgid "Do you want to save changes to '%s' (Y/N): "
+msgstr ""
+
+#: ../sandbox:120
+msgid "Sandbox Message"
+msgstr ""
+
+#: ../sandbox:132
+#, python-format
+msgid "Do you want to save changes to '%s' (y/N): "
+msgstr ""
+
+#: ../sandbox:133
+msgid "[yY]"
+msgstr "[yY]"
+
+#: ../sandbox:156
+msgid "User account must be setup with an MCS Range"
+msgstr ""
+
+#: ../sandbox:184
+msgid ""
+"Failed to find any unused category sets. Consider a larger MCS range for "
+"this user."
+msgstr ""
+
+#: ../sandbox:215
+msgid "Homedir and tempdir required for level mounts"
+msgstr ""
+
+#: ../sandbox:218 ../sandbox:229 ../sandbox:234
+#, python-format
+msgid "\n"
+"%s is required for the action you want to perform.\n"
+msgstr ""
+
+#: ../sandbox:305
+#, python-format
+msgid "\n"
+"Policy defines the following types for use with the -t:\n"
+"\t%s\n"
+msgstr ""
+
+#: ../sandbox:312
+#, python-format
+msgid ""
+"\n"
+"sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I includefile "
+"] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t type ] command\n"
+"\n"
+"sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I includefile "
+"] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t type ] -S\n"
+"%s\n"
+msgstr ""
+
+#: ../sandbox:324
+msgid "include file in sandbox"
+msgstr ""
+
+#: ../sandbox:327
+msgid "read list of files to include in sandbox from INCLUDEFILE"
+msgstr ""
+
+#: ../sandbox:329
+msgid "run sandbox with SELinux type"
+msgstr ""
+
+#: ../sandbox:332
+msgid "mount new home and/or tmp directory"
+msgstr ""
+
+#: ../sandbox:336
+msgid "dots per inch for X display"
+msgstr ""
+
+#: ../sandbox:339
+msgid "run complete desktop session within sandbox"
+msgstr ""
+
+#: ../sandbox:342
+msgid "Shred content before tempory directories are removed"
+msgstr ""
+
+#: ../sandbox:346
+msgid "run X application within a sandbox"
+msgstr ""
+
+#: ../sandbox:352
+msgid "alternate home directory to use for mounting"
+msgstr ""
+
+#: ../sandbox:357
+msgid "alternate /tmp directory to use for mounting"
+msgstr ""
+
+#: ../sandbox:366
+msgid "alternate window manager"
+msgstr ""
+
+#: ../sandbox:369
+msgid "MCS/MLS level for the sandbox"
+msgstr ""
+
+#: ../sandbox:385
+msgid ""
+"Sandbox Policy is not currently installed.\n"
+"You need to install the selinux-policy-sandbox package in order to run this "
+"command"
+msgstr ""
+
+#: ../sandbox:397
+msgid ""
+"You must specify a Homedir and tempdir when setting up a session sandbox"
+msgstr ""
+
+#: ../sandbox:399
+msgid "Commands are not allowed in a session sandbox"
+msgstr ""
+
+#: ../sandbox:409
+msgid "Command required"
+msgstr ""
+
+#: ../sandbox:412
+#, python-format
+msgid "%s is not an executable"
+msgstr ""
+
+#: ../sandbox:535
+#, python-format
+msgid "Invalid value %s"
+msgstr ""
diff --git selinux-sandbox-2.8/po/es.po selinux-sandbox-2.8/po/es.po
new file mode 100644
index 0000000..46494d3
--- /dev/null
+++ selinux-sandbox-2.8/po/es.po
@@ -0,0 +1,170 @@
+# Máximo Castañeda Riloba <mcrcctm@gmail.com>, 2018. #zanata
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-06 14:06+0200\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2018-07-18 07:38+0000\n"
+"Last-Translator: Máximo Castañeda Riloba <mcrcctm@gmail.com>\n"
+"Language-Team: Spanish\n"
+"Language: es\n"
+"X-Generator: Zanata 4.5.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
+
+#: ../sandbox:119
+#, python-format
+msgid "Do you want to save changes to '%s' (Y/N): "
+msgstr "¿Quiere guardar los cambios de '%s' (S/N)?"
+
+#: ../sandbox:120
+msgid "Sandbox Message"
+msgstr "Mensaje del confinamiento"
+
+#: ../sandbox:132
+#, python-format
+msgid "Do you want to save changes to '%s' (y/N): "
+msgstr "¿Quiere guardar los cambios de '%s' (s/N)?"
+
+#: ../sandbox:133
+msgid "[yY]"
+msgstr "[sS]"
+
+#: ../sandbox:156
+msgid "User account must be setup with an MCS Range"
+msgstr "Debe configurarse la cuenta de usuario con un rango MCS"
+
+#: ../sandbox:184
+msgid ""
+"Failed to find any unused category sets. Consider a larger MCS range for "
+"this user."
+msgstr ""
+"No se encontró ningún conjunto de categorías sin uso. Plantéese un rango MCS "
+"más amplio para este usuario."
+
+#: ../sandbox:215
+msgid "Homedir and tempdir required for level mounts"
+msgstr ""
+
+#: ../sandbox:218 ../sandbox:229 ../sandbox:234
+#, python-format
+msgid "\n"
+"%s is required for the action you want to perform.\n"
+msgstr "\n"
+"Se necesita %s para la acción que pretende llevar a cabo.\n"
+
+#: ../sandbox:305
+#, python-format
+msgid "\n"
+"Policy defines the following types for use with the -t:\n"
+"\t%s\n"
+msgstr ""
+"\n"
+"La política define los siguientes tipos para usar con la opción -t:\n"
+"\t%s\n"
+
+#: ../sandbox:312
+#, python-format
+msgid ""
+"\n"
+"sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I includefile "
+"] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t type ] command\n"
+"\n"
+"sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I includefile "
+"] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t type ] -S\n"
+"%s\n"
+msgstr ""
+"\n"
+"sandbox [-h] [-l nivel ] [-[X|M] [-H dirinicio] [-T dirtemp]] [-I "
+"archivoinclusión ] [-W gestorventanas ] [ -w tamañoventana ] [[-i archivo ] ."
+"..] [ -t tipo ] comando\n"
+"\n"
+"sandbox [-h] [-l nivel ] [-[X|M] [-H dirinicio] [-T dirtemp]] [-I "
+"archivoinclusión ] [-W gestorventanas ] [ -w tamañoventana ] [[-i archivo ] ."
+"..] [ -t tipo ] -S\n"
+"%s\n"
+
+#: ../sandbox:324
+msgid "include file in sandbox"
+msgstr "incluir archivo en el confinamiento"
+
+#: ../sandbox:327
+msgid "read list of files to include in sandbox from INCLUDEFILE"
+msgstr ""
+"leer de ARCHIVOINCLUSIÓN la lista de archivos a incluir en el confinamiento"
+
+#: ../sandbox:329
+msgid "run sandbox with SELinux type"
+msgstr "ejecutar confinamiento con tipo SELinux"
+
+#: ../sandbox:332
+msgid "mount new home and/or tmp directory"
+msgstr ""
+
+#: ../sandbox:336
+msgid "dots per inch for X display"
+msgstr "puntos por pulgada para la pantalla X"
+
+#: ../sandbox:339
+msgid "run complete desktop session within sandbox"
+msgstr "ejecutar una sesión completa de escritorio en el confinamiento"
+
+#: ../sandbox:342
+msgid "Shred content before tempory directories are removed"
+msgstr "Sobreescribir el contenido antes de quitar los directorios temporales"
+
+#: ../sandbox:346
+msgid "run X application within a sandbox"
+msgstr "ejecutar la aplicación X en un confinamiento"
+
+#: ../sandbox:352
+msgid "alternate home directory to use for mounting"
+msgstr "directorio de inicio alternativo"
+
+#: ../sandbox:357
+msgid "alternate /tmp directory to use for mounting"
+msgstr "directorio /tmp alternativo"
+
+#: ../sandbox:366
+msgid "alternate window manager"
+msgstr "gestor de ventanas alternativo"
+
+#: ../sandbox:369
+msgid "MCS/MLS level for the sandbox"
+msgstr "Nivel MCS/MLS para el confinamiento"
+
+#: ../sandbox:385
+msgid ""
+"Sandbox Policy is not currently installed.\n"
+"You need to install the selinux-policy-sandbox package in order to run this "
+"command"
+msgstr ""
+"No hay política de confinamiento.\n"
+"Debe instalar el paquete selinux-policy-sandbox para ejecutar este comando"
+
+#: ../sandbox:397
+msgid ""
+"You must specify a Homedir and tempdir when setting up a session sandbox"
+msgstr ""
+"Debe indicar los directorios de inicio y temporal al configurar una sesión "
+"confinada"
+
+#: ../sandbox:399
+msgid "Commands are not allowed in a session sandbox"
+msgstr "No se permiten comandos en una sesión confinada"
+
+#: ../sandbox:409
+msgid "Command required"
+msgstr "Falta el comando"
+
+#: ../sandbox:412
+#, python-format
+msgid "%s is not an executable"
+msgstr "%s no es un ejecutable"
+
+#: ../sandbox:535
+#, python-format
+msgid "Invalid value %s"
+msgstr "Valor no válido: %s"
diff --git selinux-sandbox-2.8/po/nl.po selinux-sandbox-2.8/po/nl.po
new file mode 100644
index 0000000..4dfbac1
--- /dev/null
+++ selinux-sandbox-2.8/po/nl.po
@@ -0,0 +1,167 @@
+# Geert Warrink <geert.warrink@onsnet.nu>, 2018. #zanata
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-06 14:06+0200\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2018-07-16 03:02+0000\n"
+"Last-Translator: Geert Warrink <geert.warrink@onsnet.nu>\n"
+"Language-Team: Dutch\n"
+"Language: nl\n"
+"X-Generator: Zanata 4.5.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
+
+#: ../sandbox:119
+#, python-format
+msgid "Do you want to save changes to '%s' (Y/N): "
+msgstr "Wil je de veranderingen opslaan naar '%s' (J/N): "
+
+#: ../sandbox:120
+msgid "Sandbox Message"
+msgstr "Sandbox boodschap"
+
+#: ../sandbox:132
+#, python-format
+msgid "Do you want to save changes to '%s' (y/N): "
+msgstr "Wil je de veranderingen opslaan naar '%s' (j/N): "
+
+#: ../sandbox:133
+msgid "[yY]"
+msgstr "[jJ]"
+
+#: ../sandbox:156
+msgid "User account must be setup with an MCS Range"
+msgstr "Gebruikersaccount moet ingesteld worden met een MCS reeks"
+
+#: ../sandbox:184
+msgid ""
+"Failed to find any unused category sets. Consider a larger MCS range for "
+"this user."
+msgstr ""
+"Het vinden van ongebruikte categoriereeksen is mislukt. Overweeg een "
+"grotere MCS reeks voor deze gebruiker."
+
+#: ../sandbox:215
+msgid "Homedir and tempdir required for level mounts"
+msgstr "Homedir en tempdir zijn vereist voor level aankoppelingen"
+
+#: ../sandbox:218 ../sandbox:229 ../sandbox:234
+#, python-format
+msgid "\n"
+"%s is required for the action you want to perform.\n"
+msgstr "\n"
+"%s is vereist voor de actie die je wilt uitvoeren.\n"
+
+#: ../sandbox:305
+#, python-format
+msgid "\n"
+"Policy defines the following types for use with the -t:\n"
+"\t%s\n"
+msgstr "\n"
+"Taktiek definieert de volgende types voor het gebruik met -t:\n"
+"\t%s\n"
+
+#: ../sandbox:312
+#, python-format
+msgid ""
+"\n"
+"sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I includefile "
+"] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t type ] command\n"
+"\n"
+"sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I includefile "
+"] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t type ] -S\n"
+"%s\n"
+msgstr ""
+"\n"
+"sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I includefile "
+"] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t type ] command\n"
+"\n"
+"sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I includefile "
+"] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t type ] -S\n"
+"%s\n"
+
+#: ../sandbox:324
+msgid "include file in sandbox"
+msgstr "bestand insluiten in sandbox"
+
+#: ../sandbox:327
+msgid "read list of files to include in sandbox from INCLUDEFILE"
+msgstr "lees lijst van bestanden om in te sluiten in sandbox uit INCLUDEFILE"
+
+#: ../sandbox:329
+msgid "run sandbox with SELinux type"
+msgstr "voer sandbox uit met SELinux type"
+
+#: ../sandbox:332
+msgid "mount new home and/or tmp directory"
+msgstr "koppel nieuwe home en/of tmp map aan"
+
+#: ../sandbox:336
+msgid "dots per inch for X display"
+msgstr "punten per inch voor X display"
+
+#: ../sandbox:339
+msgid "run complete desktop session within sandbox"
+msgstr "Voer complete desktopsessie uit binnen sandbox"
+
+#: ../sandbox:342
+msgid "Shred content before tempory directories are removed"
+msgstr "Verwijder inhoud voordat tijdelijke mappen verwijderd worden"
+
+#: ../sandbox:346
+msgid "run X application within a sandbox"
+msgstr "voer X toepasing uit binnen een sandbox"
+
+#: ../sandbox:352
+msgid "alternate home directory to use for mounting"
+msgstr "alternatieve home map te gebruiken voor aankoppelen"
+
+#: ../sandbox:357
+msgid "alternate /tmp directory to use for mounting"
+msgstr "alternatieve /tmp map te gebruiken voor aankoppelen"
+
+#: ../sandbox:366
+msgid "alternate window manager"
+msgstr "alternatieve vensterbeheerder"
+
+#: ../sandbox:369
+msgid "MCS/MLS level for the sandbox"
+msgstr "MCS/MLS level voor de sandbox"
+
+#: ../sandbox:385
+msgid ""
+"Sandbox Policy is not currently installed.\n"
+"You need to install the selinux-policy-sandbox package in order to run this "
+"command"
+msgstr ""
+"Sandbox beleid is op dit moment niet geïnstalleerd.\n"
+"Je moet het selinux-policy-sandbox pakket installeren om dit commando uit te "
+"voeren"
+
+#: ../sandbox:397
+msgid ""
+"You must specify a Homedir and tempdir when setting up a session sandbox"
+msgstr ""
+"Jen moet een Homedir en tempdir specificeren bij het opzetten van een sessie "
+"sandbox"
+
+#: ../sandbox:399
+msgid "Commands are not allowed in a session sandbox"
+msgstr "Commando's zijn niet toegestaan in een sessie sandbox"
+
+#: ../sandbox:409
+msgid "Command required"
+msgstr "Commando vereist"
+
+#: ../sandbox:412
+#, python-format
+msgid "%s is not an executable"
+msgstr "%s is geen uitvoerbaar bestand"
+
+#: ../sandbox:535
+#, python-format
+msgid "Invalid value %s"
+msgstr "Ongeldige waarde %s"
diff --git selinux-sandbox-2.8/po/sandbox.pot selinux-sandbox-2.8/po/sandbox.pot
new file mode 100644
index 0000000..328b4f0
--- /dev/null
+++ selinux-sandbox-2.8/po/sandbox.pot
@@ -0,0 +1,157 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-06 14:22+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../sandbox:119
+#, python-format
+msgid "Do you want to save changes to '%s' (Y/N): "
+msgstr ""
+
+#: ../sandbox:120
+msgid "Sandbox Message"
+msgstr ""
+
+#: ../sandbox:132
+#, python-format
+msgid "Do you want to save changes to '%s' (y/N): "
+msgstr ""
+
+#: ../sandbox:133
+msgid "[yY]"
+msgstr ""
+
+#: ../sandbox:156
+msgid "User account must be setup with an MCS Range"
+msgstr ""
+
+#: ../sandbox:184
+msgid ""
+"Failed to find any unused category sets. Consider a larger MCS range for "
+"this user."
+msgstr ""
+
+#: ../sandbox:215
+msgid "Homedir and tempdir required for level mounts"
+msgstr ""
+
+#: ../sandbox:218 ../sandbox:229 ../sandbox:234
+#, python-format
+msgid ""
+"\n"
+"%s is required for the action you want to perform.\n"
+msgstr ""
+
+#: ../sandbox:305
+#, python-format
+msgid ""
+"\n"
+"Policy defines the following types for use with the -t:\n"
+"\t%s\n"
+msgstr ""
+
+#: ../sandbox:312
+#, python-format
+msgid ""
+"\n"
+"sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I "
+"includefile ] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t "
+"type ] command\n"
+"\n"
+"sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I "
+"includefile ] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t "
+"type ] -S\n"
+"%s\n"
+msgstr ""
+
+#: ../sandbox:324
+msgid "include file in sandbox"
+msgstr ""
+
+#: ../sandbox:327
+msgid "read list of files to include in sandbox from INCLUDEFILE"
+msgstr ""
+
+#: ../sandbox:329
+msgid "run sandbox with SELinux type"
+msgstr ""
+
+#: ../sandbox:332
+msgid "mount new home and/or tmp directory"
+msgstr ""
+
+#: ../sandbox:336
+msgid "dots per inch for X display"
+msgstr ""
+
+#: ../sandbox:339
+msgid "run complete desktop session within sandbox"
+msgstr ""
+
+#: ../sandbox:342
+msgid "Shred content before tempory directories are removed"
+msgstr ""
+
+#: ../sandbox:346
+msgid "run X application within a sandbox"
+msgstr ""
+
+#: ../sandbox:352
+msgid "alternate home directory to use for mounting"
+msgstr ""
+
+#: ../sandbox:357
+msgid "alternate /tmp directory to use for mounting"
+msgstr ""
+
+#: ../sandbox:366
+msgid "alternate window manager"
+msgstr ""
+
+#: ../sandbox:369
+msgid "MCS/MLS level for the sandbox"
+msgstr ""
+
+#: ../sandbox:385
+msgid ""
+"Sandbox Policy is not currently installed.\n"
+"You need to install the selinux-policy-sandbox package in order to run this "
+"command"
+msgstr ""
+
+#: ../sandbox:397
+msgid ""
+"You must specify a Homedir and tempdir when setting up a session sandbox"
+msgstr ""
+
+#: ../sandbox:399
+msgid "Commands are not allowed in a session sandbox"
+msgstr ""
+
+#: ../sandbox:409
+msgid "Command required"
+msgstr ""
+
+#: ../sandbox:412
+#, python-format
+msgid "%s is not an executable"
+msgstr ""
+
+#: ../sandbox:535
+#, python-format
+msgid "Invalid value %s"
+msgstr ""
diff --git selinux-sandbox-2.8/po/uk.po selinux-sandbox-2.8/po/uk.po
new file mode 100644
index 0000000..177a5a8
--- /dev/null
+++ selinux-sandbox-2.8/po/uk.po
@@ -0,0 +1,171 @@
+# Yuri Chornoivan <yurchor@ukr.net>, 2018. #zanata
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-06 14:06+0200\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2018-06-29 02:25+0000\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian\n"
+"Language: uk\n"
+"X-Generator: Zanata 4.5.0\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
+"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: ../sandbox:119
+#, python-format
+msgid "Do you want to save changes to '%s' (Y/N): "
+msgstr "Хочете зберегти зміни до «%s» (Y/N): "
+
+#: ../sandbox:120
+msgid "Sandbox Message"
+msgstr "Повідомлення пісочниці"
+
+#: ../sandbox:132
+#, python-format
+msgid "Do you want to save changes to '%s' (y/N): "
+msgstr "Хочете зберенти зміни до «%s» (y/N): "
+
+#: ../sandbox:133
+msgid "[yY]"
+msgstr "[yYтТ]"
+
+#: ../sandbox:156
+msgid "User account must be setup with an MCS Range"
+msgstr "Має бути налаштовано обліковий запис користувача з діапазоном MCS"
+
+#: ../sandbox:184
+msgid ""
+"Failed to find any unused category sets. Consider a larger MCS range for "
+"this user."
+msgstr ""
+"Не вдалося знайти жодного невикористаного набору категорій. Вам варто "
+"встановити ширший діапазон MCS для цього користувача."
+
+#: ../sandbox:215
+msgid "Homedir and tempdir required for level mounts"
+msgstr ""
+"Для монтування з рівнями потрібно вказати домашній каталог і каталог "
+"тимчасових даних"
+
+#: ../sandbox:218 ../sandbox:229 ../sandbox:234
+#, python-format
+msgid "\n"
+"%s is required for the action you want to perform.\n"
+msgstr "\n"
+"Для виконання бажаної для вас дії потрібен %s.\n"
+
+#: ../sandbox:305
+#, python-format
+msgid "\n"
+"Policy defines the following types for use with the -t:\n"
+"\t%s\n"
+msgstr "\n"
+"Правила визначають такі типи для використання з -t:\n"
+"\t%s\n"
+
+#: ../sandbox:312
+#, python-format
+msgid ""
+"\n"
+"sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I includefile "
+"] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t type ] command\n"
+"\n"
+"sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I includefile "
+"] [-W windowmanager ] [ -w windowsize ] [[-i file ] ...] [ -t type ] -S\n"
+"%s\n"
+msgstr ""
+"\n"
+"sandbox [-h] [-l рівень ] [-[X|M] [-H домашній_каталог] [-T "
+"тимчасовий_каталог]] [-I файл_включення ] [-W засіберування_вікнами ] [ -w "
+"розмірікна ] [[-i файл ] ...] [ -t тип ] команда\n"
+"\n"
+"sandbox [-h] [-l рівень ] [-[X|M] [-H домашній_каталог] [-T "
+"тимчасовий_каталог]] [-I файл_включення ] [-W засіберування_вікнами ] [ -w "
+"розмірікна ] [[-i файл ] ...] [ -t тип ] -S\n"
+"%s\n"
+
+#: ../sandbox:324
+msgid "include file in sandbox"
+msgstr "файл включень до пісочниці"
+
+#: ../sandbox:327
+msgid "read list of files to include in sandbox from INCLUDEFILE"
+msgstr "прочитати список файлів для включення до пісочниці з INCLUDEFILE"
+
+#: ../sandbox:329
+msgid "run sandbox with SELinux type"
+msgstr "запустити пісочницю із вказаним типом SELinux"
+
+#: ../sandbox:332
+msgid "mount new home and/or tmp directory"
+msgstr "змонтувати новий домашній каталог і/або каталог tmp"
+
+#: ../sandbox:336
+msgid "dots per inch for X display"
+msgstr "кількість точок на дюйм на графічному дисплеї"
+
+#: ../sandbox:339
+msgid "run complete desktop session within sandbox"
+msgstr "запустити увесь стільничний сеанс у пісочниці"
+
+#: ../sandbox:342
+msgid "Shred content before tempory directories are removed"
+msgstr "Перезаписувати дані до вилучення каталогів із тимчасовими даними"
+
+#: ../sandbox:346
+msgid "run X application within a sandbox"
+msgstr "запустити програму із графічним інтерфейсом у пісочниці"
+
+#: ../sandbox:352
+msgid "alternate home directory to use for mounting"
+msgstr "змінити домашній каталог, який використовується для монтування"
+
+#: ../sandbox:357
+msgid "alternate /tmp directory to use for mounting"
+msgstr "змінити каталог /tmp, який використовується для монтування"
+
+#: ../sandbox:366
+msgid "alternate window manager"
+msgstr "змінити засіб керування вікнами"
+
+#: ../sandbox:369
+msgid "MCS/MLS level for the sandbox"
+msgstr "Рівень MCS/MLS для пісочниці"
+
+#: ../sandbox:385
+msgid ""
+"Sandbox Policy is not currently installed.\n"
+"You need to install the selinux-policy-sandbox package in order to run this "
+"command"
+msgstr ""
+"Зараз правила пісочниці не встановлено.\n"
+"Вам слід встановити пакунок selinux-policy-sandbox, щоб запускати цю команду"
+
+#: ../sandbox:397
+msgid ""
+"You must specify a Homedir and tempdir when setting up a session sandbox"
+msgstr ""
+"Вам слід вказати домашній каталог і каталог тимчасових даних при "
+"налаштуванні пісочниці сеансу"
+
+#: ../sandbox:399
+msgid "Commands are not allowed in a session sandbox"
+msgstr "У пісочниці сенсу команди заборонено"
+
+#: ../sandbox:409
+msgid "Command required"
+msgstr "Потрібна команда"
+
+#: ../sandbox:412
+#, python-format
+msgid "%s is not an executable"
+msgstr "%s не є виконуваним файлом"
+
+#: ../sandbox:535
+#, python-format
+msgid "Invalid value %s"
+msgstr "Некоректне значення %s"
diff --git selinux-sandbox-2.8/sandbox selinux-sandbox-2.8/sandbox
index c07a1d8..a051360 100644
--- selinux-sandbox-2.8/sandbox
+++ selinux-sandbox-2.8/sandbox
@@ -37,7 +37,7 @@ import sepolicy
SEUNSHARE = "/usr/sbin/seunshare"
SANDBOXSH = "/usr/share/sandbox/sandboxX.sh"
-PROGNAME = "policycoreutils"
+PROGNAME = "selinux-sandbox"
try:
import gettext
kwargs = {}
diff --git selinux-sandbox-2.8/sandboxX.sh selinux-sandbox-2.8/sandboxX.sh
index eaa500d..4774528 100644
--- selinux-sandbox-2.8/sandboxX.sh
+++ selinux-sandbox-2.8/sandboxX.sh
@@ -20,7 +20,7 @@ cat > ~/.config/openbox/rc.xml << EOF
</openbox_config>
EOF
-(/usr/bin/Xephyr -resizeable -title "$TITLE" -terminate -screen $SCREENSIZE -dpi $DPI -nolisten tcp -displayfd 5 5>&1 2>/dev/null) | while read D; do
+(/usr/bin/Xephyr -resizeable -title "$TITLE" -terminate -reset -screen $SCREENSIZE -dpi $DPI -nolisten tcp -displayfd 5 5>&1 2>/dev/null) | while read D; do
export DISPLAY=:$D
cat > ~/seremote << __EOF
#!/bin/sh