Red Hat Bugzilla – Bug 89115
agetty crashes on serial consoles
Last modified: 2007-04-18 12:53:08 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)
Description of problem:
I recently did a fresh install of RH 9 on a server that had previously been
running RH 7.3. This machine redirects to a serial console on ttyS0 from grub
RH9 kindly put an entry in my inittab to give me a console on the serial
console. While it does print the login banner correctly, whenever agetty gets
its first byte of input from the serial port, it dies.
An strace looks like:
read(0, "", 1) = 0
--- SIGHUP (Hangup) @ 0 (0) ---
gdb backtrace is:
#0 0xffffe002 in ?? ()
#1 0x08049224 in alarm ()
#2 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
Not very useful, I know.
The serial console worked fine under 7.3, where I was using agetty as well.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install RH9.0 via serial console
2.Try to login via serial console
3.agetty dies and eventually loops
Will mgetty work?
mgetty works fine.
Apologies for taking so long to wrap this bug up. I'll remove agetty
from the dist and suggest mgetty as the replacement.
Well, removing agetty is a pain, so it's back in for now - sorry about
the direction change. I haven't seen other recent reports of problems
like this one, and agetty is in fairly wide use, so I guess the first
priority is finding a portable way to reproduce the problem.
I have a bunch of systems with agetty working. They're all newer than