Bug 973501 - util-linux: agetty stuck in a loop in get_logname
Summary: util-linux: agetty stuck in a loop in get_logname
Keywords:
Status: CLOSED DUPLICATE of bug 972457
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-12 04:53 UTC by Florian Weimer
Modified: 2013-06-12 19:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-12 19:07:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2013-06-12 04:53:37 UTC
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):

util-linux-2.23.1-2.fc19.x86_64

How reproducible:

Always.

Steps to Reproduce:
1. Boot the machine.
2. Attach strace to an agetty process (or watch CPU usage using top).

Actual results:

agetty consume CPU and strace shows nanosleep and read system calls.

Expected results:

agetty sleeps, and strace shows no output.

Additional info:

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.

Comment 1 Karel Zak 2013-06-12 19:07:39 UTC

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


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