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