rc-scripts/trunk/rc.d/rc.sysinit

glen cvs at pld-linux.org
Fri Feb 10 20:39:28 CET 2006


Author: glen
Date: Fri Feb 10 20:39:27 2006
New Revision: 6962

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
No SELinux labels for vserver

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Fri Feb 10 20:39:27 2006
@@ -370,13 +370,13 @@
 	if [ "$_RUN_QUOTACHECK" = "1" -a -x /sbin/quotacheck ]; then
 		run_cmd "Checking root filesystem quotas" /sbin/quotacheck -vnug /
 	fi
-fi
 
-# Clean up SELinux labels
-if [ -n "$SELINUX" ]; then
-	for file in /etc/mtab /etc/cryptomtab /etc/ld.so.cache ; do
-		[ -r $file ] && restorecon $file >/dev/null 2>&1
-	done
+	# Clean up SELinux labels
+	if [ -n "$SELINUX" ]; then
+		for file in /etc/mtab /etc/cryptomtab /etc/ld.so.cache ; do
+			[ -r $file ] && restorecon $file >/dev/null 2>&1
+		done
+	fi
 fi
 
 # Remove stale backups


More information about the pld-cvs-commit mailing list