[PATCH] Update systemd config to prevent tty conflict (#681292)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The StandardInput=tty entry was preventing X from being started
from a tty other than tty1 when in runlevel 3.

Resolves: rhbz#681292
---
 init/firstboot                      |    3 +--
 systemd/firstboot-graphical.service |    1 -
 systemd/firstboot-text.service      |    1 -
 3 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/init/firstboot b/init/firstboot
index 7286b15..29cd9fb 100755
--- a/init/firstboot
+++ b/init/firstboot
@@ -73,8 +73,7 @@ case "$1" in
         if [ "$RETVAL" -eq 0 ]; then
             action "" /bin/true
             /sbin/chkconfig firstboot off
-            /bin/systemctl disable firstboot-graphical.service >/dev/null 2>&1
-            /bin/systemctl disable firstboot-text.service >/dev/null 2>&1
+            /bin/systemctl disable firstboot-graphical.service firstboot-text.service >/dev/null 2>&1
         else
             action "" /bin/false
         fi
diff --git a/systemd/firstboot-graphical.service b/systemd/firstboot-graphical.service
index f4d6934..58e6ea0 100644
--- a/systemd/firstboot-graphical.service
+++ b/systemd/firstboot-graphical.service
@@ -9,7 +9,6 @@ Environment=RUNLEVEL=5
 ExecStartPre=-/bin/plymouth quit
 ExecStart=/etc/init.d/firstboot start
 TimeoutSec=0
-StandardInput=tty
 RemainAfterExit=yes
 Type=oneshot
 
diff --git a/systemd/firstboot-text.service b/systemd/firstboot-text.service
index ee4beeb..6073155 100644
--- a/systemd/firstboot-text.service
+++ b/systemd/firstboot-text.service
@@ -7,7 +7,6 @@ Before=getty@xxxxxxxxxxxx
 Environment=RUNLEVEL=3
 ExecStart=/etc/init.d/firstboot start
 TimeoutSec=0
-StandardInput=tty
 RemainAfterExit=yes
 Type=oneshot
 SysVStartPriority=99
-- 
1.7.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux