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