summaryrefslogtreecommitdiff
path: root/src/timesync
AgeCommit message (Collapse)Author
2014-05-21timesyncd: use STR_IN_SET()Kay Sievers
2014-05-21timesyncd: fix english language typoLennart Poettering
2014-05-21timesyncd: save clock to disk everytime we get an NTP fix, and bump clock at ↵Lennart Poettering
boot using this This is useful to make sure the system clock stays monotonic even on systems that lack an RTC. Also, why we are at it, also use the systemd release time for bumping the clock, since it's a slightly less bad than starting with jan 1st, 1970. This also moves timesyncd into the early bootphase, in order to make sure this initial bump is guaranteed to have finished by the time we start real daemons which might write to the file systemd and thus shouldn't leave 1970's timestamps all over the place...
2014-05-19timesyncd: only attempt to connect when an address is configuredTom Gundersen
For now, we accept both link-local and routable addresses, maybe we want to restrict ourselves to routable addresses only.
2014-05-19fix spelling of privilegeNis Martensen
2014-05-18timesyncd: make use of floating event sources for signal handlingLennart Poettering
2014-05-18timesyncd: enable watchdog supportLennart Poettering
2014-05-18timesyncd: run timesyncd as unpriviliged user "systemd-timesync" (but still ↵Lennart Poettering
with CAP_SYS_TIME)
2014-05-16timesyncd: fix typo in commentKay Sievers
2014-05-15timesyncd: fix error path return valueKay Sievers
https://bugs.freedesktop.org/show_bug.cgi?id=78752
2014-05-08timesyncd: read global operational state from networkdTom Gundersen
2014-05-08timesyncd: only run when the system has a carrier on a network interfaceTom Gundersen
As the operational state detection in sd-network is still too primitive, timesyncd will likely try to connect a bit early, so the first attempt will fail.
2014-05-07timesyncd: shorten log messageKay Sievers
2014-05-06timesyncd: hook up systemd-timesyncd with systemd-timedatedLennart Poettering
Later on we will probably remove support for controlling any other NTP implementations but systemd-timesyncd, but for now, let's keep things generic
2014-05-06timesyncd: never accept NTP time from server that is older than systemd's ↵Lennart Poettering
release time
2014-05-06timesyncd: read server settings from a configuration fileLennart Poettering
Also, allow compiling in a default server list via a configure command line item.
2014-05-06timesyncd: when an NTP server doesn't respond, proceed with the nextLennart Poettering
2014-05-06list: make LIST_FIND_TAIL work for empty listsLennart Poettering
2014-05-06timesyncd: keep order of NTP serversLennart Poettering
2014-05-06timesyncd: make sure to reread /etc/resolv.conf when we try the next NTP serverLennart Poettering
2014-05-06timesyncd: accept NTP version 3 responsesKay Sievers
2014-05-06timesyncd: add a more servers by defaultLennart Poettering
2014-05-06timesyncd: also try next server when sendto() failsLennart Poettering
2014-05-06timesyncd: don't busy loop when we cannot connect to any serversLennart Poettering
2014-05-06timesyncd: properly handle multiple configured NTP servers and multiplei IP ↵Lennart Poettering
addresses per server name
2014-05-05timesyncd: lookup name server via sd-resolve, support IPv6, react to ↵Lennart Poettering
SIGINT/SITERM
2014-05-05timesync: use safe_close() where possibleLennart Poettering
2014-05-05timesync: always initialize structs when declaring them as far as possible ↵Lennart Poettering
with contsant values
2014-05-05timesyncd: log drift value as signedKay Sievers
2014-05-03timesyncd: log drift correctionKay Sievers
2014-04-30timesyncd: use nanosecond modeKay Sievers
2014-04-30timesyncd: remove debug codeKay Sievers
2014-04-29timesyncd: limit debug values to millisecondsKay Sievers
2014-04-29timesyncd: update log messageKay Sievers
2014-04-29timesyncd: add unit and man pageKay Sievers
2014-04-28rename timedate-sntp to timesyncKay Sievers