ubuntu vivid: last/w broken

Bug #1444297 reported by Tilman Keskinöz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
New
Undecided
Unassigned

Bug Description

output of last and w does not show any logged in users.

vivid$ w
 08:51:58 up 11 min, 0 users, load average: 0.60, 1.42, 1.14
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT

debianjessie$w
 08:52:23 up 88 days, 20:21, 14 users, load average: 0.20, 0.14, 0.15
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
arved :0 Fri11 ?xdm? 18:48m 0.03s /bin/sh /usr/bin/x-session-manager
[..]

vivid$ last
reboot system boot 3.19.0-13-generi Wed Apr 15 08:40 - 08:53 (00:12)
reboot system boot 3.19.0-13-generi Tue Apr 14 17:43 - 08:53 (15:09)

debianjessie$ last
arved pts/17 baklava.local Wed Apr 15 08:52 still logged in

grepping for my username in /var/log/wtmp does not show any results on ubuntu, so i think the files are not written correctly.

$ lsb_release -rd
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
$ apt-cache policy sysvinit-utils
sysvinit-utils:
  Installed: 2.88dsf-53.2ubuntu12
  Candidate: 2.88dsf-53.2ubuntu12
  Version table:
 *** 2.88dsf-53.2ubuntu12 0
        500 http://de.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
        100 /var/lib/dpkg/status

Tags: kubuntu vivid
Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks, it works here on vivid...

Revision history for this message
Tilman Keskinöz (arvedarved) wrote :

logins via SSH are recorded correctly, so i think it is only logins via sddm that are not recorded.

tags: added: kubuntu vivid
Revision history for this message
Tilman Keskinöz (arvedarved) wrote :

it seems to have been fixed now.

Revision history for this message
Tilman Keskinöz (arvedarved) wrote :

But i kust noted another problem, the reboot time is not recorded correctly:

reboot system boot 3.19.0-14-generi Sat Apr 18 20:38 - 00:08 (03:30)
reboot system boot 3.19.0-14-generi Fri Apr 17 09:14 - 00:08 (1+14:54)

This started on Wednesday with the same update that fixed recording of the usernames.

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.