wrong date in log file wtmp

20 views
Skip to first unread message

Henry van Gestel

unread,
Jun 30, 2016, 11:16:15 AM6/30/16
to BeagleBoard
Running ubuntu on BBB
ubuntu@ubuntu-armhf:/var/log$ uname -a
Linux ubuntu-armhf 3.14.4.1-bone-armhf.com #1 SMP Tue Jun 3 12:37:22 UTC 2014 armv7l armv7l armv7l GNU/Linux

when doing a " last -x reboot" I get :
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16964+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16963+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16962+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16961+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16960+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16959+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16958+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16957+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16956+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16955+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16954+05:59
reboot   system boot  3.14.4.1-bone-ar Thu Jan  1 01:00 - 08:00 (16954+05:59

the date of the system is correct:

ubuntu@ubuntu-armhf:/var/log$ date
Thu Jun 30 16:41:00 CEST 2016

the date filedate of /var/log/wtmp is also correct

-rw-rw-r--  1 utmp     239232 Jun 30 15:42 wtmp

What could be the reason of getting not the correct output ?

Mike

unread,
Jun 30, 2016, 11:28:59 AM6/30/16
to beagl...@googlegroups.com
BBB doesn't have a battery backed RTC...

Mike

William Hermans

unread,
Jun 30, 2016, 1:43:27 PM6/30/16
to beagl...@googlegroups.com
However, one *could* use the fake-hwclock papckage is one exists in Ubuntu. Debian has this package, but not positive about Ubuntu.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/a027b4a8-0fb1-a900-f976-46ca505aad93%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

William Hermans

unread,
Jun 30, 2016, 3:17:33 PM6/30/16
to beagl...@googlegroups.com
One could even 'speak' English when posting to the forums heh ;)

fake-hwclock *package* *if* one exists in ubuntu ;)
Reply all
Reply to author
Forward
0 new messages