[master 1/1] Do not log Xorg output to tty5

dashea installerbot-noreply at redhat.com
Wed Jun 10 17:30:53 UTC 2015


From: David Shea <dshea at redhat.com>

Xorg already logs to /tmp/X.log anyway so just ignore stdout and stderr.
---
 anaconda | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/anaconda b/anaconda
index e303c3b..6c3fb56 100755
--- a/anaconda
+++ b/anaconda
@@ -119,8 +119,8 @@ def startSpiceVDAgent():
         log.info("Started spice-vdagent.")
 
 def startX11():
-    # Open /dev/tty5 for stdout and stderr redirects
-    xfd = open("/dev/tty5", "wb")
+    # Ignore stdout/stderr, since everything is logged to /tmp/X.log anyway
+    xfd = open("/dev/null", "wb")
 
     # Start Xorg and wait for it become ready
     iutil.startX(["Xorg", "-br", "-logfile", "/tmp/X.log",


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/fe263bffd68633ae50f410538fd669c793337f81


More information about the anaconda-patches mailing list