bae89a
%global debug_package   %{nil}
bae89a
bae89a
# container-selinux
bae89a
%global git0 https://github.com/containers/container-selinux
bae89a
bae89a
# container-selinux stuff (prefix with ds_ for version/release etc.)
bae89a
# Some bits borrowed from the openstack-selinux package
bae89a
%global selinuxtype targeted
bae89a
%global moduletype services
bae89a
%global modulenames container
bae89a
bae89a
# Usage: _format var format
bae89a
# Expand 'modulenames' into various formats as needed
bae89a
# Format must contain '$x' somewhere to do anything useful
bae89a
%global _format() export %1=""; for x in %{modulenames}; do %1+=%2; %1+=" "; done;
bae89a
bae89a
# Version of SELinux we were using
bae89a
%global selinux_policyver 3.14.3-80.el8
bae89a
bae89a
Epoch: 2
bae89a
Name: container-selinux
7998cf
Version: 2.189.0
bae89a
Release: 1%{?dist}
bae89a
License: GPLv2
bae89a
URL: %{git0}
bae89a
Summary: SELinux policies for container runtimes
bae89a
Source0: %{git0}/archive/v%{version}.tar.gz
bae89a
Patch1: container-selinux-1957904.patch
bae89a
BuildArch: noarch
bae89a
BuildRequires: git
bae89a
BuildRequires: pkgconfig(systemd)
bae89a
BuildRequires: selinux-policy >= %{selinux_policyver}
bae89a
BuildRequires: selinux-policy-devel >= %{selinux_policyver}
bae89a
# RE: rhbz#1195804 - ensure min NVR for selinux-policy
bae89a
Requires: selinux-policy >= %{selinux_policyver}
bae89a
Requires(post): selinux-policy-base >= %{selinux_policyver}
bae89a
Requires(post): selinux-policy-targeted >= %{selinux_policyver}
bae89a
Requires(post): policycoreutils >= 2.5-11
bae89a
%if 0%{?rhel} > 7 || 0%{?fedora}
bae89a
Requires(post): policycoreutils-python-utils
bae89a
%else
bae89a
Requires(post): policycoreutils-python
bae89a
%endif
bae89a
Requires(post): libselinux-utils
bae89a
Requires(post): sed
bae89a
Obsoletes: %{name} <= 2:1.12.5-14
bae89a
Obsoletes: docker-selinux <= 2:1.12.4-28
bae89a
Provides: docker-selinux = %{epoch}:%{version}-%{release}
bae89a
Provides: docker-engine-selinux = %{epoch}:%{version}-%{release}
bae89a
Conflicts: udica < 0.2.6-1
bae89a
bae89a
%description
bae89a
SELinux policy modules for use with container runtimes.
bae89a
bae89a
%prep
bae89a
%autosetup -Sgit
bae89a
bae89a
%build
bae89a
make
bae89a
bae89a
%install
bae89a
# install policy modules
bae89a
%_format MODULES $x.pp.bz2
bae89a
install -d %{buildroot}%{_datadir}/selinux/packages
bae89a
install -d -p %{buildroot}%{_datadir}/selinux/devel/include/services
bae89a
install -p -m 644 container.if %{buildroot}%{_datadir}/selinux/devel/include/services
bae89a
install -m 0644 $MODULES %{buildroot}%{_datadir}/selinux/packages
bae89a
install -d %{buildroot}/%{_datadir}/containers/selinux
bae89a
install -m 644 container_contexts %{buildroot}/%{_datadir}/containers/selinux/contexts
bae89a
install -d %{buildroot}%{_datadir}/udica/templates
bae89a
install -m 0644 udica-templates/*.cil %{buildroot}%{_datadir}/udica/templates
bae89a
bae89a
# remove spec file
bae89a
rm -rf %{name}.spec
bae89a
bae89a
%check
bae89a
bae89a
%pre
bae89a
%selinux_relabel_pre -s %{selinuxtype}
bae89a
bae89a
%post
bae89a
# Install all modules in a single transaction
bae89a
if [ $1 -eq 1 ]; then
bae89a
   %{_sbindir}/setsebool -P -N virt_use_nfs=1 virt_sandbox_use_all_caps=1
bae89a
fi
bae89a
%_format MODULES %{_datadir}/selinux/packages/$x.pp.bz2
bae89a
%{_sbindir}/semodule -n -s %{selinuxtype} -r container 2> /dev/null
bae89a
%{_sbindir}/semodule -n -s %{selinuxtype} -d docker 2> /dev/null
bae89a
%{_sbindir}/semodule -n -s %{selinuxtype} -d gear 2> /dev/null
bae89a
%selinux_modules_install -s %{selinuxtype} $MODULES
bae89a
. %{_sysconfdir}/selinux/config
bae89a
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
bae89a
matchpathcon -qV %{_sharedstatedir}/containers || restorecon -R %{_sharedstatedir}/containers &> /dev/null || :
bae89a
bae89a
%postun
bae89a
if [ $1 -eq 0 ]; then
bae89a
%selinux_modules_uninstall -s %{selinuxtype} %{modulenames} docker
bae89a
fi
bae89a
bae89a
%posttrans
bae89a
%selinux_relabel_post -s %{selinuxtype}
bae89a
bae89a
#define license tag if not already defined
bae89a
%{!?_licensedir:%global license %doc}
bae89a
bae89a
%files
bae89a
%doc README.md
bae89a
%{_datadir}/selinux/*
bae89a
%dir %{_datadir}/containers/selinux
bae89a
%{_datadir}/containers/selinux/contexts
bae89a
%dir %{_datadir}/udica/templates/
bae89a
%{_datadir}/udica/templates/*
bae89a
bae89a
%changelog
7998cf
* Fri Jul 15 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.189.0-1
7998cf
- update to https://github.com/containers/container-selinux/releases/tag/v2.189.0
7998cf
- Related: #2061390
7998cf
7998cf
* Mon Jun 27 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.188.0-1
7998cf
- update to https://github.com/containers/container-selinux/releases/tag/v2.188.0
7998cf
- Related: #2061390
7998cf
7998cf
* Fri May 27 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.187.0-1
7998cf
- update to https://github.com/containers/container-selinux/releases/tag/v2.187.0
7998cf
- Related: #2061390
7998cf
7998cf
* Wed Apr 20 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.183.0-1
7998cf
- update to https://github.com/containers/container-selinux/releases/tag/v2.183.0
7998cf
- Related: #2061390
7998cf
7998cf
* Wed Mar 23 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.181.0-1
7998cf
- update to https://github.com/containers/container-selinux/releases/tag/v2.181.0
7998cf
- Related: #2061390
7998cf
7998cf
* Fri Mar 11 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.180.0-1
7998cf
- update to https://github.com/containers/container-selinux/releases/tag/v2.180.0
7998cf
- Related: #2061390
7998cf
7998cf
* Mon Mar 07 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.179.1-1
7998cf
- update to https://github.com/containers/container-selinux/releases/tag/v2.179.1
7998cf
- Related: #2061390
7998cf
bae89a
* Fri Feb 11 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.178.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.178.0
bae89a
- Related: #2001445
bae89a
bae89a
* Thu Feb 10 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.177.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.177.0
bae89a
- Related: #2001445
bae89a
bae89a
* Thu Feb 03 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.176.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.176.0
bae89a
- Related: #2001445
bae89a
bae89a
* Wed Feb 02 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.174.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.174.0
bae89a
- Related: #2001445
bae89a
bae89a
* Thu Jan 27 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.173.2-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.173.2
bae89a
- Related: #2001445
bae89a
bae89a
* Fri Jan 21 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.173.1-2
bae89a
- update minimal selinux_policy dependency
bae89a
- Related: #2001445
bae89a
bae89a
* Wed Jan 19 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.173.1-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.173.1
bae89a
- Related: #2001445
bae89a
bae89a
* Wed Jan 12 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.173.0-1
bae89a
- lockdown allow rule was removed
bae89a
- Related: #2001445
bae89a
bae89a
* Fri Jan 07 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.172.1-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.172.1
bae89a
- Related: #2001445
bae89a
bae89a
* Tue Nov 23 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.172.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.172.0
bae89a
- Related: #2001445
bae89a
bae89a
* Mon Nov 15 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.171.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.171.0
bae89a
- Related: #2001445
bae89a
bae89a
* Wed Oct 06 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.170.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.170.0
bae89a
- Related: #2001445
bae89a
bae89a
* Mon Sep 27 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.169.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.169.0
bae89a
- Related: #2001445
bae89a
bae89a
* Tue Sep 21 2021 Vit Mojzis <vmojzis@redhat.com> - 2:2.168.0-2
bae89a
- Start shipping udica templates
bae89a
- Related: #2001445
bae89a
bae89a
* Wed Sep 15 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.168.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.168.0
bae89a
- Related: #2001445
bae89a
bae89a
* Thu Aug 26 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.167.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.167.0
bae89a
- Related: #1934415
bae89a
bae89a
* Wed Aug 25 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.165.1-2
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.165.1
bae89a
- Related: #1934415
bae89a
bae89a
* Tue Aug 03 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.164.2-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.164.2
bae89a
- Related: #1934415
bae89a
bae89a
* Wed Jul 21 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.164.1-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.164.1
bae89a
- Related: #1934415
bae89a
bae89a
* Thu Jun 17 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.163.0-2
bae89a
- fix the build of 2.163.0
bae89a
- Resolves: #1957904
bae89a
bae89a
* Tue Jun 15 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.163.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.163.0
bae89a
- Related: #1934415
bae89a
bae89a
* Tue May 25 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.162.2-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.162.2
bae89a
- Related: #1934415
bae89a
bae89a
* Wed May 19 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.162.1-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.162.1
bae89a
- Related: #1934415
bae89a
bae89a
* Tue May 11 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.162.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.162.0
bae89a
- Related: #1934415
bae89a
bae89a
* Thu May 06 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.161.1-2
bae89a
- do not use lockdown class yet - it is not available in RHEL
bae89a
- Related: #1934415
bae89a
bae89a
* Thu May 06 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.161.1-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.161.1
bae89a
- Related: #1934415
bae89a
bae89a
* Wed Apr 28 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.160.2-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.160.2
bae89a
- Related: #1934415
bae89a
bae89a
* Mon Apr 26 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.160.1-1
bae89a
- update to
bae89a
  https://github.com/containers/container-selinux/releases/tag/v2.160.1
bae89a
- Related: #1934415
bae89a
bae89a
* Wed Mar 31 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.160.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.160.0
bae89a
- Related: #1934415
bae89a
bae89a
* Tue Mar 23 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.159.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.159.0
bae89a
- Related: #1934415
bae89a
bae89a
* Fri Feb 12 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.158.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.158.0
bae89a
- Related: #1883490
bae89a
bae89a
* Fri Jan 15 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.156.0-1
bae89a
- update to
bae89a
  https://github.com/containers/container-selinux/releases/tag/v2.156.0
bae89a
- Related: #1883490
bae89a
bae89a
* Tue Jan 05 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.155.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.155.0
bae89a
- Related: #1883490
bae89a
bae89a
* Sat Jan 02 2021 Jindrich Novy <jnovy@redhat.com> - 2:2.154.0-1
bae89a
- update to
bae89a
  https://github.com/containers/container-selinux/releases/tag/v2.154.0
bae89a
- Related: #1883490
bae89a
bae89a
* Sat Dec 26 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.153.0-1
bae89a
- update to
bae89a
  https://github.com/containers/container-selinux/releases/tag/v2.153.0
bae89a
- Related: #1883490
bae89a
bae89a
* Sat Dec 26 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.152.0-1
bae89a
- update to
bae89a
  https://github.com/containers/container-selinux/releases/tag/v2.152.0
bae89a
- Related: #1883490
bae89a
bae89a
* Tue Nov 03 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.151.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.151.0
bae89a
- Related: #1883490
bae89a
bae89a
* Fri Oct 23 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.150.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.150.0
bae89a
- Related: #1883490
bae89a
bae89a
* Wed Oct 21 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.145.0-1
bae89a
- synchronize with stream-container-tools-rhel8
bae89a
- Related: #1883490
bae89a
bae89a
* Thu Aug 13 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.144.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.144.0
bae89a
- Related: #1821193
bae89a
bae89a
* Mon Aug 10 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.143.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.143.0
bae89a
- Related: #1821193
bae89a
bae89a
* Sun Jul 26 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.142.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.142.0
bae89a
- Related: #1821193
bae89a
bae89a
* Sun Jul 19 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.139.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.139.0
bae89a
- Related: #1821193
bae89a
bae89a
* Fri Jul 10 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.138.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.138.0
bae89a
- Related: #1821193
bae89a
bae89a
* Fri Jun 12 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.137.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.137.0
bae89a
- Related: #1821193
bae89a
bae89a
* Sun May 31 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.135.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.135.0
bae89a
- Related: #1821193
bae89a
bae89a
* Fri May 29 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.134.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.134.0
bae89a
- Related: #1821193
bae89a
bae89a
* Tue May 12 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.132.0-1
bae89a
- synchronize containter-tools 8.3.0 with 8.2.1
bae89a
- Related: #1821193
bae89a
bae89a
* Tue Apr 07 2020 Jindrich Novy <jnovy@redhat.com> - 2:2.130.0-1
bae89a
- update to https://github.com/containers/container-selinux/releases/tag/v2.130.0
bae89a
- don't use macros in changelog
bae89a
- Related: #1821193
bae89a
bae89a
* Wed Dec 11 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.124.0-1
bae89a
- update to 2.124.0
bae89a
- Related: RHELPLAN-25139
bae89a
bae89a
* Fri Dec 06 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.123.0-2
bae89a
- implement spec file refactoring by Zdenek Pytela, namely:
bae89a
  Change the uninstall command in the %%postun section of the specfile
bae89a
  to use the %%selinux_modules_uninstall macro which uses priority 200.
bae89a
  Change the install command in the %%post section if the specfile
bae89a
  to use the %%selinux_modules_install macro.
bae89a
  Replace relabel commands with using the %%selinux_relabel_pre and
bae89a
  %%selinux_relabel_post macros.
bae89a
  Change formatting so that the lines are vertically aligned
bae89a
  in the %%postun section.
bae89a
  (https://github.com/containers/container-selinux/pull/85)
bae89a
- Related: RHELPLAN-25139
bae89a
bae89a
* Tue Nov 26 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.123.0-1
bae89a
- update to 2.123.0
bae89a
- Related: RHELPLAN-25139
bae89a
bae89a
* Mon Nov 25 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.122.0-1
bae89a
- update to 2.122.0
bae89a
- Related: RHELPLAN-25139
bae89a
bae89a
* Thu Nov 21 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.119.0-3.gita233788
bae89a
- update to master container-selinux - bug 1769469
bae89a
- Related: RHELPLAN-25139
bae89a
bae89a
* Tue Nov 19 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.119.0-2
bae89a
- fix post scriptlet - fail if semodule fails - bug 1729272
bae89a
- Related: RHELPLAN-25139
bae89a
bae89a
* Fri Nov 08 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.119.0-1
bae89a
- update to 2.119.0
bae89a
- Related: RHELPLAN-25139
bae89a
bae89a
* Thu Oct 17 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.116-1
bae89a
- update to 2.116
bae89a
  Resolves: #1748519
bae89a
bae89a
* Tue Aug 13 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.107-2
bae89a
- Use at least selinux policy 3.14.3-9.el8,
bae89a
  Resolves: #1728700
bae89a
bae89a
* Fri Jun 14 2019 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.107-1
bae89a
- Resolves: #1720654 - rebase to v2.107
bae89a
bae89a
* Mon Mar 11 2019 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.89-1.git2521d0d
bae89a
- bump to v2.89
bae89a
bae89a
* Tue Nov 13 2018 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.75-1.git99e2cfd
bae89a
- bump to v2.75
bae89a
- built commit 99e2cfd
bae89a
bae89a
* Mon Oct 22 2018 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.74-1
bae89a
- Resolves: #1641655 - bump to v2.74
bae89a
- built commit a62c2db
bae89a
bae89a
* Tue Sep 18 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 2:2.73-3
bae89a
- tweak macro for fedora - applies to rhel8 as well
bae89a
bae89a
* Mon Sep 17 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 2:2.73-2
bae89a
- moved changelog entries:
bae89a
- Define spc_t as a container_domain, so that container_runtime will transition
bae89a
to spc_t even when setup with nosuid.
bae89a
- Allow container_runtimes to setattr on callers fifo_files
bae89a
- Fix restorecon to not error on missing directory
bae89a
bae89a
* Thu Sep 6 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.69-3
bae89a
- Make sure we pull in the latest selinux-policy
bae89a
bae89a
* Wed Jul 25 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.69-2
bae89a
- Add map support to container-selinux for RHEL 7.5
bae89a
- Dontudit attempts to write to kernel_sysctl_t
bae89a
bae89a
* Mon Jul 16 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.68-1
bae89a
- Add label for /var/lib/origin
bae89a
- Add customizable_file_t to customizable_types
bae89a
bae89a
* Sun Jul 15 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.67-1
bae89a
- Add policy for container_logreader_t
bae89a
bae89a
* Thu Jun 14 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.66-1
bae89a
- Allow dnsmasq to dbus chat with spc_t
bae89a
bae89a
* Sun Jun 3 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.64-1
bae89a
- Allow containers to create all socket classes
bae89a
bae89a
* Thu May 24 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.62-1
bae89a
- Label overlay directories under /var/lib/containers/ correctly
bae89a
bae89a
* Mon May 21 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.61-1
bae89a
- Allow spc_t to load kernel modules from inside of container 
bae89a
bae89a
* Mon May 21 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.60-1
bae89a
- Allow containers to list cgroup directories
bae89a
- Transition for unconfined_service_t to container_runtime_t when executing container_runtime_exec_t.
bae89a
bae89a
* Mon May 21 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.58-2
bae89a
- Run restorecon /usr/bin/podman in postinstall
bae89a
bae89a
* Fri May 18 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.58-1
bae89a
- Add labels to allow podman to be run from a systemd unit file
bae89a
bae89a
* Mon May 7 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.57-1
bae89a
- Set the version of SELinux policy required to the latest to fix build issues.
bae89a
bae89a
* Wed Apr 11 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.56-1
bae89a
- Allow container_runtime_t to transition to spc_t over unlabeled files
bae89a
bae89a
* Mon Mar 26 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.55-1
bae89a
    Allow iptables to read container state
bae89a
    Dontaudit attempts from containers to write to /proc/self
bae89a
    Allow spc_t to change attributes on container_runtime_t fifo files
bae89a
bae89a
* Thu Mar 8 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.52-1
bae89a
- Add better support for writing custom selinux policy for customer container domains.
bae89a
bae89a
* Thu Mar 8 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.51-1
bae89a
- Allow shell_exec_t as a container_runtime_t entrypoint
bae89a
bae89a
* Wed Mar 7 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.50-1
bae89a
- Allow bin_t as a container_runtime_t entrypoint
bae89a
bae89a
* Fri Mar 2 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.49-1
bae89a
- Add support for MLS running container runtimes
bae89a
- Add missing allow rules for running systemd in a container
bae89a
bae89a
* Wed Feb 21 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.48-1
bae89a
- Update policy to match master branch
bae89a
- Remove typebounds and replace with nnp_transition and nosuid_transition calls
bae89a
bae89a
* Tue Jan 9 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.41-1
bae89a
- Add support to nnp_transition for container domains
bae89a
- Eliminates need for typebounds.
bae89a
bae89a
* Tue Jan 9 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.40-1
bae89a
- Allow container_runtime_t to use user ttys
bae89a
- Fixes bounds check for container_t
bae89a
bae89a
* Mon Jan 8 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.39-1
bae89a
- Allow container runtimes to use interited terminals.  This helps
bae89a
satisfy the bounds check of container_t versus container_runtime_t.
bae89a
bae89a
* Sat Jan 6 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.38-1
bae89a
- Allow container runtimes to mmap container_file_t devices
bae89a
- Add labeling for rhel push plugin
bae89a
bae89a
* Tue Dec 12 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.37-1
bae89a
- Allow containers to use inherited ttys
bae89a
- Allow ostree to handle labels under /var/lib/containers/ostree
bae89a
bae89a
* Mon Nov 27 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.36-1
bae89a
- Allow containers to relabelto/from all file types to container_file_t
bae89a
bae89a
* Mon Nov 27 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.35-1
bae89a
- Allow container to map chr_files labeled container_file_t
bae89a
bae89a
* Wed Nov 22 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.34-1
bae89a
- Dontaudit container processes getattr on kernel file systems
bae89a
bae89a
* Sun Nov 19 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.33-1
bae89a
- Allow containers to read /etc/resolv.conf and /etc/hosts if volume
bae89a
- mounted into container.
bae89a
bae89a
* Wed Nov 8 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.32-1
bae89a
- Make sure users creating content in /var/lib with right labels
bae89a
bae89a
* Thu Oct 26 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.31-1
bae89a
- Allow the container runtime to dbus chat with dnsmasq
bae89a
- add dontaudit rules for container trying to write to /proc
bae89a
bae89a
* Tue Oct 10 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.29-1
bae89a
- Add support for lxcd
bae89a
- Add support for labeling of tmpfs storage created within a container.
bae89a
bae89a
* Mon Oct 9 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.28-1
bae89a
- Allow a container to umount a container_file_t filesystem
bae89a
bae89a
* Fri Sep 22 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.27-1
bae89a
-  Allow container runtimes to work with the netfilter sockets
bae89a
-  Allow container_file_t to be an entrypoint for VM's
bae89a
-  Allow spc_t domains to transition to svirt_t
bae89a
bae89a
* Fri Sep 22 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.24-1
bae89a
-     Make sure container_runtime_t has all access of container_t
bae89a
bae89a
* Thu Sep 7 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.23-1
bae89a
- Allow container runtimes to create sockets in tmp dirs
bae89a
bae89a
* Tue Sep 5 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.22-1
bae89a
- Add additonal support for crio labeling.
bae89a
bae89a
* Mon Aug 14 2017 Troy Dawson <tdawson@redhat.com> - 2.21-3
bae89a
- Fixup spec file conditionals
bae89a
bae89a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.21-2
bae89a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bae89a
bae89a
* Thu Jul 6 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.21-1
bae89a
- Allow containers to execmod on container_share_t files.
bae89a
bae89a
* Thu Jul 6 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.20-2
bae89a
- Relabel runc and crio executables
bae89a
bae89a
* Fri Jun 30 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.20-1
bae89a
- Allow container processes to getsession
bae89a
bae89a
* Wed Jun 14 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.19-2.1
bae89a
- update release tag to isolate from 7.3
bae89a
bae89a
* Wed Jun 14 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:2.19-1
bae89a
- Fix mcs transition problem on stdin/stdout/stderr
bae89a
- Add labels for CRI-O
bae89a
- Allow containers to use tunnel sockets
bae89a
bae89a
* Tue Jun 06 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.15-1.1
bae89a
- Resolves: #1451289
bae89a
- rebase to v2.15
bae89a
- built @origin/RHEL-1.12 commit 583ca40
bae89a
bae89a
* Mon Mar 20 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:2.10-2.1
bae89a
- Make sure we have a late enough version of policycoreutils
bae89a
bae89a
* Mon Mar 6 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:2.10-1
bae89a
- Update to the latest container-selinux patch from upstream
bae89a
- Label files under /usr/libexec/lxc as container_runtime_exec_t
bae89a
- Give container_t access to XFRM sockets
bae89a
- Allow spc_t to dbus chat with init system
bae89a
- Allow containers to read cgroup configuration mounted into a container
bae89a
bae89a
* Tue Feb 21 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.9-4
bae89a
- Resolves: #1425574
bae89a
- built commit 79a6d70
bae89a
bae89a
* Mon Feb 20 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.9-3
bae89a
- Resolves: #1420591
bae89a
- built @origin/RHEL-1.12 commit 8f876c4
bae89a
bae89a
* Mon Feb 13 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.9-2
bae89a
- built @origin/RHEL-1.12 commit 33cb78b
bae89a
bae89a
* Fri Feb 10 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.8-2
bae89a
-
bae89a
bae89a
* Tue Feb 07 2017 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.7-1
bae89a
- built origin/RHEL-1.12 commit 21dd37b
bae89a
bae89a
* Fri Jan 20 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.4-2
bae89a
- correct version-release in changelog entries
bae89a
bae89a
* Thu Jan 19 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:2.4-1
bae89a
- Add typebounds statement for container_t from container_runtime_t
bae89a
- We should only label runc not runc*
bae89a
bae89a
* Tue Jan 17 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:2.3-1
bae89a
- Fix labeling on /usr/bin/runc.*
bae89a
- Add sandbox_net_domain access to container.te
bae89a
- Remove containers ability to look at /etc content
bae89a
bae89a
* Wed Jan 11 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.2-4
bae89a
- use upstream's RHEL-1.12 branch, commit 56c32da for CentOS 7
bae89a
bae89a
* Tue Jan 10 2017 Jonathan Lebon <jlebon@redhat.com> - 2:2.2-3
bae89a
- properly disable docker module in %%post
bae89a
bae89a
* Sat Jan 07 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.2-2
bae89a
- depend on selinux-policy-targeted
bae89a
- relabel docker-latest* files as well
bae89a
bae89a
* Fri Jan 06 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.2-1
bae89a
- bump to v2.2
bae89a
- additional labeling for ocid
bae89a
bae89a
* Fri Jan 06 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0-2
bae89a
- install policy at level 200
bae89a
- From: Dan Walsh <dwalsh@redhat.com>
bae89a
bae89a
* Fri Jan 06 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0-1
bae89a
- Resolves: #1406517 - bump to v2.0 (first upload to Fedora as a
bae89a
standalone package)
bae89a
- include projectatomic/RHEL-1.12 branch commit for building on centos/rhel
bae89a
bae89a
* Mon Dec 19 2016 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:1.12.4-29
bae89a
- new package (separated from docker)