[selinux-policy: 1/4] Allow sshd to communicate with libvirt to set containers labels

Daniel J Walsh dwalsh at fedoraproject.org
Wed Mar 13 17:25:46 UTC 2013


commit 8af4eca3977704162b81302eeb223c8fb151f6b2
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Tue Mar 5 09:34:06 2013 -0500

    Allow sshd to communicate with libvirt to set containers labels

 selinux-policy.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/selinux-policy.spec b/selinux-policy.spec
index 835adda..45f4167 100644
--- a/selinux-policy.spec
+++ b/selinux-policy.spec
@@ -230,7 +230,7 @@ if [ $? = 0  -a "${SELINUXTYPE}" = %1 -a -f ${FILE_CONTEXT}.pre ]; then \
      rm -f ${FILE_CONTEXT}.pre; \
 fi; \
 /sbin/restorecon -e /run/media -R /root /var/log /var/run /etc/passwd* /etc/group* /etc/*shadow* 2> /dev/null; \
-/sbin/restorecon -R /home/*/.cache /home/*/.config 2> /dev/null
+/sbin/restorecon -R /home/*/.cache /home/*/.config 2> /dev/null;
 
 %define preInstall() \
 if [ $1 -ne 1 ] && [ -s /etc/selinux/config ]; then \


More information about the scm-commits mailing list