Dan Kenigsberg has uploaded a new change for review. Change subject: fix the premature selinux dependency fix ......................................................................
fix the premature selinux dependency fix Commit 68d44c613 explaind why fixing the selinux-policy dependency is important but it actually did not include the semanage code that it has promised. That's happened, most probably, by a cherry-picking from the ovirt-3.3 branch. Change-Id: I627deb840d2351b48c19eb7d17f26f9ba9f54566 Signed-off-by: Dan Kenigsberg <dan...@redhat.com> --- M vdsm.spec.in 1 file changed, 6 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/84/21284/1 diff --git a/vdsm.spec.in b/vdsm.spec.in index ad4260a..17b77e8 100644 --- a/vdsm.spec.in +++ b/vdsm.spec.in @@ -161,7 +161,7 @@ Requires: policycoreutils >= 2.0.83-19.30 Requires: policycoreutils-python >= 2.0.83-19.30 Requires: python-pthreading -Requires: selinux-policy-targeted >= 3.7.19-195.el6.13 +Requires: selinux-policy-targeted >= 3.7.19-155 Requires: lvm2 >= 2.02.95-10.el6_3.2 Requires: logrotate < 3.8.0 %endif @@ -653,6 +653,11 @@ if [ "$1" -eq 1 ] ; then /sbin/chkconfig --add vdsmd /sbin/chkconfig --add supervdsmd + + # drop this ugly hack when selinux-policy-3.7.19-195.el6.13 is released + /usr/sbin/semanage fcontext -a -s system_u -t virt_var_run_t -r s0 \ + '/var/run/vdsm(/.*)?' + /sbin/restorecon /var/run/vdsm fi %else %if 0%{?with_systemd} -- To view, visit http://gerrit.ovirt.org/21284 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I627deb840d2351b48c19eb7d17f26f9ba9f54566 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Dan Kenigsberg <dan...@redhat.com> _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches