aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-03-28 20:29:11 +0000
committerBill Nottingham <notting@redhat.com>2005-03-28 20:29:11 +0000
commitf5e26e28b1e050df4ffa1ac3a1382424a3ae14d1 (patch)
tree9de691f02ad053407729afcf7a2c10aece8fe2fa
parentce450b4f261401e713bd824ecd71f868d4739805 (diff)
downloadinitscripts-f5e26e28b1e050df4ffa1ac3a1382424a3ae14d1.tar
initscripts-f5e26e28b1e050df4ffa1ac3a1382424a3ae14d1.tar.gz
initscripts-f5e26e28b1e050df4ffa1ac3a1382424a3ae14d1.tar.bz2
initscripts-f5e26e28b1e050df4ffa1ac3a1382424a3ae14d1.tar.xz
initscripts-f5e26e28b1e050df4ffa1ac3a1382424a3ae14d1.zip
add a restorecon for tmpfs use
-rwxr-xr-xrc.d/rc.sysinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 31e6e355..6b067a4c 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -593,6 +593,7 @@ if [ -n "$_NEED_XFILES" ]; then
fi
# Clean up various /tmp bits
+restorecon /tmp
rm -f /tmp/.X*-lock /tmp/.lock.* /tmp/.gdm_socket /tmp/.s.PGSQL.*
rm -rf /tmp/.X*-unix /tmp/.ICE-unix /tmp/.font-unix /tmp/hsperfdata_* \
/tmp/kde-* /tmp/ksocket-* /tmp/mc-* /tmp/mcop-* /tmp/orbit-* \