Allow sshd to communicate with libvirt to set containers labels

This commit is contained in:
Dan Walsh 2013-03-05 09:34:06 -05:00
parent 1be9b19a4f
commit 8af4eca397
1 changed files with 1 additions and 1 deletions

View File

@ -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 \