[Pkg-sysvinit-devel] Bug#450543: wtmp: weird kernel version in reboot lines on amd64 when called with -i

Daniel Parthey daniel.parthey at informatik.tu-chemnitz.de
Sat Nov 3 22:01:39 UTC 2007


Package: sysvinit
Version: 2.86.ds1-38.1
Severity: normal

Command "last -i" displays weird IP addresses (instead of the kernel
version) for "reboot" events when called on wtmp files which were created
on Debian amd64 systems, no matter whether you call "last -i -f
wtmp.amd64" on an i386 or amd64 architecture:

$ last -n 1 -f /var/log/wtmp.amd64 -i reboot
reboot   system boot  139.73.13.0      Sat Nov  3 13:51 - 22:46  (08:54)

It should either display the kernel version or 0.0.0.0 as an IP address.

On wtmp files copied from an i386 system, "last -i" works as expected
on both architectures (amd64 and i386):

$ last -n 1 -f /tmp/wtmp.i386 -i reboot
reboot   system boot  0.0.0.0          Wed Oct 10 20:50 - 22:46 (24+02:56)

Kind regards,
Daniel

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (30, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sysvinit depends on:
ii  initscripts                2.86.ds1-38.1 Scripts for initializing and shutt
ii  libc6                      2.6.1-1       GNU C Library: Shared libraries
ii  libselinux1                2.0.15-2+b1   SELinux shared libraries
ii  libsepol1                  2.0.3-1+b1    Security Enhanced Linux policy lib
ii  sysv-rc                    2.86.ds1-38.1 System-V-like runlevel change mech
ii  sysvinit-utils             2.86.ds1-38.1 System-V-like utilities

sysvinit recommends no packages.

-- no debconf information







More information about the Pkg-sysvinit-devel mailing list