Red Hat Bugzilla – Bug 973501
util-linux: agetty stuck in a loop in get_logname
Last modified: 2013-06-12 15:07:39 EDT
Description of problem:
I have a freshly installed system where agetty is stuck in a loop in get_logname, in the while loop starting at line 1437 in term-utils/agetty.c.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot the machine.
2. Attach strace to an agetty process (or watch CPU usage using top).
agetty consume CPU and strace shows nanosleep and read system calls.
agetty sleeps, and strace shows no output.
This is a fresh, minimal installation on real hardware. I did not configure anything fancy, such as a serial console. It's a fairly slow machine, so perhaps the issue is not as visible on faster hardware.
*** This bug has been marked as a duplicate of bug 972457 ***