hostaddr field missing from dump-utmp output

Bug #670011 reported by perlhead
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
acct (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: acct

dump-utmp's man page says that its output fields are "user name, tty, type, id, pid, hostaddr, host, time", separated by '|'. Indeed, in lucid, a sample record of 'dump-utmp /var/log/wtmp' looks like this(spaces omitted):

foo|pts/1|7|ts/1|2055|10.0.0.130|foohost.local|Mon Nov 1 09:45:20 2010

(this is with:
$ apt-cache policy acct
acct:
  Installed: 6.5.1-1ubuntu1
  Candidate: 6.5.1-1ubuntu1
  Version table:
 *** 6.5.1-1ubuntu1 0
        500 http://fi.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04)

In maverick, however, the output of the same command is missing the 6th field! (No changes in the man page)

foo|pts/2|7|ts/2|24657|foohost.local|Tue Nov 2 12:12:57 2010

(with:
$ apt-cache policy acct
acct:
  Installed: 6.5.4-2ubuntu1
  Candidate: 6.5.4-2ubuntu1
  Version table:
 *** 6.5.4-2ubuntu1 0
        500 http://ubuntu.mirror.tudos.de/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status
$ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10
)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.