|
|
f0681f |
%global debug_package %{nil}
|
|
|
f0681f |
|
|
|
f0681f |
# container-selinux
|
|
|
f0681f |
%global git0 https://github.com/containers/container-selinux
|
|
|
f0681f |
|
|
|
f0681f |
# container-selinux stuff (prefix with ds_ for version/release etc.)
|
|
|
f0681f |
# Some bits borrowed from the openstack-selinux package
|
|
|
f0681f |
%global selinuxtype targeted
|
|
|
f0681f |
%global moduletype services
|
|
|
f0681f |
%global modulenames container
|
|
|
f0681f |
|
|
|
f0681f |
# Usage: _format var format
|
|
|
f0681f |
# Expand 'modulenames' into various formats as needed
|
|
|
f0681f |
# Format must contain '$x' somewhere to do anything useful
|
|
|
f0681f |
%global _format() export %1=""; for x in %{modulenames}; do %1+=%2; %1+=" "; done;
|
|
|
f0681f |
|
|
|
f0681f |
# Version of SELinux we were using
|
|
|
f0681f |
%global selinux_policyver 3.14.3-80.el8
|
|
|
f0681f |
|
|
|
f0681f |
Epoch: 3
|
|
|
f0681f |
Name: container-selinux
|
|
|
f0681f |
Version: 2.179.1
|
|
|
f0681f |
Release: 1%{?dist}
|
|
|
f0681f |
License: GPLv2
|
|
|
f0681f |
URL: %{git0}
|
|
|
f0681f |
Summary: SELinux policies for container runtimes
|
|
|
f0681f |
Source0: %{git0}/archive/v%{version}.tar.gz
|
|
|
f0681f |
BuildArch: noarch
|
|
|
f0681f |
BuildRequires: git
|
|
|
f0681f |
BuildRequires: pkgconfig(systemd)
|
|
|
f0681f |
BuildRequires: selinux-policy >= %{selinux_policyver}
|
|
|
f0681f |
BuildRequires: selinux-policy-devel >= %{selinux_policyver}
|
|
|
f0681f |
# RE: rhbz#1195804 - ensure min NVR for selinux-policy
|
|
|
f0681f |
Requires: selinux-policy >= %{selinux_policyver}
|
|
|
f0681f |
Requires(post): selinux-policy-base >= %{selinux_policyver}
|
|
|
f0681f |
Requires(post): selinux-policy-targeted >= %{selinux_policyver}
|
|
|
f0681f |
Requires(post): policycoreutils >= 2.5-11
|
|
|
f0681f |
%if 0%{?rhel} > 7 || 0%{?fedora}
|
|
|
f0681f |
Requires(post): policycoreutils-python-utils
|
|
|
f0681f |
%else
|
|
|
f0681f |
Requires(post): policycoreutils-python
|
|
|
f0681f |
%endif
|
|
|
f0681f |
Requires(post): libselinux-utils
|
|
|
f0681f |
Requires(post): sed
|
|
|
f0681f |
Obsoletes: %{name} <= 2:1.12.5-14
|
|
|
f0681f |
Obsoletes: docker-selinux <= 2:1.12.4-28
|
|
|
f0681f |
Provides: docker-selinux = %{epoch}:%{version}-%{release}
|
|
|
f0681f |
Provides: docker-engine-selinux = %{epoch}:%{version}-%{release}
|
|
|
f0681f |
Conflicts: udica < 0.2.6-1
|
|
|
f0681f |
|
|
|
f0681f |
%description
|
|
|
f0681f |
SELinux policy modules for use with container runtimes.
|
|
|
f0681f |
|
|
|
f0681f |
%prep
|
|
|
f0681f |
%autosetup -Sgit
|
|
|
f0681f |
|
|
|
f0681f |
%build
|
|
|
f0681f |
make
|
|
|
f0681f |
|
|
|
f0681f |
%install
|
|
|
f0681f |
# install policy modules
|
|
|
f0681f |
%_format MODULES $x.pp.bz2
|
|
|
f0681f |
install -d %{buildroot}%{_datadir}/selinux/packages
|
|
|
f0681f |
install -d -p %{buildroot}%{_datadir}/selinux/devel/include/services
|
|
|
f0681f |
install -p -m 644 container.if %{buildroot}%{_datadir}/selinux/devel/include/services
|
|
|
f0681f |
install -m 0644 $MODULES %{buildroot}%{_datadir}/selinux/packages
|
|
|
f0681f |
install -d %{buildroot}/%{_datadir}/containers/selinux
|
|
|
f0681f |
install -m 644 container_contexts %{buildroot}/%{_datadir}/containers/selinux/contexts
|
|
|
f0681f |
install -d %{buildroot}%{_datadir}/udica/templates
|
|
|
f0681f |
install -m 0644 udica-templates/*.cil %{buildroot}%{_datadir}/udica/templates
|
|
|
f0681f |
|
|
|
f0681f |
# remove spec file
|
|
|
f0681f |
rm -rf %{name}.spec
|
|
|
f0681f |
|
|
|
f0681f |
%check
|
|
|
f0681f |
|
|
|
f0681f |
%pre
|
|
|
f0681f |
%selinux_relabel_pre -s %{selinuxtype}
|
|
|
f0681f |
|
|
|
f0681f |
%post
|
|
|
f0681f |
# Install all modules in a single transaction
|
|
|
f0681f |
if [ $1 -eq 1 ]; then
|
|
|
f0681f |
%{_sbindir}/setsebool -P -N virt_use_nfs=1 virt_sandbox_use_all_caps=1
|
|
|
f0681f |
fi
|
|
|
f0681f |
%_format MODULES %{_datadir}/selinux/packages/$x.pp.bz2
|
|
|
f0681f |
%{_sbindir}/semodule -n -s %{selinuxtype} -r container 2> /dev/null
|
|
|
f0681f |
%{_sbindir}/semodule -n -s %{selinuxtype} -d docker 2> /dev/null
|
|
|
f0681f |
%{_sbindir}/semodule -n -s %{selinuxtype} -d gear 2> /dev/null
|
|
|
f0681f |
%selinux_modules_install -s %{selinuxtype} $MODULES
|
|
|
f0681f |
. %{_sysconfdir}/selinux/config
|
|
|
f0681f |
sed -e "\|container_file_t|h; \${x;s|container_file_t||;{g;t};a\\" -e "container_file_t" -e "}" -i /etc/selinux/${SELINUXTYPE}/contexts/customizable_types > /dev/null 2>&1
|
|
|
f0681f |
matchpathcon -qV %{_sharedstatedir}/containers || restorecon -R %{_sharedstatedir}/containers &> /dev/null || :
|
|
|
f0681f |
|
|
|
f0681f |
%postun
|
|
|
f0681f |
if [ $1 -eq 0 ]; then
|
|
|
f0681f |
%selinux_modules_uninstall -s %{selinuxtype} %{modulenames} docker
|
|
|
f0681f |
fi
|
|
|
f0681f |
|
|
|
f0681f |
%triggerpostun -- container-selinux < 3:2.162.1-3
|
|
|
f0681f |
if %{_sbindir}/selinuxenabled ; then
|
|
|
f0681f |
echo "Fixing Rootless SELinux labels in homedir"
|
|
|
f0681f |
%{_sbindir}/restorecon -R /home/*/.local/share/containers/storage/overlay* 2> /dev/null || :
|
|
|
f0681f |
fi
|
|
|
f0681f |
|
|
|
f0681f |
%posttrans
|
|
|
f0681f |
%selinux_relabel_post -s %{selinuxtype}
|
|
|
f0681f |
|
|
|
f0681f |
#define license tag if not already defined
|
|
|
f0681f |
%{!?_licensedir:%global license %doc}
|
|
|
f0681f |
|
|
|
f0681f |
%files
|
|
|
f0681f |
%doc README.md
|
|
|
f0681f |
%{_datadir}/selinux/*
|
|
|
f0681f |
%dir %{_datadir}/containers/selinux
|
|
|
f0681f |
%{_datadir}/containers/selinux/contexts
|
|
|
f0681f |
%dir %{_datadir}/udica/templates/
|
|
|
f0681f |
%{_datadir}/udica/templates/*
|
|
|
f0681f |
|
|
|
f0681f |
|
|
|
f0681f |
%changelog
|
|
|
f0681f |
* Mon Feb 28 2022 Jindrich Novy <jnovy@redhat.com> - 3:2.179.1-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.179.1
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Feb 11 2022 Jindrich Novy <jnovy@redhat.com> - 3:2.178.0-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.178.0
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Feb 10 2022 Jindrich Novy <jnovy@redhat.com> - 3:2.177.0-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.177.0
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Feb 03 2022 Jindrich Novy <jnovy@redhat.com> - 3:2.176.0-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.176.0
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Feb 02 2022 Jindrich Novy <jnovy@redhat.com> - 3:2.174.0-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.174.0
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Jan 27 2022 Jindrich Novy <jnovy@redhat.com> - 3:2.173.2-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.173.2
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Jan 21 2022 Jindrich Novy <jnovy@redhat.com> - 3:2.173.1-2
|
|
|
f0681f |
- update minimal selinux_policy dependency
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Jan 19 2022 Jindrich Novy <jnovy@redhat.com> - 3:2.173.1-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.173.1
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Jan 12 2022 Jindrich Novy <jnovy@redhat.com> - 3:2.173.0-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.173.0
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Jan 07 2022 Jindrich Novy <jnovy@redhat.com> - 3:2.172.1-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.172.1
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Nov 23 2021 Jindrich Novy <jnovy@redhat.com> - 3:2.172.0-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.172.0
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Nov 11 2021 Jindrich Novy <jnovy@redhat.com> - 3:2.171.0-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.171.0
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Oct 06 2021 Jindrich Novy <jnovy@redhat.com> - 3:2.170.0-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.170.0
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Oct 01 2021 Jindrich Novy <jnovy@redhat.com> - 3:2.169.0-3
|
|
|
f0681f |
- perform only sanity/installability tests for now
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Sep 29 2021 Jindrich Novy <jnovy@redhat.com> - 3:2.169.0-2
|
|
|
f0681f |
- add gating.yaml
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Sep 27 2021 Jindrich Novy <jnovy@redhat.com> - 3:2.169.0-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.169.0
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Sep 21 2021 Vit Mojzis <vmojzis@redhat.com> - 2:2.168.0-2
|
|
|
f0681f |
- Start shipping udica templates
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Sep 14 2021 Jindrich Novy <jnovy@redhat.com> - 3:2.168.0-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.168.0
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Sep 03 2021 Jindrich Novy <jnovy@redhat.com> - 3:2.167.0-1
|
|
|
f0681f |
- update to
|
|
|
f0681f |
https://github.com/containers/container-selinux/releases/tag/v2.167.0
|
|
|
f0681f |
- Related: #2000051
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3:2.164.2-2
|
|
|
f0681f |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
f0681f |
Related: rhbz#1991688
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Aug 03 2021 Jindrich Novy <jnovy@redhat.com> - 3:2.164.2-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.164.2
|
|
|
f0681f |
- Related: #1970747
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Jul 19 2021 Jindrich Novy <jnovy@redhat.com> - 3:2.164.1-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.164.1
|
|
|
f0681f |
- Related: #1970747
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Jun 23 2021 Jindrich Novy <jnovy@redhat.com> - 3:2.163.0-2
|
|
|
f0681f |
- add trigger to fix labels in users homedirs, before overlayfs
|
|
|
f0681f |
is supported by default for non root users
|
|
|
f0681f |
- Related: #1970747
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Jun 14 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.163.0-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.163.0
|
|
|
f0681f |
- Related: #1970747
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Jun 11 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.162.2-1
|
|
|
f0681f |
- update to
|
|
|
f0681f |
https://github.com/containers/container-selinux/releases/tag/v2.162.2
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2:2.160.0-2
|
|
|
f0681f |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Mar 31 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.160.0-1
|
|
|
f0681f |
- update to
|
|
|
f0681f |
https://github.com/containers/container-selinux/releases/tag/v2.160.0
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Mar 23 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.159.0-1
|
|
|
f0681f |
- update to
|
|
|
f0681f |
https://github.com/containers/container-selinux/releases/tag/v2.159.0
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Feb 12 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.158.0-1
|
|
|
f0681f |
- update to
|
|
|
f0681f |
https://github.com/containers/container-selinux/releases/tag/v2.158.0
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Jan 20 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.156.0-1
|
|
|
f0681f |
- update to
|
|
|
f0681f |
https://github.com/containers/container-selinux/releases/tag/v2.156.0
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Jan 05 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.155.0-1
|
|
|
f0681f |
- update to
|
|
|
f0681f |
https://github.com/containers/container-selinux/releases/tag/v2.155.0
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Jan 04 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.154.0-0.2
|
|
|
f0681f |
- update to
|
|
|
f0681f |
https://github.com/containers/container-selinux/releases/tag/v2.154.0
|
|
|
f0681f |
|
|
|
f0681f |
* Sun Dec 20 2020 Petr Å abata <contyk@redhat.com> - 2:2.151.0-1.1
|
|
|
f0681f |
- Minor bump for gcc11
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Nov 03 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.151.0-1
|
|
|
f0681f |
- update to
|
|
|
f0681f |
https://github.com/containers/container-selinux/releases/tag/v2.151.0
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Oct 23 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.150.0-1
|
|
|
f0681f |
- update to
|
|
|
f0681f |
https://github.com/containers/container-selinux/releases/tag/v2.150.0
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Sep 18 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.145.0-1
|
|
|
f0681f |
- update to
|
|
|
f0681f |
https://github.com/containers/container-selinux/releases/tag/v2.145.0
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Sep 17 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.144.0-2
|
|
|
f0681f |
- sync with rhel8-8.3.0
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Sep 17 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.144.0-1
|
|
|
f0681f |
- update to https://github.com/containers/container-selinux/releases/tag/v2.144.0
|
|
|
f0681f |
- Related: #1821193
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Jun 14 2019 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.107-1
|
|
|
f0681f |
- Resolves: #1720654 - rebase to v2.107
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Apr 30 2019 Eduardo Santiago <santiago@redhat.com> - 2:2.99-3.git9a53d6c
|
|
|
f0681f |
- strip away fs_manage_fusefs_* to resolve build-time error
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Apr 23 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 2:2.99-2.git9a53d6c
|
|
|
f0681f |
- rebase
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Mar 11 2019 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.89-1.git2521d0d
|
|
|
f0681f |
- bump to v2.89
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Mar 01 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 2:2.87-3.git891a85f
|
|
|
f0681f |
- fix fersion number
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Mar 01 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 2:2.75-2.git891a85f
|
|
|
f0681f |
- rebase
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Nov 13 2018 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.75-1.git99e2cfd
|
|
|
f0681f |
- bump to v2.75
|
|
|
f0681f |
- built commit 99e2cfd
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Oct 22 2018 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.74-1
|
|
|
f0681f |
- Resolves: #1641655 - bump to v2.74
|
|
|
f0681f |
- built commit a62c2db
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Sep 18 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 2:2.73-3
|
|
|
f0681f |
- tweak macro for fedora - applies to rhel8 as well
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Sep 17 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 2:2.73-2
|
|
|
f0681f |
- moved changelog entries:
|
|
|
f0681f |
- Define spc_t as a container_domain, so that container_runtime will transition
|
|
|
f0681f |
to spc_t even when setup with nosuid.
|
|
|
f0681f |
- Allow container_runtimes to setattr on callers fifo_files
|
|
|
f0681f |
- Fix restorecon to not error on missing directory
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Sep 6 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.69-3
|
|
|
f0681f |
- Make sure we pull in the latest selinux-policy
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Jul 25 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.69-2
|
|
|
f0681f |
- Add map support to container-selinux for RHEL 7.5
|
|
|
f0681f |
- Dontudit attempts to write to kernel_sysctl_t
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Jul 16 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.68-1
|
|
|
f0681f |
- Add label for /var/lib/origin
|
|
|
f0681f |
- Add customizable_file_t to customizable_types
|
|
|
f0681f |
|
|
|
f0681f |
* Sun Jul 15 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.67-1
|
|
|
f0681f |
- Add policy for container_logreader_t
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Jun 14 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.66-1
|
|
|
f0681f |
- Allow dnsmasq to dbus chat with spc_t
|
|
|
f0681f |
|
|
|
f0681f |
* Sun Jun 3 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.64-1
|
|
|
f0681f |
- Allow containers to create all socket classes
|
|
|
f0681f |
|
|
|
f0681f |
* Thu May 24 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.62-1
|
|
|
f0681f |
- Label overlay directories under /var/lib/containers/ correctly
|
|
|
f0681f |
|
|
|
f0681f |
* Mon May 21 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.61-1
|
|
|
f0681f |
- Allow spc_t to load kernel modules from inside of container
|
|
|
f0681f |
|
|
|
f0681f |
* Mon May 21 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.60-1
|
|
|
f0681f |
- Allow containers to list cgroup directories
|
|
|
f0681f |
- Transition for unconfined_service_t to container_runtime_t when executing container_runtime_exec_t.
|
|
|
f0681f |
|
|
|
f0681f |
* Mon May 21 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.58-2
|
|
|
f0681f |
- Run restorecon /usr/bin/podman in postinstall
|
|
|
f0681f |
|
|
|
f0681f |
* Fri May 18 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.58-1
|
|
|
f0681f |
- Add labels to allow podman to be run from a systemd unit file
|
|
|
f0681f |
|
|
|
f0681f |
* Mon May 7 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.57-1
|
|
|
f0681f |
- Set the version of SELinux policy required to the latest to fix build issues.
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Apr 11 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.56-1
|
|
|
f0681f |
- Allow container_runtime_t to transition to spc_t over unlabeled files
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Mar 26 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.55-1
|
|
|
f0681f |
Allow iptables to read container state
|
|
|
f0681f |
Dontaudit attempts from containers to write to /proc/self
|
|
|
f0681f |
Allow spc_t to change attributes on container_runtime_t fifo files
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Mar 8 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.52-1
|
|
|
f0681f |
- Add better support for writing custom selinux policy for customer container domains.
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Mar 8 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.51-1
|
|
|
f0681f |
- Allow shell_exec_t as a container_runtime_t entrypoint
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Mar 7 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.50-1
|
|
|
f0681f |
- Allow bin_t as a container_runtime_t entrypoint
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Mar 2 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.49-1
|
|
|
f0681f |
- Add support for MLS running container runtimes
|
|
|
f0681f |
- Add missing allow rules for running systemd in a container
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Feb 21 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.48-1
|
|
|
f0681f |
- Update policy to match master branch
|
|
|
f0681f |
- Remove typebounds and replace with nnp_transition and nosuid_transition calls
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Jan 9 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.41-1
|
|
|
f0681f |
- Add support to nnp_transition for container domains
|
|
|
f0681f |
- Eliminates need for typebounds.
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Jan 9 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.40-1
|
|
|
f0681f |
- Allow container_runtime_t to use user ttys
|
|
|
f0681f |
- Fixes bounds check for container_t
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Jan 8 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.39-1
|
|
|
f0681f |
- Allow container runtimes to use interited terminals. This helps
|
|
|
f0681f |
satisfy the bounds check of container_t versus container_runtime_t.
|
|
|
f0681f |
|
|
|
f0681f |
* Sat Jan 6 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.38-1
|
|
|
f0681f |
- Allow container runtimes to mmap container_file_t devices
|
|
|
f0681f |
- Add labeling for rhel push plugin
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Dec 12 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.37-1
|
|
|
f0681f |
- Allow containers to use inherited ttys
|
|
|
f0681f |
- Allow ostree to handle labels under /var/lib/containers/ostree
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Nov 27 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.36-1
|
|
|
f0681f |
- Allow containers to relabelto/from all file types to container_file_t
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Nov 27 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.35-1
|
|
|
f0681f |
- Allow container to map chr_files labeled container_file_t
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Nov 22 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.34-1
|
|
|
f0681f |
- Dontaudit container processes getattr on kernel file systems
|
|
|
f0681f |
|
|
|
f0681f |
* Sun Nov 19 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.33-1
|
|
|
f0681f |
- Allow containers to read /etc/resolv.conf and /etc/hosts if volume
|
|
|
f0681f |
- mounted into container.
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Nov 8 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.32-1
|
|
|
f0681f |
- Make sure users creating content in /var/lib with right labels
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Oct 26 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.31-1
|
|
|
f0681f |
- Allow the container runtime to dbus chat with dnsmasq
|
|
|
f0681f |
- add dontaudit rules for container trying to write to /proc
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Oct 10 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.29-1
|
|
|
f0681f |
- Add support for lxcd
|
|
|
f0681f |
- Add support for labeling of tmpfs storage created within a container.
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Oct 9 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.28-1
|
|
|
f0681f |
- Allow a container to umount a container_file_t filesystem
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Sep 22 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.27-1
|
|
|
f0681f |
- Allow container runtimes to work with the netfilter sockets
|
|
|
f0681f |
- Allow container_file_t to be an entrypoint for VM's
|
|
|
f0681f |
- Allow spc_t domains to transition to svirt_t
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Sep 22 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.24-1
|
|
|
f0681f |
- Make sure container_runtime_t has all access of container_t
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Sep 7 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.23-1
|
|
|
f0681f |
- Allow container runtimes to create sockets in tmp dirs
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Sep 5 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.22-1
|
|
|
f0681f |
- Add additonal support for crio labeling.
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Aug 14 2017 Troy Dawson <tdawson@redhat.com> - 2.21-3
|
|
|
f0681f |
- Fixup spec file conditionals
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.21-2
|
|
|
f0681f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Jul 6 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.21-1
|
|
|
f0681f |
- Allow containers to execmod on container_share_t files.
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Jul 6 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.20-2
|
|
|
f0681f |
- Relabel runc and crio executables
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Jun 30 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.20-1
|
|
|
f0681f |
- Allow container processes to getsession
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Jun 14 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.19-2.1
|
|
|
f0681f |
- update release tag to isolate from 7.3
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Jun 14 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:2.19-1
|
|
|
f0681f |
- Fix mcs transition problem on stdin/stdout/stderr
|
|
|
f0681f |
- Add labels for CRI-O
|
|
|
f0681f |
- Allow containers to use tunnel sockets
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Jun 06 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.15-1.1
|
|
|
f0681f |
- Resolves: #1451289
|
|
|
f0681f |
- rebase to v2.15
|
|
|
f0681f |
- built @origin/RHEL-1.12 commit 583ca40
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Mar 20 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:2.10-2.1
|
|
|
f0681f |
- Make sure we have a late enough version of policycoreutils
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Mar 6 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:2.10-1
|
|
|
f0681f |
- Update to the latest container-selinux patch from upstream
|
|
|
f0681f |
- Label files under /usr/libexec/lxc as container_runtime_exec_t
|
|
|
f0681f |
- Give container_t access to XFRM sockets
|
|
|
f0681f |
- Allow spc_t to dbus chat with init system
|
|
|
f0681f |
- Allow containers to read cgroup configuration mounted into a container
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Feb 21 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.9-4
|
|
|
f0681f |
- Resolves: #1425574
|
|
|
f0681f |
- built commit 79a6d70
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Feb 20 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.9-3
|
|
|
f0681f |
- Resolves: #1420591
|
|
|
f0681f |
- built @origin/RHEL-1.12 commit 8f876c4
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Feb 13 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.9-2
|
|
|
f0681f |
- built @origin/RHEL-1.12 commit 33cb78b
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Feb 10 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.8-2
|
|
|
f0681f |
-
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Feb 07 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.7-1
|
|
|
f0681f |
- built origin/RHEL-1.12 commit 21dd37b
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Jan 20 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.4-2
|
|
|
f0681f |
- correct version-release in changelog entries
|
|
|
f0681f |
|
|
|
f0681f |
* Thu Jan 19 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:2.4-1
|
|
|
f0681f |
- Add typebounds statement for container_t from container_runtime_t
|
|
|
f0681f |
- We should only label runc not runc*
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Jan 17 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:2.3-1
|
|
|
f0681f |
- Fix labeling on /usr/bin/runc.*
|
|
|
f0681f |
- Add sandbox_net_domain access to container.te
|
|
|
f0681f |
- Remove containers ability to look at /etc content
|
|
|
f0681f |
|
|
|
f0681f |
* Wed Jan 11 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.2-4
|
|
|
f0681f |
- use upstream's RHEL-1.12 branch, commit 56c32da for CentOS 7
|
|
|
f0681f |
|
|
|
f0681f |
* Tue Jan 10 2017 Jonathan Lebon <jlebon@redhat.com> - 2:2.2-3
|
|
|
f0681f |
- properly disable docker module in %%post
|
|
|
f0681f |
|
|
|
f0681f |
* Sat Jan 07 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.2-2
|
|
|
f0681f |
- depend on selinux-policy-targeted
|
|
|
f0681f |
- relabel docker-latest* files as well
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Jan 06 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.2-1
|
|
|
f0681f |
- bump to v2.2
|
|
|
f0681f |
- additional labeling for ocid
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Jan 06 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0-2
|
|
|
f0681f |
- install policy at level 200
|
|
|
f0681f |
- From: Dan Walsh <dwalsh@redhat.com>
|
|
|
f0681f |
|
|
|
f0681f |
* Fri Jan 06 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0-1
|
|
|
f0681f |
- Resolves: #1406517 - bump to v2.0 (first upload to Fedora as a
|
|
|
f0681f |
standalone package)
|
|
|
f0681f |
- include projectatomic/RHEL-1.12 branch commit for building on centos/rhel
|
|
|
f0681f |
|
|
|
f0681f |
* Mon Dec 19 2016 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:1.12.4-29
|
|
|
f0681f |
- new package (separated from docker)
|