← Back to team overview

desktop-packages team mailing list archive

[Bug 1443052] Re: User accounts login history showing incorrect history

 

This is the output of the 'last' command:

reboot   system boot  3.19.0-15-generi Sun May  3 18:34 - 22:38 (1+04:03)   
arthur-d pts/5        :0.0             Sat May  2 22:07 - 22:07  (00:00)    
arthur-d pts/18       :0.0             Sat May  2 22:07 - 22:07  (00:00)    
arthur-d pts/11       :0.0             Sat May  2 22:07 - 22:07  (00:00)    
arthur-d pts/5        :0.0             Sat May  2 22:07 - 22:07  (00:00)    
arthur-d pts/6        :0               Sat May  2 21:42 - 22:10  (00:28)    
arthur-d :0           :0               Sat May  2 21:42 - down   (00:53)    
reboot   system boot  3.19.0-15-generi Sat May  2 21:41 - 22:35  (00:54)    
arthur-d pts/5        :0               Sat May  2 16:15 - 16:16  (00:00)    
arthur-d pts/5        :0               Sat May  2 16:15 - 16:15  (00:00)    
arthur-d pts/5        :0               Sat May  2 15:43 - 15:43  (00:00)    
arthur-d pts/5        :0               Sat May  2 15:13 - 15:42  (00:29)    
arthur-d pts/5        :0               Sat May  2 15:06 - 15:07  (00:00)    
arthur-d pts/5        :0               Sat May  2 14:56 - 15:02  (00:05)    
arthur-d pts/5        :0               Sat May  2 14:55 - 14:56  (00:01)    
arthur-d pts/5        :0               Sat May  2 13:55 - 14:50  (00:54)    
arthur-d pts/5        :0               Sat May  2 13:24 - 13:55  (00:30)    
arthur-d pts/5        :0               Sat May  2 13:24 - 13:24  (00:00)    
arthur-d pts/7        :0               Sat May  2 13:09 - 13:17  (00:08)    
arthur-d pts/7        :0               Sat May  2 13:09 - 13:09  (00:00)    
arthur-d :0           :0               Sat May  2 13:08 - crash  (08:32)    
reboot   system boot  3.19.0-15-generi Sat May  2 13:07 - 22:35  (09:27)    
arthur-d pts/1        :0               Fri May  1 22:04 - 22:11  (00:06)    
arthur-d pts/1        :0               Fri May  1 22:04 - 22:04  (00:00)    
arthur-d pts/1        :0               Fri May  1 20:43 - 22:04  (01:20)    
arthur-d pts/4        :0               Fri May  1 20:35 - 20:42  (00:07)    
arthur-d pts/4        :0               Fri May  1 20:35 - 20:35  (00:00)    
arthur-d :0           :0               Fri May  1 20:34 - down   (02:05)    
reboot   system boot  3.19.0-15-generi Fri May  1 20:33 - 22:40  (02:06)    
arthur-d pts/1        :0               Fri May  1 16:08 - 16:08  (00:00)    
arthur-d pts/1        :0               Fri May  1 16:08 - 16:08  (00:00)    
arthur-d pts/1        :0               Fri May  1 16:08 - 16:08  (00:00)    
arthur-d pts/1        :0               Fri May  1 12:36 - 12:37  (00:00)    
arthur-d pts/1        :0               Fri May  1 12:33 - 12:36  (00:03)    
arthur-d pts/1        :0               Fri May  1 12:12 - 12:33  (00:21)    
arthur-d pts/1        :0               Fri May  1 12:08 - 12:11  (00:03)    
arthur-d pts/1        :0               Fri May  1 12:07 - 12:08  (00:00)    
arthur-d pts/1        :0               Fri May  1 12:07 - 12:07  (00:00)    
arthur-d pts/1        :0               Fri May  1 11:54 - 12:03  (00:09)    
arthur-d pts/1        :0               Fri May  1 11:54 - 11:54  (00:00)    


** Description changed:

  I have found that in "System Settings > User Accounts" that if you
  select an account and then select the button called "History" (which is
  meant to show the login history for that account), it will show you when
  you last logged in as "Session Started", but it will show that you
  "Session Ended" just before you login the next time.
  
  To clarify what I mean, let's say that yesterday I logged into my
  account on this machine at 14:29, and then sometime near 23:00 I logged
  out, and then this morning I logged into my account somewhere around
  11:20, it will show this:
  
-         Yesterday, 14:29 Session Started
-         Today 11:19 Session Ended
-         Today 11:20 Session Started
+         Yesterday, 14:29 Session Started
+         Today 11:19 Session Ended
+         Today 11:20 Session Started
  
  So it assumes that the last session ended when you log into a new one,
  so the bug seems to be that it does not log when a session ends
  properly, and only logs it when a new session starts.
  
  I have attached a screenshot to show my example as I see it in the
  History GUI.
  
  This bug was also present when I was using 14.04.
  
  ---
  
  OS Information:
  
- Description: 	Ubuntu 14.10
- Release:	14.10
+ Description:	Ubuntu 15.04
+ Release:	15.04
+ 
  
  Package Information:
  
  unity-control-center:
-   Installed: 14.10.0+14.10.20140922-0ubuntu2
-   Candidate: 14.10.0+14.10.20140922-0ubuntu2
+   Installed: 15.04.0+15.04.20150410-0ubuntu1
+   Candidate: 15.04.0+15.04.20150410-0ubuntu1
    Version table:
-  *** 14.10.0+14.10.20140922-0ubuntu2 0
-         500 http://gb.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
+  *** 15.04.0+15.04.20150410-0ubuntu1 0
+         500 http://gb.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1443052

Title:
  User accounts login history showing incorrect history

Status in unity-control-center package in Ubuntu:
  Confirmed

Bug description:
  I have found that in "System Settings > User Accounts" that if you
  select an account and then select the button called "History" (which
  is meant to show the login history for that account), it will show you
  when you last logged in as "Session Started", but it will show that
  you "Session Ended" just before you login the next time.

  To clarify what I mean, let's say that yesterday I logged into my
  account on this machine at 14:29, and then sometime near 23:00 I
  logged out, and then this morning I logged into my account somewhere
  around 11:20, it will show this:

          Yesterday, 14:29 Session Started
          Today 11:19 Session Ended
          Today 11:20 Session Started

  So it assumes that the last session ended when you log into a new one,
  so the bug seems to be that it does not log when a session ends
  properly, and only logs it when a new session starts.

  I have attached a screenshot to show my example as I see it in the
  History GUI.

  This bug was also present when I was using 14.04.

  ---

  OS Information:

  Description:	Ubuntu 15.04
  Release:	15.04

  
  Package Information:

  unity-control-center:
    Installed: 15.04.0+15.04.20150410-0ubuntu1
    Candidate: 15.04.0+15.04.20150410-0ubuntu1
    Version table:
   *** 15.04.0+15.04.20150410-0ubuntu1 0
          500 http://gb.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1443052/+subscriptions


References