1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
Commit Graph

15086 Commits

Author SHA1 Message Date
Lennart Poettering
becad8f1ed timesyncd: also try next server when sendto() fails 2014-05-06 01:37:13 +02:00
Lennart Poettering
7a183c4c73 timesyncd: don't busy loop when we cannot connect to any servers 2014-05-06 01:29:47 +02:00
Lennart Poettering
678522cff0 timesyncd: properly handle multiple configured NTP servers and multiplei IP addresses per server name 2014-05-06 01:17:35 +02:00
Lennart Poettering
856a5a7d76 timesyncd: lookup name server via sd-resolve, support IPv6, react to SIGINT/SITERM 2014-05-05 23:53:17 +02:00
Lennart Poettering
73dec31974 sd-resolve: make sure we can destroy a query object from its own callback handler 2014-05-05 23:49:19 +02:00
Lennart Poettering
cc567911ba sd-event: allow disabling event sources when an event object is dying anyway 2014-05-05 23:48:25 +02:00
Lennart Poettering
59bc1fd776 sd-event: make it easy to bind signal handling to event loop exits
By passing a NULL callback provide a simple way to make event loops exit
on SIGTERM and other signals.
2014-05-05 23:47:59 +02:00
Lennart Poettering
7ed0dd4be6 timesync: use safe_close() where possible 2014-05-05 21:47:38 +02:00
Lennart Poettering
5f8cfaee52 timesync: always initialize structs when declaring them as far as possible with contsant values 2014-05-05 21:47:09 +02:00
Lennart Poettering
43ba1b3e64 build-sys: enable timesyncd by default 2014-05-05 21:39:10 +02:00
Lennart Poettering
37efac5ddb update TODO 2014-05-05 21:19:06 +02:00
Lennart Poettering
76cf10dab7 build-sys: move async.[ch] to src/shared
So that we can use it at multiple places.
2014-05-05 21:19:06 +02:00
Kay Sievers
99a17ada9c core: require cgroups filesystem to be available
We should no longer pretend that we can run in any sensible way
without the kernel supporting us with cgroups functionality.
2014-05-05 18:52:36 +02:00
Kay Sievers
61fb23db45 hwdb: update 2014-05-05 14:23:10 +02:00
Kay Sievers
ee03381e21 timesyncd: log drift value as signed 2014-05-05 14:21:40 +02:00
Tom Gundersen
7ca1d31964 sd-rtnl-message: append - fix uninitialized memory
We were not properly clearing the padding at the front of some containers.
2014-05-03 18:14:42 +02:00
Tom Gundersen
3f781aa8a0 sd-rtnl: route - allow setting multiple matching routes 2014-05-03 18:14:42 +02:00
Tom Gundersen
8faf88e5eb TODO 2014-05-03 18:14:42 +02:00
Kay Sievers
ef6191945e timesyncd: log drift correction 2014-05-03 15:09:33 +02:00
Lennart Poettering
8a474b0c04 async: add asynchronous close() call 2014-05-02 17:57:37 +02:00
Lennart Poettering
7348b3adb3 update TODO 2014-05-02 17:57:37 +02:00
Kay Sievers
d67006fe53 timesyncd: use nanosecond mode 2014-04-30 17:25:46 +02:00
Kay Sievers
81c36b3f28 timesyncd: remove debug code 2014-04-30 09:37:59 +02:00
Umut Tezduyar Lindskog
8ddbeaa23c networkd: dont configure route if lease doesn't have one 2014-04-30 00:05:28 +02:00
Tom Gundersen
7e141e498c sd-network: add support for only listening to some types of changes 2014-04-30 00:05:28 +02:00
Kay Sievers
ba9f11dc98 timesyncd: limit debug values to milliseconds 2014-04-29 23:48:23 +02:00
Michal Sekletar
d20850cbf4 update TODO 2014-04-29 22:18:14 +02:00
Tom Gundersen
bc4155669a sd-dhcp-lease: fix double realloc 2014-04-29 21:57:59 +02:00
Kay Sievers
d38cbe1bb7 build-sys: fix linking order for networkd-wait-only 2014-04-29 16:26:51 +02:00
Lennart Poettering
93f1bcf400 sd-resolve: rework sd-resolve to be callback based, similar in style to sd-bus and sd-event 2014-04-29 15:45:16 +02:00
Tom Gundersen
4c06153f7b networkd: fix distcheck 2014-04-29 15:42:05 +02:00
Tom Gundersen
109731eb25 sd-dhcp-lease: (de)serialize DNS and NTP servers
Also use inet_ntoa rather than inet_ntop.
2014-04-29 15:05:33 +02:00
Tom Gundersen
0b21bde96d sd-dhcp-leaes: use newdup() 2014-04-29 12:46:06 +02:00
Tom Gundersen
4684469639 sd-dhcp-lease: add NTP support
Export the NTP servers so timesyncd can use them.
2014-04-29 12:25:58 +02:00
Kay Sievers
39594d49cf timesyncd: update log message 2014-04-29 10:16:07 +02:00
Kay Sievers
a91df40e69 timesyncd: add unit and man page 2014-04-29 09:51:53 +02:00
Lennart Poettering
0b36bbc42d machine-id: only look into KVM uuid when we are not running in a
container
2014-04-28 18:36:59 +02:00
Kay Sievers
687ed1237b rename timedate-sntp to timesync 2014-04-28 17:08:52 +02:00
Jonathan Boulle
e5a7f17341 conf-parser: Fix typo in comment
Fix minor typo in conf parser
2014-04-28 08:15:50 +02:00
Tom Gundersen
9b86b3930a networkd: link - don't fail a link if RF kill is active 2014-04-28 00:16:46 +02:00
Tom Gundersen
1f0e048474 TODO: network 2014-04-28 00:06:06 +02:00
Tom Gundersen
69ceb044c8 networkd: netdev - log when loading a .netdev file 2014-04-28 00:06:06 +02:00
Umut Tezduyar Lindskog
798e174ab2 networkd: update TODO 2014-04-27 23:50:57 +02:00
Umut Tezduyar Lindskog
ccfdc9a112 sd-dhcp-client: log positive error number
Log error no for such client_stop(client, DHCP_EVENT_STOP)
2014-04-27 23:41:46 +02:00
Umut Tezduyar Lindskog
d9bf4f8c6c libnetworkd: add link local tests
- Also only allow positive ifindex on both dhcp and ipv4ll

