From 9e9bfa81b6c7176090d908e054266fca0c6f2e77 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 14 Mar 2006 22:43:49 +0000 Subject: set context on /dev/pts (#185436) --- rc.d/rc.sysinit | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rc.d') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 308dd3e8..e55425d3 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -178,10 +178,14 @@ if [ -f /etc/rc.modules ]; then /etc/rc.modules fi +# Network goo. + + # Start the graphical boot, if necessary; /usr may not be mounted yet, so we # may have to do this again after mounting RHGB_STARTED=0 mount -n /dev/pts >/dev/null 2>&1 +[ -n "$SELINUX_STATE" ] && restorecon /dev/pts >/dev/null 2>&1 if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then LC_MESSAGES= /usr/bin/rhgb -- cgit v1.2.1