Allow containers to read /etc/resolv.conf and /etc/hosts if volume

mounted into container.
This commit is contained in:
Daniel J Walsh 2017-11-19 11:41:27 +00:00
parent be0a39a792
commit cc32bab0b3
3 changed files with 8 additions and 3 deletions

1
.gitignore vendored
View File

@ -24,3 +24,4 @@
/container-selinux-0620186.tar.gz
/container-selinux-47e0448.tar.gz
/container-selinux-b430a71.tar.gz
/container-selinux-0b666c4.tar.gz

View File

@ -3,7 +3,7 @@
# container-selinux
%global git0 https://github.com/projectatomic/container-selinux
%if 0%{?fedora} || 0%{?rhel} > 7
%global commit0 b430a71a44ce80364ff3ef95fa8134afb35d667e
%global commit0 0b666c4f1422d60dde6ffac69a919872385e289d
%else
# use upstream's RHEL-1.12 branch for CentOS 7
%global commit0 56c32da8a72f9e7af5daeaebac5b887830d123b1
@ -35,7 +35,7 @@ Name: container-selinux
%if 0%{?fedora} || 0%{?centos} || 0%{?rhel} > 7
Epoch: 2
%endif
Version: 2.32
Version: 2.33
Release: 1%{?dist}
License: GPLv2
URL: %{git0}
@ -118,6 +118,10 @@ fi
%{_datadir}/selinux/*
%changelog
* Sun Nov 19 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.33-1
- Allow containers to read /etc/resolv.conf and /etc/hosts if volume
- mounted into container.
* Wed Nov 8 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.32-1
- Make sure users creating content in /var/lib with right labels

View File

@ -1 +1 @@
SHA512 (container-selinux-b430a71.tar.gz) = 7b89826e64c26bc57b86345dc482bca56d12ab730e9965b53802e97ed572b169aea3daf89d4f50b88ffa3878da157e6165dd2294d537e59fe97fafed9db141dc
SHA512 (container-selinux-0b666c4.tar.gz) = 46833377d09ecd57d743f2277b225b6b381c55ac0b6f2331bc455f9e51cdd55774703d854735d98f9f4db54e0db7e14e29e4fb0229afd554cbe9efbd026bf20d