On Wed, 28 Jan 1998, Will Lowe wrote: > On Wed, 28 Jan 1998, Pedro Quaresma de Almeida wrote: > > > >> the answer it is > > >> bad data in /var/run/utmp > > >Have you upgraded to libc6? > > Yes. > > Point dselect at ftp.debian.org and make SURE you've upgraded all the base > and standard packages to their libc6 equivalents. Libc6 redefines some > basic types in utmp that the old versions of uptime, who, etc. can't > read.
The libc5 version in hamm is patched to address utmp and wtmp in a libc6-fashion. After upgrading to libc6, you must truncate utmp and wtmp by renaming them to ?tmp.libc5 and then "touch"ing new files like this: cd /var/log mv wtmp wtmp.libc5 touch wtmp cd /var/run mv utmp utmp.libc5 touch utmp shutdown -r now The reboot is necessary to make sure that: - all programs still linked against libc5 will now use the modified libc5 that uses the libc6 types; - they write to utmp and wtmp files that contain _only_ libc6-style records. If the old and new styles get mixed, the files conform to neither format. You only have to do this once, when you first install the libc5 from hamm (contrarily to what the postinst tells you every time you upgrade to a slighty newer version in hamm.) Cheers, Joost -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .