Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-27 | core: only set the kernel's timezone when the RTC runs in local time | Kay Sievers | |
We can not reliably manage any notion of local time. Every daylight saving time change or time zone change by traveling will make the time jump, and the local time might jump backwards which creates unsolvable problems with file timestamps. We will no longer tell the kernel our local time zone and leave everything set to UTC. This will effectively turn FAT timestamps into UTC timestamps. If and only if the machine is configured to read the RTC in local time mode, the kernel's time zone will be configured, but systemd-timesysnc will disable the kernel's system time to RTC syncing. In this mode, the RTC will not be managed, and external tools like Windows bootups are expected to manage the RTC's time. https://bugs.freedesktop.org/show_bug.cgi?id=81538 | |||
2014-07-17 | sd-network: fix parameter order for sd_network_monitor_new() | Lennart Poettering | |
Constructors should return the object they created as first parameter, except when they are generated as a child/member object of some other object in which case that should be first. | |||
2014-07-16 | Let config_parse open file where applicable | Zbigniew Jędrzejewski-Szmek | |
Special care is needed so that we get an error message if the file failed to parse, but not when it is missing. To avoid duplicating the same error check in every caller, add an additional 'warn' boolean to tell config_parse whether a message should be issued. This makes things both shorter and more robust wrt. to error reporting. | |||
2014-07-15 | Constify ConfigTableItem tables | Zbigniew Jędrzejewski-Szmek | |
2014-07-15 | timesyncd: add sockaddr_pretty wrapper | Zbigniew Jędrzejewski-Szmek | |
2014-07-15 | timesyncd: only listen to clock changes when connected | Zbigniew Jędrzejewski-Szmek | |
This reverts previous commit and applies a different fix. manager_clock_watch() callback calls manager_send_request() to kick off a resync. We can only do that when we're actually connected to something. It is not useful to setup the callback from manager_new(). Now the callback will be dropped in manager_connect() and requested in manager_begin(). https://bugs.freedesktop.org/show_bug.cgi?id=80932 | |||
2014-07-15 | timesyncd: suppress resync at system time change when not connected | Kay Sievers | |
Jul 04 17:46:03 orchid systemd[1]: Starting Network Time Synchronization... Jul 04 17:46:03 orchid systemd[1]: Started Network Time Synchronization. Jul 04 17:46:22 orchid systemd-timesyncd[301]: System time changed. Resyncing. Jul 04 17:46:22 orchid systemd-timesyncd[301]: Assertion 'm->current_server_name' https://bugs.freedesktop.org/show_bug.cgi?id=80932 | |||
2014-07-07 | resolved: make use of union in_addr_union in resolved, too | Lennart Poettering | |
2014-06-01 | timesyncd: split privilege dropping code out of timesyncd so that we can ↵ | Lennart Poettering | |
make use of it from other daemons too This is preparation to make networkd work as unpriviliged user. | |||
2014-05-25 | timesysnc: reword network watching messages, and move resolver errors to debug | Kay Sievers | |
2014-05-24 | timesyncd: only update stamp file when we are synchronized | Kay Sievers | |
Create initial stamp file with compiled-in time to prevent bootups with clocks in the future from storing invalid timestamps. At shutdown, only update the timestamp if we got an authoritative time to store. | |||
2014-05-22 | time-util: make sure USEC_PER_SEC and friends are actually of type usec_t | Lennart Poettering | |
2014-05-21 | timesyncd: use STR_IN_SET() | Kay Sievers | |
2014-05-21 | timesyncd: fix english language typo | Lennart Poettering | |
2014-05-21 | timesyncd: 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-19 | timesyncd: only attempt to connect when an address is configured | Tom Gundersen | |
For now, we accept both link-local and routable addresses, maybe we want to restrict ourselves to routable addresses only. | |||
2014-05-19 | fix spelling of privilege | Nis Martensen | |
2014-05-18 | timesyncd: make use of floating event sources for signal handling | Lennart Poettering | |
2014-05-18 | timesyncd: enable watchdog support | Lennart Poettering | |
2014-05-18 | timesyncd: run timesyncd as unpriviliged user "systemd-timesync" (but still ↵ | Lennart Poettering | |
with CAP_SYS_TIME) | |||
2014-05-16 | timesyncd: fix typo in comment | Kay Sievers | |
2014-05-15 | timesyncd: fix error path return value | Kay Sievers | |
https://bugs.freedesktop.org/show_bug.cgi?id=78752 | |||
2014-05-08 | timesyncd: read global operational state from networkd | Tom Gundersen | |
2014-05-08 | timesyncd: only run when the system has a carrier on a network interface | Tom 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-07 | timesyncd: shorten log message | Kay Sievers | |
2014-05-06 | timesyncd: never accept NTP time from server that is older than systemd's ↵ | Lennart Poettering | |
release time | |||
2014-05-06 | timesyncd: read server settings from a configuration file | Lennart Poettering | |
Also, allow compiling in a default server list via a configure command line item. | |||
2014-05-06 | timesyncd: when an NTP server doesn't respond, proceed with the next | Lennart Poettering | |
2014-05-06 | list: make LIST_FIND_TAIL work for empty lists | Lennart Poettering | |
2014-05-06 | timesyncd: keep order of NTP servers | Lennart Poettering | |
2014-05-06 | timesyncd: make sure to reread /etc/resolv.conf when we try the next NTP server | Lennart Poettering | |
2014-05-06 | timesyncd: accept NTP version 3 responses | Kay Sievers | |
2014-05-06 | timesyncd: add a more servers by default | Lennart Poettering | |
2014-05-06 | timesyncd: also try next server when sendto() fails | Lennart Poettering | |
2014-05-06 | timesyncd: don't busy loop when we cannot connect to any servers | Lennart Poettering | |
2014-05-06 | timesyncd: properly handle multiple configured NTP servers and multiplei IP ↵ | Lennart Poettering | |
addresses per server name | |||
2014-05-05 | timesyncd: lookup name server via sd-resolve, support IPv6, react to ↵ | Lennart Poettering | |
SIGINT/SITERM | |||
2014-05-05 | timesync: use safe_close() where possible | Lennart Poettering | |
2014-05-05 | timesync: always initialize structs when declaring them as far as possible ↵ | Lennart Poettering | |
with contsant values | |||
2014-05-05 | timesyncd: log drift value as signed | Kay Sievers | |
2014-05-03 | timesyncd: log drift correction | Kay Sievers | |
2014-04-30 | timesyncd: use nanosecond mode | Kay Sievers | |
2014-04-30 | timesyncd: remove debug code | Kay Sievers | |
2014-04-29 | timesyncd: limit debug values to milliseconds | Kay Sievers | |
2014-04-29 | timesyncd: update log message | Kay Sievers | |
2014-04-29 | timesyncd: add unit and man page | Kay Sievers | |
2014-04-28 | rename timedate-sntp to timesync | Kay Sievers | |