[node-patches] Change in ovirt-node[master]: Job control in emergency shell - BZ753315

rbarry at redhat.com rbarry at redhat.com
Wed Feb 13 15:31:25 UTC 2013


Ryan Barry has uploaded a new change for review.

Change subject: Job control in emergency shell - BZ753315
......................................................................

Job control in emergency shell - BZ753315

Signed-off-by: Ryan Barry <rbarry at redhat.com>

Job control not working due to bash subprocess.  Replace bash call with openvt

Change-Id: Idcb0ef9053d43b26645c6e4c6dcc6108a1e7916c
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M scripts/ovirt-init-functions.sh
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/29/12029/1

diff --git a/scripts/ovirt-init-functions.sh b/scripts/ovirt-init-functions.sh
index 24139c6..81109e1 100644
--- a/scripts/ovirt-init-functions.sh
+++ b/scripts/ovirt-init-functions.sh
@@ -878,7 +878,8 @@
         log "Rescue mode requested, starting emergency shell"
         stop_log
         plymouth --hide-splash
-        bash < /dev/console > /dev/console 2> /dev/console
+        echo "Rescue mode requested, starting emergency shell" > /dev/tty1
+        openvt -f -c 1 -w -s -l -- bash
         plymouth --show-splash
         start_log
     fi


--
To view, visit http://gerrit.ovirt.org/12029
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idcb0ef9053d43b26645c6e4c6dcc6108a1e7916c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list