Bug 3827 - rup displays uptime > 365 days incorrectly
rup displays uptime > 365 days incorrectly
Product: Red Hat Linux
Classification: Retired
Component: rusers (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 1999-06-30 10:41 EDT by ahm
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-08-30 18:43:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description ahm 1999-06-30 10:41:34 EDT
for uptimes greater than 365 days, rup shows the wrong
number of days - apparently (days modulo 365).
However, "rup -t" sorts correctly, so this is probably
just a display bug. (The rup in RH6.0 has the problem too)
Comment 1 Jay Turner 1999-06-30 10:45:59 EDT
This issue has been forwarded to a developer for further action.
Comment 2 Jeff Johnson 1999-08-30 18:43:59 EDT
The program rup in netkit-rusers-0.15 reports days using the tm_yday
field returned by gmtime(3) using as input the delta of now - boottime
of the responding host. I dunno how to improve this algorithm without
opening up a lot of snarly issues involving local/remote time
synchronization and the gain is not worth the effort.

Note You need to log in before you can comment on or make changes to this bug.