Bug 478427 - mingetty doesn't release virtual terminal
Summary: mingetty doesn't release virtual terminal
Keywords:
Status: CLOSED DUPLICATE of bug 450488
Alias: None
Product: Fedora
Classification: Fedora
Component: upstart
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Casey Dahlin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-29 21:36 UTC by william hanlon
Modified: 2014-06-18 08:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-07 10:18:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description william hanlon 2008-12-29 21:36:32 UTC
Description of problem:
After terminating a shell run in a vt, the vt hangs and doesn't offer a new vt login.

Version-Release number of selected component (if applicable):
mingetty-1.08-2.fc9.i386 (this is only version I see available for Fedora 10).

How reproducible:
Intermittent. I've had short periods between reboots where it seems to work ok.

Steps to Reproduce:
1. Boot to runlevel 5.
2. Press Ctrl-Alt-F<N>, where N=2-6
3. login, do something like "ls", logout
  
Actual results:
The vt shows the results of your previous commands, but doesn't spawn a new tty session. 

Expected results:
The vt should clear and show a login prompt.

Additional info:
This eats up the available vts until none are left. After I've used two (tty2 and tty3) I see the following:

loki> ps -ef | grep tty
root      2301     1  0 Dec27 tty4     00:00:00 /sbin/mingetty tty4
root      2302     1  0 Dec27 tty5     00:00:00 /sbin/mingetty tty5
root      2305     1  0 Dec27 tty6     00:00:00 /sbin/mingetty tty6

I tried running mingetty by hand by I get the following error:
Dec 29 14:20:10 loki /sbin/mingetty[11463]: tty2: no controlling tty: Operation not permitted

Not sure if this is valid thing to try though.

If anyone has any suggestions on how to troubleshoot this bug, please offer some advice, since I don't know what else to try. I don;t have much knowledge of mingetty.

Comment 1 Roman Rakus 2009-01-05 11:57:43 UTC
This looks like mingetty ended right, but upstart event isn't respawned. What do you have in your /etc/event.d/tty2?

Comment 2 william hanlon 2009-01-06 17:29:05 UTC
The contents of /etc/event.d/tty2:

# tty2 - getty
#
# This service maintains a getty on tty2 from the point the system is
# started until it is shut down again.

start on stopped rc2
start on stopped rc3
start on stopped rc4
start on started prefdm

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

respawn
exec /sbin/mingetty tty2


I'm running in runlevel 5.

Comment 3 Casey Dahlin 2009-01-07 10:18:15 UTC

*** This bug has been marked as a duplicate of bug 450488 ***


Note You need to log in before you can comment on or make changes to this bug.