Bug 89115 - agetty crashes on serial consoles
Summary: agetty crashes on serial consoles
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: util-linux
Version: 9
Hardware: athlon
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-04-17 19:28 UTC by Need Real Name
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-12-02 20:25:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2003-04-17 19:28:08 UTC
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 
onward.

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):
util-linux- 2.11y

How reproducible:
Always

Steps to Reproduce:
1.Install RH9.0 via serial console
2.Try to login via serial console
3.agetty dies and eventually loops
    

Additional info:

Comment 1 Elliot Lee 2003-05-16 20:12:06 UTC
Will mgetty work?

Comment 2 Need Real Name 2003-05-16 20:27:40 UTC
mgetty works fine.

Comment 3 Elliot Lee 2004-07-28 21:07:00 UTC
Apologies for taking so long to wrap this bug up. I'll remove agetty
from the dist and suggest mgetty as the replacement.

Comment 4 Elliot Lee 2004-08-31 22:23:16 UTC
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.
Ideas/comments?

Comment 5 Elliot Lee 2004-12-02 20:25:57 UTC
I have a bunch of systems with agetty working. They're all newer than
RHL 9.


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