Is there any reason for keeping lines 75 - 85 of /etc/rc.d/rc.sysinit
(from initscripts-8.11.1-1)? The reason I ask is that these ten lines
are causing AVC denial messages when using Dan Walsh's MLS policy and as
far as I can tell these lines don't do anything useful. In my limited
testing removing these lines from rc.sysinit has not caused any problems
- am I missing something?
--- rc.sysinit.orig-06082005 2005-07-08 14:42:39.000000000 -0400
+++ rc.sysinit 2005-07-08 15:09:02.000000000 -0400
@@ -70,20 +70,6 @@ relabel_selinux() {
fi
}
-
-
-if [ "$HOSTTYPE" != "s390" -a "$HOSTTYPE" != "s390x" ]; then
- last=0
- for i in `LC_ALL=C grep '^[0-9].*respawn:/sbin/mingetty' /etc/inittab
| sed 's/^.* tty\([0-9][0-9]*\).*/\1/g'`; do
- > /dev/tty$i
- last=$i
- done
- if [ $last -gt 0 ]; then
- > /dev/tty$((last+1))
- > /dev/tty$((last+2))
- fi
-fi
-
if [ "$CONSOLETYPE" = "vt" -a -x /sbin/setsysfont ]; then
echo -n "Setting default font ($SYSFONT): "
/sbin/setsysfont
--
. paul moore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. paul.moore@xxxxxx hewlett packard
. (603) 884-5056 linux security
--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-selinux-list