From 84a6d143ac94dac59c56fb6ac1b9f42e93ad2ca7 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Fri, 6 Jun 2008 10:55:55 +0200 Subject: [PATCH] Ensure that tmpfs dirs are labeled correctly --- fedora-live-base.ks | 1 + 1 file changed, 1 insertion(+) diff --git a/fedora-live-base.ks b/fedora-live-base.ks index b6bc679..bf859ae 100644 --- a/fedora-live-base.ks +++ b/fedora-live-base.ks @@ -159,6 +159,7 @@ chkconfig --level 345 readahead_later off 2>/dev/null mount -t tmpfs varcacheyum /var/cache/yum mount -t tmpfs tmp /tmp mount -t tmpfs vartmp /var/tmp +[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /tmp /var/tmp >/dev/null 2>&1 # Stopgap fix for RH #217966; should be fixed in HAL instead touch /media/.hal-mtab