|
From: Heiko Z. <he...@zu...> - 2006-03-21 12:49:21
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, March 21, 2006 00:15, Her...@sp... wrote: > > > dev...@li... wrote on 21.03.2006 > 02:13:13: > > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> >> >> On Mon, March 20, 2006 10:17, Heiko Zuerker wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> >>> >>> >>> On Mon, March 20, 2006 09:05, Her...@sp... wrote: >>> >>> >>>> >>> >>>> Hi All >>>> >>>> >>>> >>>> >>>> I have a problem with the last loging info screwing up: >>>> >>>> >>>> >>>> >>>> Wehn I login the system shows me information about the last login, >>>> but for some reason the login device info is screwed up. I have >>>> tried to delete the /var/log/wtmp file, but it didn't help. Here is >>>> a sample output of last: >>>> >>>> root tty1 Mon Mar 20 15:27 still >>>> logged in root *e>4H******O Mon Mar 20 15:27 >>>> still logged in reboot system boot 2.4.32-grsec Mon Mar 20 >>>> 15:27 >>>> > (00:01) > >>>> >>>> >>>> >>>> wtmp begins Mon Mar 20 15:27:03 2006 >>>> >>>> >>>> Unfortunately, this output seems to include control characters and >>>> sometimes this screws up the whole console. >>>> >>>> I'm running the test version of 1.2.10 >>>> >>>> >>> >>> I can't access my 1.2.10 system from here, I'll take a look at it >>> when > I > >>> get home. One change I did was turning off the support for > /var/log/btmp > >>> for openssh. Try deleting the btmp, maybe that helps. >> >> I checked it on my 1.2.10-pre system and the last command works fine. >> Try deleting the btmp file. >> > > If I access the system over ssh it works fine, but not on the local > console. (Physicaly attached keyboard and screen) That's the way I tried it too. > I have also tried to delete the btmp file. Weird. Can you compare your 1.2.10-pre release with the one which is currently on the FTP server ? Maybe it's an older one. If that all doesn't help, it's probably time to run the last command via strace, to see where it load that stuff from. - -- Regards Heiko Zuerker http://www.devil-linux.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iEYEARECAAYFAkQf9kQACgkQUcytMSbs+YVT+ACdFiGeh1VeW0h4nrP2bYkZRbo6 1kkAnReGxUtxryGDIT5IwOJRv3f13dGS =j7tN -----END PGP SIGNATURE----- |