[tomegun: the kernel always sets a positive ifindex, but some APIs accept
          ifindex=0 with various meanings, so we should protect against
          accidentally passing ifindex=0 along.]
2014-04-27 23:39:13 +02:00
Umut Tezduyar Lindskog
d96e629fd7 networkd: do not complain about IFF_RUNNING
Otherwise:
eth0: unknown link flags gained: 0x00040 (ignoring)

[tomegun: hiding these messages is ok, as IFF_RUNNING is redundant
          and can be deduced from operstate and IFF_LOWER_UP]
2014-04-27 23:36:30 +02:00
Brandon Philips
20a83d7bf4 job: add waiting jobs to run queue in unit_coldplug
When we have job installed and added to run queue for service which is
still in dead state and systemd initiates reload then after reload we
never add deserialized job to the run queue again. This is caused by
check in service_coldplug() where we check if deserialized state is
something else than dead state, which is not the case thus we never call
service_set_state() and finally unit_notify() where we would have added
job to the run queue.

Thanks to Michal Sekletar <msekleta@redhat.com> for the original patch.
2014-04-26 17:59:14 +02:00
Zbigniew Jędrzejewski-Szmek
ae0ceefc2f build-sys: add configure switch for -fsanitize=undefined
--enable-undefined-sanitizer mirrors --enable-memory-sanitizer.
2014-04-26 08:16:39 -04:00
Zbigniew Jędrzejewski-Szmek
dfd9cf7f0b test-journal-flush: avoid predictable names in /var/tmp 2014-04-26 08:16:35 -04:00
poma
7f1f9b4bcb man: networkd typo fixes 2014-04-26 11:16:25 +02:00