Don't allow containers to talk to contianer runtime sockets
This commit is contained in:
parent
d4eda46462
commit
a562ce586f
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# container-selinux
|
# container-selinux
|
||||||
%global git0 https://github.com/projectatomic/container-selinux
|
%global git0 https://github.com/projectatomic/container-selinux
|
||||||
%global commit0 6f01752858c0ee79dddf0e4c1bf845fb35d9eaf6
|
%global commit0 1b655d9aae4ec9859101b87d693566531b3dc4ff
|
||||||
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
||||||
|
|
||||||
# container-selinux stuff (prefix with ds_ for version/release etc.)
|
# container-selinux stuff (prefix with ds_ for version/release etc.)
|
||||||
@ -26,7 +26,7 @@ Name: container-selinux
|
|||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
%endif
|
%endif
|
||||||
Version: 2.79
|
Version: 2.80
|
||||||
Release: 1.git%{shortcommit0}%{?dist}
|
Release: 1.git%{shortcommit0}%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: %{git0}
|
URL: %{git0}
|
||||||
@ -73,7 +73,7 @@ rm -rf container-selinux.spec
|
|||||||
%post
|
%post
|
||||||
# Install all modules in a single transaction
|
# Install all modules in a single transaction
|
||||||
if [ $1 -eq 1 ]; then
|
if [ $1 -eq 1 ]; then
|
||||||
%{_sbindir}/setsebool -P -N virt_use_nfs=1 virt_sandbox_use_all_caps=1
|
%{_sbindir}/setsebool -P -N virt_use_nfs=1 virt_sandbox_use_all_caps=1
|
||||||
fi
|
fi
|
||||||
%_format MODULES %{_datadir}/selinux/packages/$x.pp.bz2
|
%_format MODULES %{_datadir}/selinux/packages/$x.pp.bz2
|
||||||
%{_sbindir}/semodule -n -s %{selinuxtype} -r container 2> /dev/null
|
%{_sbindir}/semodule -n -s %{selinuxtype} -r container 2> /dev/null
|
||||||
@ -109,6 +109,9 @@ fi
|
|||||||
%{_datadir}/selinux/*
|
%{_datadir}/selinux/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 22 2019 Dan Walsh <dwalsh@fedoraproject.org> - 2.80-1
|
||||||
|
- Don't allow containers to talk to contianer runtime sockets
|
||||||
|
|
||||||
* Fri Jan 11 2019 Dan Walsh <dwalsh@fedoraproject.org> - 2.79-1
|
* Fri Jan 11 2019 Dan Walsh <dwalsh@fedoraproject.org> - 2.79-1
|
||||||
- Fix labeling on /var/lib/registries
|
- Fix labeling on /var/lib/registries
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user