diff --git a/elements/rpm-distro/finalise.d/11-selinux-fixfiles-restore b/elements/rpm-distro/finalise.d/11-selinux-fixfiles-restore index ed094742a..d4cc74453 100755 --- a/elements/rpm-distro/finalise.d/11-selinux-fixfiles-restore +++ b/elements/rpm-distro/finalise.d/11-selinux-fixfiles-restore @@ -10,10 +10,6 @@ if [ "$CONFIGURED_SELINUX" == "enforcing" ]; then # instead of the sshd_t domain, making ssh connections fail with # "Unable to get valid context for " error message setfiles /etc/selinux/targeted/contexts/files/file_contexts / - FIXFILES_LOG=$(mktemp) - fixfiles -l $FIXFILES_LOG restore - cat $FIXFILES_LOG - rm $FIXFILES_LOG else echo "Skipping SELinux relabel, since it is not Enforcing." echo "To relabel once the image is running, use:"