SELinux userspace 2.8-rc3 release candidate

This commit is contained in:
Petr Lautrbach 2018-05-15 09:51:02 +02:00
parent b1b5b44bff
commit b05095b2d3
7 changed files with 48 additions and 52 deletions

7
.gitignore vendored
View File

@ -262,3 +262,10 @@ policycoreutils-2.0.83.tgz
/selinux-python-2.8-rc2.tar.gz
/selinux-sandbox-2.8-rc2.tar.gz
/semodule-utils-2.8-rc2.tar.gz
/policycoreutils-2.8-rc3.tar.gz
/restorecond-2.8-rc3.tar.gz
/selinux-dbus-2.8-rc3.tar.gz
/selinux-gui-2.8-rc3.tar.gz
/selinux-python-2.8-rc3.tar.gz
/selinux-sandbox-2.8-rc3.tar.gz
/semodule-utils-2.8-rc3.tar.gz

View File

@ -1,7 +1,7 @@
diff --git policycoreutils-2.8-rc2/scripts/fixfiles policycoreutils-2.8-rc2/scripts/fixfiles
diff --git policycoreutils-2.8-rc3/scripts/fixfiles policycoreutils-2.8-rc3/scripts/fixfiles
index 1aa330f..7ec0396 100755
--- policycoreutils-2.8-rc2/scripts/fixfiles
+++ policycoreutils-2.8-rc2/scripts/fixfiles
--- policycoreutils-2.8-rc3/scripts/fixfiles
+++ policycoreutils-2.8-rc3/scripts/fixfiles
@@ -108,6 +108,7 @@ exclude_dirs_from_relabelling() {
fullFlag=0
BOOTTIME=""

View File

@ -6,7 +6,7 @@
%global generatorsdir %{_prefix}/lib/systemd/system-generators
%global rcversion rc2
%global rcversion rc3
Summary: SELinux policy core utilities
Name: policycoreutils
@ -14,13 +14,13 @@ Version: 2.8
Release: 0%{?rcversion:.%rcversion}.1%{?dist}
License: GPLv2
# https://github.com/SELinuxProject/selinux/wiki/Releases
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/policycoreutils-2.8-rc2.tar.gz
Source1: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/selinux-python-2.8-rc2.tar.gz
Source2: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/selinux-gui-2.8-rc2.tar.gz
Source3: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/selinux-sandbox-2.8-rc2.tar.gz
Source4: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/selinux-dbus-2.8-rc2.tar.gz
Source5: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/semodule-utils-2.8-rc2.tar.gz
Source6: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/restorecond-2.8-rc2.tar.gz
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180510/policycoreutils-2.8-rc3.tar.gz
Source1: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180510/selinux-python-2.8-rc3.tar.gz
Source2: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180510/selinux-gui-2.8-rc3.tar.gz
Source3: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180510/selinux-sandbox-2.8-rc3.tar.gz
Source4: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180510/selinux-dbus-2.8-rc3.tar.gz
Source5: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180510/semodule-utils-2.8-rc3.tar.gz
Source6: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180510/restorecond-2.8-rc3.tar.gz
URL: https://github.com/SELinuxProject
Source12: policycoreutils_man_ru2.tar.bz2
Source13: system-config-selinux.png
@ -32,9 +32,9 @@ Source18: selinux-autorelabel.target
Source19: selinux-autorelabel-generator.sh
# download https://raw.githubusercontent.com/fedora-selinux/scripts/master/selinux/make-fedora-selinux-patch.sh
# run:
# HEAD https://github.com/fedora-selinux/selinux/commit/5127dfaae645986169b50a7295d4961a4959006a
# HEAD https://github.com/fedora-selinux/selinux/commit/11eab8523bec5fcded6c336e3112f30f7931cba6
# $ for i in policycoreutils selinux-python selinux-gui selinux-sandbox selinux-dbus semodule-utils restorecond; do
# VERSION=2.8-rc2 ./make-fedora-selinux-patch.sh $i
# VERSION=2.8-rc3 ./make-fedora-selinux-patch.sh $i
# done
Patch: policycoreutils-fedora.patch
Patch1: selinux-python-fedora.patch
@ -502,6 +502,9 @@ The policycoreutils-restorecond package contains the restorecond service.
%systemd_postun_with_restart restorecond.service
%changelog
* Tue May 15 2018 Petr Lautrbach <plautrba@redhat.com> - 2.8-0.rc3.1
- SELinux userspace 2.8-rc2 release candidate
* Fri May 4 2018 Petr Lautrbach <plautrba@redhat.com> - 2.8-0.rc2.1
- SELinux userspace 2.8-rc2 release candidate

View File

@ -1,7 +1,7 @@
diff --git selinux-dbus-2.8-rc2/org.selinux.conf selinux-dbus-2.8-rc2/org.selinux.conf
diff --git selinux-dbus-2.8-rc3/org.selinux.conf selinux-dbus-2.8-rc3/org.selinux.conf
index a350978..1ae079d 100644
--- selinux-dbus-2.8-rc2/org.selinux.conf
+++ selinux-dbus-2.8-rc2/org.selinux.conf
--- selinux-dbus-2.8-rc3/org.selinux.conf
+++ selinux-dbus-2.8-rc3/org.selinux.conf
@@ -12,12 +12,8 @@
<!-- Allow anyone to invoke methods on the interfaces,
@ -16,10 +16,10 @@ index a350978..1ae079d 100644
</policy>
</busconfig>
diff --git selinux-dbus-2.8-rc2/org.selinux.policy selinux-dbus-2.8-rc2/org.selinux.policy
diff --git selinux-dbus-2.8-rc3/org.selinux.policy selinux-dbus-2.8-rc3/org.selinux.policy
index 0126610..9772127 100644
--- selinux-dbus-2.8-rc2/org.selinux.policy
+++ selinux-dbus-2.8-rc2/org.selinux.policy
--- selinux-dbus-2.8-rc3/org.selinux.policy
+++ selinux-dbus-2.8-rc3/org.selinux.policy
@@ -70,9 +70,9 @@
<allow_active>auth_admin_keep</allow_active>
</defaults>

View File

@ -1,7 +1,7 @@
diff --git selinux-python-2.8-rc2/semanage/semanage.8 selinux-python-2.8-rc2/semanage/semanage.8
diff --git selinux-python-2.8-rc3/semanage/semanage.8 selinux-python-2.8-rc3/semanage/semanage.8
index 0bdb90f..0cdcfcc 100644
--- selinux-python-2.8-rc2/semanage/semanage.8
+++ selinux-python-2.8-rc2/semanage/semanage.8
--- selinux-python-2.8-rc3/semanage/semanage.8
+++ selinux-python-2.8-rc3/semanage/semanage.8
@@ -57,9 +57,8 @@ to SELinux user identities (which controls the initial security context
assigned to Linux users when they login and bounds their authorized role set)
as well as security context mappings for various kinds of objects, such
@ -14,23 +14,10 @@ index 0bdb90f..0cdcfcc 100644
while the semanage user command deals with the mapping from SELinux
user identities to authorized role sets. In most cases, only the
former mapping needs to be adjusted by the administrator; the latter
diff --git selinux-python-2.8-rc2/semanage/seobject.py selinux-python-2.8-rc2/semanage/seobject.py
index ac310ea..045eafd 100644
--- selinux-python-2.8-rc2/semanage/seobject.py
+++ selinux-python-2.8-rc2/semanage/seobject.py
@@ -2651,7 +2651,7 @@ class booleanRecords(semanageRecords):
self.current_booleans = []
ptype = None
- if self.store is None or self.store == ptype:
+ if self.store is "" or self.store == ptype:
self.modify_local = True
else:
self.modify_local = False
diff --git selinux-python-2.8-rc2/sepolicy/sepolicy/__init__.py selinux-python-2.8-rc2/sepolicy/sepolicy/__init__.py
diff --git selinux-python-2.8-rc3/sepolicy/sepolicy/__init__.py selinux-python-2.8-rc3/sepolicy/sepolicy/__init__.py
index 89346ab..24e3526 100644
--- selinux-python-2.8-rc2/sepolicy/sepolicy/__init__.py
+++ selinux-python-2.8-rc2/sepolicy/sepolicy/__init__.py
--- selinux-python-2.8-rc3/sepolicy/sepolicy/__init__.py
+++ selinux-python-2.8-rc3/sepolicy/sepolicy/__init__.py
@@ -1160,27 +1160,14 @@ def boolean_desc(boolean):
@ -65,10 +52,10 @@ index 89346ab..24e3526 100644
def reinit():
diff --git selinux-python-2.8-rc2/sepolicy/sepolicy/manpage.py selinux-python-2.8-rc2/sepolicy/sepolicy/manpage.py
diff --git selinux-python-2.8-rc3/sepolicy/sepolicy/manpage.py selinux-python-2.8-rc3/sepolicy/sepolicy/manpage.py
index ed8cb71..8121e5c 100755
--- selinux-python-2.8-rc2/sepolicy/sepolicy/manpage.py
+++ selinux-python-2.8-rc2/sepolicy/sepolicy/manpage.py
--- selinux-python-2.8-rc3/sepolicy/sepolicy/manpage.py
+++ selinux-python-2.8-rc3/sepolicy/sepolicy/manpage.py
@@ -126,8 +126,33 @@ def gen_domains():
domains.sort()
return domains

View File

@ -1,7 +1,7 @@
diff --git selinux-sandbox-2.8-rc2/sandboxX.sh selinux-sandbox-2.8-rc2/sandboxX.sh
diff --git selinux-sandbox-2.8-rc3/sandboxX.sh selinux-sandbox-2.8-rc3/sandboxX.sh
index eaa500d..4774528 100644
--- selinux-sandbox-2.8-rc2/sandboxX.sh
+++ selinux-sandbox-2.8-rc2/sandboxX.sh
--- selinux-sandbox-2.8-rc3/sandboxX.sh
+++ selinux-sandbox-2.8-rc3/sandboxX.sh
@@ -20,7 +20,7 @@ cat > ~/.config/openbox/rc.xml << EOF
</openbox_config>
EOF

15
sources
View File

@ -1,8 +1,7 @@
SHA512 (policycoreutils_man_ru2.tar.bz2) = 7272801da169b8d7dd3f8b7e368a63a4fbb7ae94599f9384bc450d142e6b2a3805ab542d650cbe9c8978c2d8e5c56ef4c11f361abfefeaf184ec3a4b0d2afb4c
SHA512 (policycoreutils-2.8-rc2.tar.gz) = ce807e6175c92649cb4218444ff49d4f70ba1feb99ca01412f05a3d713a0a5f3c5dae0cd284b077a8c8e03a68d4dd023302863f3922f7748798205c5d5d73021
SHA512 (restorecond-2.8-rc2.tar.gz) = 5d35576264b59face6130e97223d815df0f114b3e51d9e5008dddbb31a802763b346bf2f69a8ae8271c5dcacf04235e2ed3de305b036b8108b76f4951ff2d126
SHA512 (selinux-dbus-2.8-rc2.tar.gz) = 0b7968d7dc4e150b2ac37d0b7f46d8150af62bcf0685531cc80cc086d31f352053f130ed6460598dc660f879838c15d8e8c9630eb3d9dfe583a65f1723b6210b
SHA512 (selinux-gui-2.8-rc2.tar.gz) = 8b46daeccf9d50e8fc38b93ca73fa58cac15b7c99236631b4369efd49bbffe56cd22d5c791e1df5a04e7525289f8f785035ba7c099345c97aa55a0ded8369af7
SHA512 (selinux-python-2.8-rc2.tar.gz) = 5a3fb2131a12850bfe5beb794083c97507fd3f43d87674cb7050fd33ea181607077a9e004cf983918bb5b349ed22b02f3c681f2a1f72a64ee93bd49fbf40bd32
SHA512 (selinux-sandbox-2.8-rc2.tar.gz) = d203ed2155ec22be1e510fe6f50a4b59883bf1a3813607e71d592d40476a479fbbf531fd4eb1df29c4f92ea306c6c7c3926abf06524f70aa537256c9bc87b1d0
SHA512 (semodule-utils-2.8-rc2.tar.gz) = 31844fcf4389cd20b9164c6a11fdf914e51dc27170e5e083929376840e1135c3193e00a4abdcc24f99b98b815371f63167ade9d6de483f3ae3fdf7b04f76cb2b
SHA512 (policycoreutils-2.8-rc3.tar.gz) = 6100fdde5eb492a21028c470712dccffd25caf1cf2cabe5653df02126c19c7173cfd293b1e1ce3215bf7c59c32fed36e053348b1d5fb5916a24547d8e9c8794c
SHA512 (restorecond-2.8-rc3.tar.gz) = 1e52a2767e497d43125202ba66799c556b6a2d521ec6d747f96208e3b1d2c4bc8f7f28b3ca86fe47c0e0a2daac1de811a0630f02196a4c9502868a8c5e571dfc
SHA512 (selinux-dbus-2.8-rc3.tar.gz) = ce239bbba7905f4fef8563da8f753407c59cc0d79511d81aade54a53dce9f7ef0605393aa99cb97867acbe018c7966ed8c0a854199db8ae1088fe2be0f7bcaff
SHA512 (selinux-gui-2.8-rc3.tar.gz) = e2b7d42bc0f2622cd0d037f081a741d7d2a1e81a48d25024efeee187049433f61027e439cc8610c4762a7e4e7f38812baaa2ba2717b2a2b532afa6299d667fa1
SHA512 (selinux-python-2.8-rc3.tar.gz) = 0481891563df1872688d881d11bb498cbd402f7b31eb674fb83526e9fa391907b424be3df5da0cef17e053e3aca3200333bf90acfe42f7f58929f322ad447ab3
SHA512 (selinux-sandbox-2.8-rc3.tar.gz) = eef2bdbc832789073f3d5b012b46ae83f3ce18b726f620d6789ddc4454f5dac1016a00c7603346e7d335107072c56f8f115add70c0023422e4d7eb9505bc0a02
SHA512 (semodule-utils-2.8-rc3.tar.gz) = 8fd81a3785c6e47c6a4639850954603edd6f4a364928eb706f37a9f1164f8b2f7e8af5b640647bdb0c1e961a973b9dc5c3020edb870a6b4b5f9d079d718bcd52