aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-09-23 18:26:49 +0000
committerBill Nottingham <notting@redhat.com>2004-09-23 18:26:49 +0000
commit0039091ba631e1ec490d2435a4f60a4540e017c0 (patch)
tree10d768d020e37b9755c756382e479c2d1ba58899
parent6654bdb2c20fffac9c4a0310857a5d6782389139 (diff)
downloadinitscripts-0039091ba631e1ec490d2435a4f60a4540e017c0.tar
initscripts-0039091ba631e1ec490d2435a4f60a4540e017c0.tar.gz
initscripts-0039091ba631e1ec490d2435a4f60a4540e017c0.tar.bz2
initscripts-0039091ba631e1ec490d2435a4f60a4540e017c0.tar.xz
initscripts-0039091ba631e1ec490d2435a4f60a4540e017c0.zip
fix restorecon
-rwxr-xr-xrc.d/rc.sysinit3
1 files changed, 1 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 5e0f74e7..b2599bb8 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -42,8 +42,7 @@ if [ -n "$selinuxfs" ] && [ "`cat /proc/self/attr/current`" != "kernel" ]; then
fi
if [ -x /sbin/restorecon ] && fgrep -q " /dev " /proc/mounts ; then
- /sbin/restorecon /dev /dev/null
- /sbin/restorecon /dev/* 2> /dev/null
+ /sbin/restorecon /dev /dev/* /dev/.udev.tdb /dev/*/* 2> /dev/null
fi
disable_selinux() {