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