Description of problem: The login (from tty) record in /var/log/wtmp contains wrong IP&host information which seem to be copied from previous login (from pst, the same terminal number) record. Version-Release number of selected component (if applicable): SysVinit-2.78-19 How reproducible: always Steps to Reproduce: 1. telnet and login to the host, type "utmpdump /var/log/wtmp", the last record shows IP and host are correct: 2. If the telnet session uses terminal pst/#, go to vrtual terminal # (CTRL-ALT-F#) and login. (make sure both login sessions use the same terminal number. e.g. if the telnet session uses pst/2, the virtual terminal login session should use tty2) 3. type "utmpdump /var/log/wtmp" again, the last record (from virtual terminal) is wrong (the IP/host is copied from the previous record): Actual results: [7] [05162] [2 ] [mammo ] [pts/2 ] [fake.r2mfg ] [10.0.1.10 ] [Thu Jul 10 00:37:56 2003 PDT] [7] [05160] [2 ] [yfan ] [tty2 ] [fake.r2mfg ] [10.0.1.10 ] [Thu Jul 10 00:38:05 2003 PDT] Expected results: [7] [05162] [2 ] [mammo ] [pts/2 ] [fake.r2mfg ] [10.0.1.10 ] [Thu Jul 10 00:37:56 2003 PDT] [7] [05160] [2 ] [yfan ] [tty2 ] [ ] [0.0.0.0 ] [Thu Jul 10 00:38:05 2003 PDT] Additional info: Because of this, the results from commands "who -l", "last", "finger" are wrong. "who -l" even shows that "pst/2" is gone.
This bug may have the same root cause for bugs 43690, 98659, and 82540.
Closing out unresolved bugs on older, end-of-lifed releases. Apologies for any lack of response. Can't reproduce this on FC3.
It is surprising that that are so many bugs STILL UNRESOLVED related to SysVinit on the Bugzilla .. It is creating for some very embarassing situations for System Admin teams . I am surprised how Redhat can leave such an important bug unresolved and for so long.... and what this does to Redhat's reputation Pls have a bugfix on this asap ..
We are having Red Hat AS 2.1 at Ind-Telesoft, Bangalore, we are facing the same problem here & we are also extremely surprised that Red Hat has not fixed this bug so far. Please fix this bug & provide us the solution.
I notice that it's fixed in FC1. Apprently RedHat was aware of this issue and took an action in newer release since they're not goging to support legacy releases anymore. So you'd better upgrade to FC.