Red Hat Bugzilla – Bug 51044
login is (still) broken, console logins have no controlling tty
Last modified: 2005-10-31 17:00:50 EST
Description of Problem:
^C, ^\ etc. fail to work on console login.
vlock fails with "vlock: could not open /dev/tty: No such device or
Log in at console, and try any of the above :o)
Steps to Reproduce:
1. Log in at the console
2. Run any command e.g. make, then try to interrupt it, or
3. try to run "vlock"
Pressing ^C fails to interrupt make; vlock fails with the above error
Make should quit with an "interrupted" message; vlock should lock the
console, vlock -a should also prevent VT switching.
Appears to be related to code in login to do a "TIOCNOTTY" ioctl in the
We (Red Hat) really need to fix this defect before next release.
Yes, but I think it needs feeding back to the util-linux maintainer, Andries
I could do that, but I suspect you guys know more about the cause of / fix for
this than I do.
glen wasn't making any comment about feeding patches upstream, just making sure
someone does something about the bug.
I can't reproduce the problem. mingetty-0.9.4-18, SysVinit-2.78-18,
Can you tell me what 'ls -l /dev/tty `tty`' looks like on one of these logins?
Also the output of 'stty' and 'echo $TERM'? Thanks.
[bill@billc bill]$ ls -l /dev/tty `tty`
crw-rw-rw- 1 root root 5, 0 Jul 18 16:58 /dev/tty
crw--w---- 1 bill tty 4, 2 Aug 7 18:53 /dev/tty2
[bill@billc bill]$ tty
[bill@billc bill]$ vlock
vlock: could not open /dev/tty: No such device or address
It was the vlock problem that originally alerted me. The ^C issue is the
symptom that was originally reported to you.
As far as package versions go, I upgraded on top of Raw Hide from July 13th, but
seem to have roughly the same:
[bill@billc bill]$ rpm -q mingetty SysVinit util-linux
I guess it may have been fixed between the -5 and -8 releases :o)
Is it possible to update Raw Hide a bit faster at times like this?
Sorry, missed a piece:
[bill@billc bill]$ stty
speed 38400 baud; line = 0;
[bill@billc bill]$ echo $TERM
But it sounds like your internal version may have solved the problem by now.
Does "vlock" work for you when you log in to a console?
Try updating your util-linux for sure, I'll try getting a rawhide push RSN.
*** Bug 51212 has been marked as a duplicate of this bug. ***
Seems to be fixed in the latest Raw Hide push, actually.
As far as I'm concerned this can be closed now.
*** Bug 52051 has been marked as a duplicate of this bug. ***
Appears to be fixed here as well. Closing.