Public bug reported:

Problem Description
============================
console access is lost if #init 3 ; is run from #init 1 ; 
 
---uname output---
 4.2.0-30-generic #35~14.04.1-Ubuntu SMP Fri Feb 19 15:23:48 UTC 2016 ppc64le 
ppc64le ppc64le GNU/Linux
 
Machine Type = 8247-22L 
 
Steps to Reproduce
====================================
login to console of ubuntu 14.04.4 system (either on bare-metal or PowerVM 
based lpar ) , use ipmitool console for bare-metal, use mkvterm console from 
hmc for PowerVM based lpar.
#runlevel ; to check the current default run level
#init 1;
#init 3; or ; #exit 

Console access is lost [hung]  cannot regain the console, only solution
is reboot of the server.

=========console logs=======
root@ltcbrazos2-lp18:~# init 1
root@ltcbrazos2-lp18:~# Skip stopping firewall: ufw (not enabled)
wait-for-state stop/waiting
 * Stopping rsync daemon rsync                                           [ OK ] 
                                                                         [ OK ]
 * Killing all remaining processes...                                    [fail] 
 * Will now switch to single-user mode
Give root password for maintenance
(or type Control-D to continue): 
root@ltcbrazos2-lp18:~# 
root@ltcbrazos2-lp18:~# 
root@ltcbrazos2-lp18:~# runlevel 
1 S
root@ltcbrazos2-lp18:~# init 3
root@ltcbrazos2-lp18:~# exit
 * Restoring resolver state...                                           [ OK ] 


===========================
Console is hung indefinitely, no login prompt is offered 
===========================
Please note the system successfully goes to #init 3 ; 
network comes back, SSH works, but cannot access the system via any console.
 
Userspace rpm: upstart

== Comment: #2 - NAVEED A. UPPINANGADY SALIH <[email protected]> - 
2016-02-26 07:28:47 ==
(In reply to comment #1)
> Hi Naveed, 
> 
> Can you please check for 'who -r' once you switch to runlevel 3 ? 
> What is the intention of the exit command here ? Is it for you to terminate
> your session ? Is the terminal available for you to execute other commands
> as well or does it hang at that stage as well? 
> 
> Thank you.

you can access the system via terminal using ssh even though console is not 
accessible
==========
root@ltcbrazos2-lp18:~# who -r
         run-level 3  2016-02-26 07:14                   last=S
==========

I think "exit" or "init 3" either of the command does same from runlevel 1 ?
Correct me if I am wrong.

from ssh session if "init 6" or "init 1" is issued again, we are able to
access the  console again.

** Affects: ubuntu
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-137818 severity-medium 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-137818 severity-medium
targetmilestone-inin---

** Changed in: ubuntu
     Assignee: (unassigned) => Taco Screen team (taco-screen-team)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1557990

Title:
  [upstart] console access of the server is lost when trying to change
  runlevel 3  from runlevel 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1557990/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to