blob: a4dd1ab7fa61b37be0db549928596d3cdfb04288 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
downtimed - system downtime reporting tool
version history
version 0.6 released 2013-07-27
- Added startup scripts for Debian, Red Hat (RHEL/Fedora/Scientific
Linux/CentOS/etc.), Arch Linux and OpenIndiana/OpenSolaris.
- Implemented -f command line option for downtimes(1) and downtimed(8).
It can be used to specify the desired time and date format for
reporting. The default remains "%F %T".
- Implemented -u command line option for downtimes(1) for reporting
times in UTC. Analogous to "date -u".
- GNU/Hurd compatibility fixes contributed by Mats Erik Andersson.
- FreeBSD 9 compatibility fix by Douglas Thrift.
version 0.5 released 2011-03-02
- Fixed a bug which prevented creation of the required time stamp
files in case command line option -S was set.
- Determine boot time on some SVR4 systems such as Solaris.
- Compatibility for systems which do not have flock() but have lockf(),
such as Solaris.
- Compatibility for systems without facilitynames in <syslog.h>, such
as Solaris.
- Compatibility daemon(3) function for OSes which do not have it, such
as Solaris.
- Compatibility for systems which lack futimes(3) function, such as
Solaris.
- Log an error message if system boot time can not be determined.
- Remove dependency on be64toh(3) and betoh64(3). Or betoh64(3) and
htobe64(3). Or OSSwapBigToHostInt64(3) and OSSwapHostToBigInt64(3).
The code became a mess because 64 bit byte swapping is not standardized.
Also some commonly used GNU/Linux distributions such as RHEL/CentOS 5.5
have such an old glibc that it does not include any of these functions.
Now we just implement our own byte swapping macro and ignore whatever
is or is not available from the system. This improves portability
on many platforms, for example on Red Hat (RHEL) and Solaris.
- Improve README documentation regarding startup scripts.
- Example startup scripts have been moved to the "startup-scripts"
sub-directory.
- openSUSE startup script by Federico Lucifredi <flucifredi@acm.org>.
- OpenBSD compatibility improvements.
- Debian GNU/kFreeBSD compatibility improvements.
- Use volatile sig_atomic_t if available for flags set by signal handlers.
- Other minor fixes.
version 0.4 released 2010-12-25
- Do not create the data directory /var/{db,lib}/downtimed in the
daemon. It should be created by the system administrator or the
package maintainer instead. Problem reported by Mats Erik Andersson
<openbsd@gisladisker.se>.
- OpenBSD support and other minor fixes by Mats Erik
Andersson <openbsd@gisladisker.se>.
- Debian GNU/kFreeBSD support by Mats Erik Andersson
<openbsd@gisladisker.se>.
- Change backwards lseek(2) to forward lseek(2) as the backwards seek
fails on some platforms, by Mats Erik Andersson <openbsd@gisladisker.se>.
- Other minor fixes.
version 0.3 released 2010-10-26
- Mac OS X support by Henrik Ahlgren <pablo@seestieto.com>
- Fix man page rendering on various OSes such as FreeBSD (we were
using non-standard .SY, .YS and .OP macros) [this has no
effect on GNU/Linux, no need to upgrade]
- Fix printf format string to avoid compiler warnings
version 0.2 released 2010-09-22
- implemented downtimes(1) command for displaying the contents of
the downtime database in human readable format
- implemented downtime database in the downtimed(8) daemon
- moved the location of data files from /var/lib/misc/downtimed/
to /var/lib/downtimed/ on Linux.
- the default sleep time between time stamp updates is now 15 seconds
instead of 5 as previously
- minor documentation improvements
version 0.1 released 2010-05-22
- initial release
/* eof */
|