the way towards fixing this bug would involve

clock_gettime(CLOCK_MONOTONIC_RAW,  const struct timespec
*monotonictime);

which is linux 2.6.28+ specific, and is not subject to change due to
ntpdate and friends.

see man 2 clock_gettime

I'm not sure we should just replace sysinfo->uptime however, cause the
inaccuracy of hardware clocks...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/498439

Title:
  uprecords reports >100% uptime

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uptimed/+bug/498439/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to