Merge "Systemd+selinux vs iptables on centos7, round 2"

This commit is contained in:
Jenkins 2015-09-18 04:53:29 +00:00 committed by Gerrit Code Review
commit 9f1fd50e3e

View File

@ -55,8 +55,9 @@ function is_opensuse {
function _systemd_update { function _systemd_update {
# there is a bug (rhbz#1261747) where systemd can fail to enable # there is a bug (rhbz#1261747) where systemd can fail to enable
# services due to selinux errors after upgrade. A work-around is # services due to selinux errors after upgrade. A work-around is
# to install the latest version here and restart the daemon after # to install the latest version of selinux and systemd here and
# it is upgraded. # restart the daemon for good measure after it is upgraded.
yum install -y selinux-policy
yum install -y systemd yum install -y systemd
systemctl daemon-reload systemctl daemon-reload
} }